Searched refs:Stmt (Results 151 - 175 of 320) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp74 return RD->getName() == "Stmt" && InNamespace(RD, "clang");
124 void VisitChildren(Stmt *S) {
125 for (Stmt *Child : S->children())
129 void VisitStmt(Stmt *S) { VisitChildren(S); }
H A DTaint.cpp42 ProgramStateRef taint::addTaint(ProgramStateRef State, const Stmt *S,
144 bool taint::isTainted(ProgramStateRef State, const Stmt *S,
241 const Stmt *S = N->getStmtForDiagnostics();
H A DVforkChecker.cpp63 void checkBind(SVal L, SVal V, const Stmt *S, CheckerContext &C) const;
163 const Stmt *P = PM.getParentIgnoreParenCasts(Call.getOriginExpr());
192 void VforkChecker::checkBind(SVal L, SVal V, const Stmt *S,
H A DDeleteWithNonVirtualDtorChecker.cpp113 const Stmt *S = N->getStmtForDiagnostics();
H A DDivZeroChecker.cpp37 const Stmt *S = N->getLocationAs<PreStmt>()->getStmt();
H A DDebugCheckers.cpp320 // Emits a report for every Stmt that the analyzer visits.
325 class ReportStmts : public Checker<check::PreStmt<Stmt>> {
329 void checkPreStmt(const Stmt *S, CheckerContext &C) const {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DStmtVisitor.h1 //===- StmtVisitor.h - Visitor for Stmt subclasses --------------*- C++ -*-===//
20 #include "clang/AST/Stmt.h"
31 /// StmtVisitorBase - This class implements a simple visitor for Stmt
32 /// subclasses. Since Expr derives from Stmt, this also includes support for
43 RetTy Visit(PTR(Stmt) S, ParamTys... P) {
109 case Stmt::CLASS ## Class: DISPATCH(CLASS, CLASS);
171 RetTy VisitStmt(PTR(Stmt) Node, ParamTys... P) { return RetTy(); }
177 /// StmtVisitor - This class implements a simple visitor for Stmt subclasses.
178 /// Since Expr derives from Stmt, this also includes support for visiting Exprs.
180 /// This class does not preserve constness of Stmt pointer
[all...]
H A DASTTypeTraits.h70 static ASTNodeKind getFromNode(const Stmt &S);
200 KIND_TO_KIND_ID(Stmt)
245 /// (like \c Stmt, \c Decl, \c Type and \c NestedNameSpecifier) the returned
292 /// only Stmt, Decl, Type and NestedNameSpecifier return memoization data).
474 T, std::enable_if_t<std::is_base_of<Stmt, T>::value>>
475 : public DynCastPtrConverter<T, Stmt> {};
H A DEvaluatedExprVisitor.h100 void VisitStmt(PTR(Stmt) S) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineObjC.cpp48 const ObjCForCollectionStmt *S, const Stmt *elem, SVal elementV,
114 const Stmt *elem = S->getElement();
115 const Stmt *collection = S->getCollection();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordReader.h127 Stmt *readStmt() { return Reader->ReadStmt(*F); }
128 Stmt *readStmtRef() { return readStmt(); /* FIXME: readSubStmt? */ }
134 Stmt *readSubStmt() { return Reader->ReadSubStmt(); }
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h68 class Stmt;
232 const Stmt *getStmt() const;
290 const Stmt *ReferenceStmt, const LocationContext *LC,
291 const Stmt *DiagnosticStmt = nullptr,
299 void ProcessStmt(const Stmt *S, ExplodedNode *Pred);
301 void ProcessLoopExit(const Stmt* S, ExplodedNode *Pred);
327 void processBranch(const Stmt *Condition,
444 void Visit(const Stmt *S, ExplodedNode *Pred, ExplodedNodeSet &Dst);
565 const Stmt *S, bool IsBaseDtor,
661 void evalBind(ExplodedNodeSet &Dst, const Stmt *Store
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DInternals.h22 class Stmt;
66 void removeStmt(Stmt *S);
69 void replaceStmt(Stmt *S, StringRef text);
H A DTransProtectedScope.cpp67 Stmt *Parent = getCaseParent(Curr);
88 Stmt *getCaseParent(SwitchCase *S) {
89 Stmt *Parent = PMap.getParent(S);
H A DTransformActions.cpp48 Stmt *S;
113 llvm::DenseSet<Stmt *> StmtRemovals;
136 void removeStmt(Stmt *S);
139 void replaceStmt(Stmt *S, StringRef text);
159 void commitRemoveStmt(Stmt *S);
312 void TransformActionsImpl::removeStmt(Stmt *S) {
351 void TransformActionsImpl::replaceStmt(Stmt *S, StringRef text) {
450 void TransformActionsImpl::commitRemoveStmt(Stmt *S) {
642 void TransformActions::removeStmt(Stmt *S) {
655 void TransformActions::replaceStmt(Stmt *
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTDumper.cpp226 // Stmt method implementations
229 LLVM_DUMP_METHOD void Stmt::dump() const {
234 LLVM_DUMP_METHOD void Stmt::dump(raw_ostream &OS,
240 LLVM_DUMP_METHOD void Stmt::dumpColor() const {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h182 class Stmt;
1746 CanThrowResult canThrow(const Stmt *E);
2546 void computeNRVO(Stmt *Body, sema::FunctionScopeInfo *Scope);
2547 Decl *ActOnFinishFunctionBody(Decl *Decl, Stmt *Body);
2548 Decl *ActOnFinishFunctionBody(Decl *Decl, Stmt *Body, bool IsInstantiation);
2567 void DiagnoseInvalidJumps(Stmt *Body);
4023 /// Stmt attributes - this routine is the top level dispatcher.
4024 StmtResult ProcessStmtAttributes(Stmt *Stmt,
4318 ArrayRef<Stmt *> Elt
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp71 Stmt *CurrentBody;
115 SmallVector<Stmt *, 32> Stmts;
143 llvm::DenseMap<Stmt *, Stmt *> ReplacedNodes;
201 void ReplaceStmt(Stmt *Old, Stmt *New) {
205 void ReplaceStmtWithRange(Stmt *Old, Stmt *New, SourceRange SrcRange) {
206 assert(Old != nullptr && New != nullptr && "Expected non-null Stmt's");
208 Stmt *ReplacingStm
[all...]
H A DRewriteModernObjC.cpp72 Stmt *CurrentBody;
124 SmallVector<Stmt *, 32> Stmts;
162 llvm::DenseMap<Stmt *, Stmt *> ReplacedNodes;
250 void ReplaceStmt(Stmt *Old, Stmt *New) {
254 void ReplaceStmtWithRange(Stmt *Old, Stmt *New, SourceRange SrcRange) {
255 assert(Old != nullptr && New != nullptr && "Expected non-null Stmt's");
257 Stmt *ReplacingStm
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp25 #include "clang/AST/Stmt.h"
136 Stmt *function_body = function_decl->getBody();
176 Stmt *method_body = MethodDecl->getBody();
211 Stmt **last_stmt_ptr = Body->body_end() - 1;
212 Stmt *last_stmt = *last_stmt_ptr;
381 *last_stmt_ptr = static_cast<Stmt *>(result_initialization_stmt_result.get());
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DChecker.h84 static void _checkStmt(void *checker, const Stmt *S, CheckerContext &C) {
88 static bool _handlesStmt(const Stmt *S) {
103 static void _checkStmt(void *checker, const Stmt *S, CheckerContext &C) {
107 static bool _handlesStmt(const Stmt *S) {
197 const SVal &location, bool isLoad, const Stmt *S,
213 const SVal &location, const SVal &val, const Stmt *S,
272 static void _checkBranchCondition(void *checker, const Stmt *Condition,
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp212 SourceLocation getStart(const Stmt *S) {
220 SourceLocation getEnd(const Stmt *S) {
443 llvm::DenseMap<const Stmt *, unsigned> &CounterMap;
480 Counter getRegionCounter(const Stmt *S) {
667 Counter propagateCounts(Counter TopCount, const Stmt *S,
781 void extendRegion(const Stmt *S) {
793 void terminateRegion(const Stmt *S) {
818 Optional<SourceRange> findGapAreaBetween(const Stmt *AfterStmt,
819 const Stmt *BeforeStmt) {
846 llvm::DenseMap<const Stmt *, unsigne
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp180 const Stmt *CallSite = Context.getStackFrame()->getCallSite();
515 static const Stmt *getMethodBody(const CXXMethodDecl *M) {
558 const Stmt *MethodBody = getMethodBody(M);
571 const auto *FirstGuard = Guards[0].getNodeAs<Stmt>("guard");
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvalEmitter.h60 bool bail(const Stmt *S) { return bail(S->getBeginLoc()); }
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp117 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST);
120 std::enable_if_t<std::is_base_of<Stmt, T>::value, T> *Node,
122 : Impl(Parent, dyn_cast<Stmt>(Node), AST) {}
159 std::string getStmtValue(const Stmt *S) const;
167 static bool isSpecializedNodeExcluded(const Stmt *S) { return false; }
240 bool TraverseStmt(Stmt *S) {
274 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST)
385 const Stmt *S) {
393 S = P.get<Stmt>();
415 if (auto *S = DTN.get<Stmt>())
[all...]

Completed in 392 milliseconds

1234567891011>>