HomeSort by relevance Sort by last modified time
    Searched refs:DeclStmt (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/clang/include/clang/AST/
StmtCXX.h 131 // SubExprs[RANGE] is an expression or declstmt.
140 CXXForRangeStmt(DeclStmt *Range, DeclStmt *BeginEnd,
141 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, Stmt *Body,
154 DeclStmt *getRangeStmt() { return cast<DeclStmt>(SubExprs[RANGE]); }
155 DeclStmt *getBeginEndStmt() {
156 return cast_or_null<DeclStmt>(SubExprs[BEGINEND]);
160 DeclStmt *getLoopVarStmt() { return cast<DeclStmt>(SubExprs[LOOPVAR]);
    [all...]
Stmt.h 426 /// DeclStmt - Adaptor class for mixing declarations with statements and
431 class DeclStmt : public Stmt {
436 DeclStmt(DeclGroupRef dg, SourceLocation startLoc,
441 explicit DeclStmt(EmptyShell Empty) : Stmt(DeclStmtClass, Empty) { }
443 /// isSingleDecl - This method returns true if this DeclStmt refers
895 /// If this IfStmt has a condition variable, return the faux DeclStmt
897 const DeclStmt *getConditionVariableDeclStmt() const {
898 return reinterpret_cast<DeclStmt*>(SubExprs[VAR]);
966 /// If this SwitchStmt has a condition variable, return the faux DeclStmt
968 const DeclStmt *getConditionVariableDeclStmt() const
    [all...]
  /external/clang/lib/AST/
StmtCXX.cpp 52 CXXForRangeStmt::CXXForRangeStmt(DeclStmt *Range, DeclStmt *BeginEndStmt,
53 Expr *Cond, Expr *Inc, DeclStmt *LoopVar,
68 DeclStmt *RangeStmt = getRangeStmt();
79 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl();
Stmt.cpp 773 DeclStmt *DS = cast<DeclStmt>(SubExprs[VAR]);
784 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(),
804 DeclStmt *DS = cast<DeclStmt>(SubExprs[CONDVAR]);
815 SubExprs[CONDVAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(),
830 DeclStmt *DS = cast<DeclStmt>(SubExprs[VAR]);
841 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(),
864 DeclStmt *DS = cast<DeclStmt>(SubExprs[VAR])
    [all...]
StmtPrinter.cpp 68 void PrintRawDeclStmt(const DeclStmt *S);
128 void StmtPrinter::PrintRawDeclStmt(const DeclStmt *S) {
137 void StmtPrinter::VisitDeclStmt(DeclStmt *Node) {
181 if (const DeclStmt *DS = If->getConditionVariableDeclStmt())
221 if (const DeclStmt *DS = Node->getConditionVariableDeclStmt())
240 if (const DeclStmt *DS = Node->getConditionVariableDeclStmt())
267 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getInit()))
295 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getElement())
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
UndefinedAssignmentChecker.cpp 78 if (const DeclStmt *DS = dyn_cast<DeclStmt>(StoreE)) {
CheckerDocumentation.cpp 38 check::PostStmt<DeclStmt>,
81 /// check::PostStmt<DeclStmt>
82 void checkPostStmt(const DeclStmt *DS, CheckerContext &C) const;
316 void CheckerDocumentation::checkPostStmt(const DeclStmt *DS,
VLASizeChecker.cpp 31 class VLASizeChecker : public Checker< check::PreStmt<DeclStmt> > {
40 void checkPreStmt(const DeclStmt *DS, CheckerContext &C) const;
82 void VLASizeChecker::checkPreStmt(const DeclStmt *DS, CheckerContext &C) const {
LLVMConventionsChecker.cpp 132 void VisitDeclStmt(DeclStmt *DS);
144 void StringRefCheckerVisitor::VisitDeclStmt(DeclStmt *S) {
  /frameworks/compile/slang/
slang_rs_check_ast.h 68 void VisitDeclStmt(clang::DeclStmt *DS);
slang_rs_ast_replace.h 71 void VisitDeclStmt(clang::DeclStmt* DS);
slang_rs_object_ref_count.h 70 clang::DeclStmt *DS,
200 void VisitDeclStmt(clang::DeclStmt *DS);
slang_rs_ast_replace.cpp 90 void RSASTReplace::VisitDeclStmt(clang::DeclStmt* DS) {
slang_rs_check_ast.cpp 246 void RSCheckAST::VisitDeclStmt(clang::DeclStmt *DS) {
248 for (clang::DeclStmt::decl_iterator I = DS->decl_begin(),
  /external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp 172 const DeclStmt *DS = cast<DeclStmt>(Head);
LiveVariables.cpp 209 void VisitDeclStmt(DeclStmt *DS);
290 const DeclStmt *DS = cast<DeclStmt>(S);
372 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) {
386 if (DeclStmt *DS = dyn_cast<DeclStmt>(element)) {
UninitializedValues.cpp 327 void VisitDeclStmt(DeclStmt *DS);
408 void ClassifyRefs::VisitDeclStmt(DeclStmt *DS) {
514 void VisitDeclStmt(DeclStmt *ds);
685 if (DeclStmt *DS = dyn_cast<DeclStmt>(FS->getElement())) {
753 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) {
CFG.cpp 452 CFGBlock *VisitDeclStmt(DeclStmt *DS);
453 CFGBlock *VisitDeclSubExpr(DeclStmt *DS);
588 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS,
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
CheckerHelpers.cpp 88 } else if (auto PD = dyn_cast_or_null<DeclStmt>(S)) {
ExprEngineObjC.cpp 78 if (const DeclStmt *DS = dyn_cast<DeclStmt>(elem)) {
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
SubEngine.h 87 virtual void processStaticInitializer(const DeclStmt *DS,
  /external/clang/lib/ARCMigrate/
TransAutoreleasePool.cpp 170 if (DeclStmt *DclS = dyn_cast<DeclStmt>(child)) {
420 DeclStmt *Dcl;
TransRetainReleaseDealloc.cpp 225 if (DeclStmt *DS = dyn_cast<DeclStmt>(S)) {
361 auto *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild.begin());
  /external/clang/tools/libclang/
IndexBody.cpp 135 bool VisitDeclStmt(DeclStmt *S) {
  /external/clang/include/clang/Analysis/
CFG.h 882 /// Records a synthetic DeclStmt and the DeclStmt it was constructed from.
884 /// The CFG uses synthetic DeclStmts when a single AST DeclStmt contains
886 void addSyntheticDeclStmt(const DeclStmt *Synthetic,
887 const DeclStmt *Source) {
894 typedef llvm::DenseMap<const DeclStmt *, const DeclStmt *>::const_iterator
    [all...]

Completed in 2709 milliseconds

1 2 3