Searched refs:Stmt (Results 76 - 100 of 320) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DODRHash.h31 class Stmt;
81 void AddStmt(const Stmt *S);
H A DPrettyPrinter.h23 class Stmt;
29 virtual bool handledStmt(Stmt* E, raw_ostream& OS) = 0;
H A DExprCXX.h28 #include "clang/AST/Stmt.h"
164 static bool classof(const Stmt *T) {
229 static bool classof(const Stmt *T) {
263 static bool classof(const Stmt *T) {
288 Stmt *SemanticForm;
351 static bool classof(const Stmt *T) {
402 static bool classof(const Stmt *T) {
446 static bool classof(const Stmt *T) {
485 static bool classof(const Stmt *T) {
526 static bool classof(const Stmt *
[all...]
H A DExpr.h23 #include "clang/AST/Stmt.h"
107 /// This represents one expression. Note that Expr's are subclasses of Stmt.
108 /// This allows an expression to be transparently used any place a Stmt is
960 static bool classof(const Stmt *T) {
973 Stmt *SubExpr;
991 static bool classof(const Stmt *T) {
1062 static bool classof(const Stmt *T) {
1162 static bool classof(const Stmt *T) {
1396 static bool classof(const Stmt *T) {
1491 static bool classof(const Stmt *
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DUninitializedValues.h26 class Stmt;
33 const Stmt *Terminator;
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnusedInitDelegate.cpp34 Stmt *Body;
43 void transformBody(Stmt *body, Decl *ParentD) {
H A DTransforms.h19 class Stmt;
48 Stmt *TopStmt;
51 BodyContext(MigrationContext &MigrateCtx, Stmt *S)
56 Stmt *getTopStmt() { return TopStmt; }
193 bool TraverseStmt(Stmt *rootS) {
207 void clearRefsIn(Stmt *S, ExprSet &refs);
214 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
216 void collectRemovables(Stmt *S, ExprSet &exprs);
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp89 internal::BindableMatcher<Stmt> gtestAssert(GtestCmp Cmp, StatementMatcher Left,
96 internal::BindableMatcher<Stmt> gtestExpect(GtestCmp Cmp, StatementMatcher Left,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp111 bool TraverseStmt(Stmt *S) {
222 } else if (const Stmt *S = Node.Node.get<Stmt>()) {
264 getSelectionCanonizalizationAction(const Stmt *S, const Stmt *Parent) {
290 const Stmt *S = Node.get().Node.get<Stmt>();
292 const Stmt *Parent = Parents[Parents.size() - 1].get().Node.get<Stmt>();
300 const Stmt *NewParen
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp22 #include "clang/AST/Stmt.h"
42 case Stmt::IntegerLiteralClass:
44 case Stmt::StringLiteralClass: {
50 case Stmt::CharacterLiteralClass:
51 case Stmt::CXXNullPtrLiteralExprClass:
52 case Stmt::GNUNullExprClass:
53 case Stmt::CXXBoolLiteralExprClass:
54 case Stmt::FloatingLiteralClass:
55 case Stmt::ImaginaryLiteralClass:
56 case Stmt
[all...]
H A DCloneDetection.cpp23 StmtSequence::StmtSequence(const CompoundStmt *Stmt, const Decl *D, argument
25 : S(Stmt), D(D), StartIndex(StartIndex), EndIndex(EndIndex) {
26 assert(Stmt && "Stmt must not be a nullptr");
28 assert(EndIndex <= Stmt->size() && "Given array too big for this Stmt");
31 StmtSequence::StmtSequence(const Stmt *Stmt, const Decl *D)
32 : S(Stmt), D(D), StartIndex(0), EndIndex(0) {}
97 /// Returns true if and only if \p Stmt contain
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAttr.cpp25 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const ParsedAttr &A,
54 static Attr *handleSuppressAttr(Sema &S, Stmt *St, const ParsedAttr &A,
77 static Attr *handleLoopHintAttr(Sema &S, Stmt *St, const ParsedAttr &A,
90 if (St->getStmtClass() != Stmt::DoStmtClass &&
91 St->getStmtClass() != Stmt::ForStmtClass &&
92 St->getStmtClass() != Stmt::CXXForRangeStmtClass &&
93 St->getStmtClass() != Stmt::WhileStmtClass) {
181 CallExprFinder(Sema &S, const Stmt *St) : Inherited(S.Context) { Visit(St); }
187 void Visit(const Stmt *St) {
195 static Attr *handleNoMergeAttr(Sema &S, Stmt *S
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h134 explicit CFGStmt(Stmt *S, Kind K = Statement) : CFGElement(K, S) {
138 const Stmt *getStmt() const {
139 return static_cast<const Stmt *>(Data1.getPointer());
273 explicit CFGLoopExit(const Stmt *stmt) : CFGElement(LoopExit, stmt) {}
275 const Stmt *getLoopStmt() const {
276 return static_cast<Stmt *>(Data1.getPointer());
292 explicit CFGLifetimeEnds(const VarDecl *var, const Stmt *stmt)
299 const Stmt *getTriggerStmt() const {
300 return static_cast<Stmt *>(Data2.getPointer());
318 CFGScopeBegin(const VarDecl *VD, const Stmt *
[all...]
H A DProgramPoint.h220 static ProgramPoint getProgramPoint(const Stmt *S, ProgramPoint::Kind K,
259 const Stmt *getTerminator() const {
273 StmtPoint(const Stmt *S, const void *p2, Kind k, const LocationContext *L,
279 const Stmt *getStmt() const { return (const Stmt*) getData1(); }
297 PreStmt(const Stmt *S, const LocationContext *L, const ProgramPointTag *tag,
298 const Stmt *SubStmt = nullptr)
301 const Stmt *getSubStmt() const { return (const Stmt*) getData2(); }
314 PostStmt(const Stmt *
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp20 #include "clang/AST/Stmt.h"
172 DefinedOrUnknownSVal SValBuilder::conjureSymbolVal(const Stmt *stmt,
291 case Stmt::AddrLabelExprClass:
294 case Stmt::CXXScalarValueInitExprClass:
295 case Stmt::ImplicitValueInitExprClass:
298 case Stmt::ObjCStringLiteralClass: {
303 case Stmt::StringLiteralClass: {
310 case Stmt::CharacterLiteralClass: {
315 case Stmt::CXXBoolLiteralExprClass:
318 case Stmt
[all...]
H A DExplodedGraph.cpp18 #include "clang/AST/Stmt.h"
82 // (9) The PostStmt isn't for a non-consumed Stmt or Expr.
134 // Do not collect nodes for non-consumed Stmt or Expr to ensure precise
299 if (const Stmt *S = getStmtForDiagnostics())
321 const Stmt *ExplodedNode::getStmtForDiagnostics() const {
352 const Stmt *ExplodedNode::getNextStmtForDiagnostics() const {
354 if (const Stmt *S = N->getStmtForDiagnostics()) {
358 case Stmt::ChooseExprClass:
359 case Stmt::BinaryConditionalOperatorClass:
360 case Stmt
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp113 bool ByteCodeStmtGen<Emitter>::visitStmt(const Stmt *S) {
115 case Stmt::CompoundStmtClass:
117 case Stmt::DeclStmtClass:
119 case Stmt::ReturnStmtClass:
121 case Stmt::IfStmtClass:
123 case Stmt::NullStmtClass:
202 if (const Stmt *Else = IS->getElse()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckerDocumentation.cpp66 /// callback can be specialized to be called with any subclass of Stmt.
79 /// callback can be specialized to be called with any subclass of Stmt.
127 void checkBranchCondition(const Stmt *Condition, CheckerContext &Ctx) const {}
154 void checkLocation(SVal Loc, bool IsLoad, const Stmt *S,
164 void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &) const {}
H A DTraversalChecker.cpp30 void checkBranchCondition(const Stmt *Condition, CheckerContext &C) const;
36 void TraversalDumper::checkBranchCondition(const Stmt *Condition,
40 const Stmt *Parent = dyn_cast<ObjCForCollectionStmt>(Condition);
H A DDirectIvarAssignment.cpp74 void VisitStmt(const Stmt *S) { VisitChildren(S); }
78 void VisitChildren(const Stmt *S) {
79 for (const Stmt *Child : S->children())
146 const Stmt *Body = M->getBody();
H A DObjCContainersASTChecker.cpp78 void VisitChildren(Stmt *S);
79 void VisitStmt(Stmt *S) { VisitChildren(S); }
153 void WalkAST::VisitChildren(Stmt *S) {
154 for (Stmt *Child : S->children())
H A DBoolAssignmentChecker.cpp28 void checkBind(SVal loc, SVal val, const Stmt *S, CheckerContext &C) const;
55 void BoolAssignmentChecker::checkBind(SVal loc, SVal val, const Stmt *S,
H A DTaint.h30 LLVM_NODISCARD ProgramStateRef addTaint(ProgramStateRef State, const Stmt *S,
65 bool isTainted(ProgramStateRef State, const Stmt *S,
H A DUndefCapturedBlockVarChecker.cpp36 static const DeclRefExpr *FindBlockDeclRefExpr(const Stmt *S,
42 for (const Stmt *Child : S->children())
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowValues.h52 typedef llvm::DenseMap<const Stmt*, ValTy> StmtDataMapTy;
111 /// specified Stmt. If the dataflow analysis is a forward analysis,
112 /// this data corresponds to the point immediately before a Stmt.
114 /// the point after a Stmt. This data is only computed for block-level
116 ValTy& getStmtData(const Stmt *S) {
123 const ValTy& getStmtData(const Stmt *S) const {

Completed in 292 milliseconds

1234567891011>>