HomeSort by: relevance | last modified time | path
    Searched refs:DeclStmt (Results 1 - 25 of 82) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
StmtCXX.h 137 // SubExprs[RANGE] is an expression or declstmt.
146 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin,
147 DeclStmt *End, Expr *Cond, Expr *Inc, DeclStmt *LoopVar,
161 DeclStmt *getRangeStmt() { return cast<DeclStmt>(SubExprs[RANGE]); }
162 DeclStmt *getBeginStmt() {
163 return cast_or_null<DeclStmt>(SubExprs[BEGINSTMT]);
165 DeclStmt *getEndStmt() { return cast_or_null<DeclStmt>(SubExprs[ENDSTMT]);
    [all...]
Stmt.h 1287 /// DeclStmt - Adaptor class for mixing declarations with statements and
1291 class DeclStmt : public Stmt {
1296 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc)
1300 explicit DeclStmt(EmptyShell Empty) : Stmt(DeclStmtClass, Empty) {}
1302 /// isSingleDecl - This method returns true if this DeclStmt refers
1330 auto Children = const_cast<DeclStmt *>(this)->children();
1917 // Present if and only if hasVarStorage(). This is in fact a "DeclStmt *".
2036 /// If this IfStmt has a condition variable, return the faux DeclStmt
2038 DeclStmt *getConditionVariableDeclStmt() {
2039 return hasVarStorage() ? static_cast<DeclStmt *>(
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
CheckerDocumentation.cpp 37 check::PostStmt<DeclStmt>,
81 /// check::PostStmt<DeclStmt>
82 void checkPostStmt(const DeclStmt *DS, CheckerContext &C) const;
329 void CheckerDocumentation::checkPostStmt(const DeclStmt *DS,
UndefinedAssignmentChecker.cpp 87 if (const DeclStmt *DS = dyn_cast<DeclStmt>(StoreE)) {
VLASizeChecker.cpp 34 : public Checker<check::PreStmt<DeclStmt>,
61 void checkPreStmt(const DeclStmt *DS, CheckerContext &C) const;
251 void VLASizeChecker::checkPreStmt(const DeclStmt *DS, CheckerContext &C) const {
LLVMConventionsChecker.cpp 130 void VisitDeclStmt(DeclStmt *DS);
142 void StringRefCheckerVisitor::VisitDeclStmt(DeclStmt *S) {
ConversionChecker.cpp 100 } else if (isa<DeclStmt>(Parent)) {
DeadStoresChecker.cpp 375 else if (const DeclStmt *DS = dyn_cast<DeclStmt>(S))
MallocSizeofChecker.cpp 101 TypeCallPair VisitDeclStmt(const DeclStmt *S) {
  /src/external/apache2/llvm/dist/clang/lib/AST/
StmtCXX.cpp 47 CXXForRangeStmt::CXXForRangeStmt(Stmt *Init, DeclStmt *Range,
48 DeclStmt *BeginStmt, DeclStmt *EndStmt,
49 Expr *Cond, Expr *Inc, DeclStmt *LoopVar,
66 DeclStmt *RangeStmt = getRangeStmt();
77 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl();
ParentMapContext.cpp 166 matchParents<DeclStmt, CXXForRangeStmt>(ParentList, this);
170 std::get<const DeclStmt *>(AncestorNodes))
174 auto AncestorNodes = matchParents<VarDecl, DeclStmt, CXXForRangeStmt>(
179 std::get<const DeclStmt *>(AncestorNodes))
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
ByteCodeStmtGen.h 62 bool visitDeclStmt(const DeclStmt *DS);
ByteCodeStmtGen.cpp 118 return visitDeclStmt(cast<DeclStmt>(S));
144 bool ByteCodeStmtGen<Emitter>::visitDeclStmt(const DeclStmt *DS) {
195 if (const DeclStmt *CondDecl = IS->getConditionVariableDeclStmt())
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
ConstructionContext.h 87 ConstructionContextItem(const DeclStmt *DS)
304 const DeclStmt *DS;
307 VariableConstructionContext(ConstructionContext::Kind K, const DeclStmt *DS)
314 const DeclStmt *getDeclStmt() const { return DS; }
329 explicit SimpleVariableConstructionContext(const DeclStmt *DS)
355 const DeclStmt *DS, const CXXBindTemporaryExpr *BTE)
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
VarBypassDetector.cpp 31 /// Build scope information for a declaration that is part of a DeclStmt.
87 const DeclStmt *DS = cast<DeclStmt>(S);
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
LiveVariables.cpp 167 void VisitDeclStmt(DeclStmt *DS);
248 const DeclStmt *DS = cast<DeclStmt>(S);
382 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) {
400 if (DeclStmt *DS = dyn_cast<DeclStmt>(element)) {
ConstructionContext.cpp 110 const auto *DS = cast<DeclStmt>(ParentItem.getStmt());
173 const auto *DS = cast<DeclStmt>(TopItem.getStmt());
UninitializedValues.cpp 288 void VisitDeclStmt(DeclStmt *DS);
371 void ClassifyRefs::VisitDeclStmt(DeclStmt *DS) {
490 void VisitDeclStmt(DeclStmt *ds);
691 if (const auto *DS = dyn_cast<DeclStmt>(FS->getElement())) {
772 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) {
CFG.cpp 567 CFGBlock *VisitDeclStmt(DeclStmt *DS);
568 CFGBlock *VisitDeclSubExpr(DeclStmt *DS);
768 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS,
1947 if (DeclStmt *DS = dyn_cast<DeclStmt>(SI))
1954 // interesting only for DeclStmt.
1955 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->stripLabelLikeStatements()))
1961 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS,
2229 return VisitDeclStmt(cast<DeclStmt>(S))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransAutoreleasePool.cpp 169 if (DeclStmt *DclS = dyn_cast<DeclStmt>(child)) {
419 DeclStmt *Dcl;
TransRetainReleaseDealloc.cpp 229 if (DeclStmt *DS = dyn_cast<DeclStmt>(S)) {
365 auto *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild.begin());
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
UncountedLocalVarsChecker.cpp 39 if (auto *DS = parent.begin()->get<DeclStmt>()) {
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
CheckerHelpers.cpp 92 } else if (auto PD = dyn_cast_or_null<DeclStmt>(S)) {
LoopUnrolling.cpp 113 return declStmt(hasDescendant(varDecl(
144 anyOf(declStmt(hasSingleDecl(
181 if (const DeclStmt *DS = dyn_cast<DeclStmt>(S)) {
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
ThreadSafetyCommon.h 52 class DeclStmt;
423 til::SExpr *translateDeclStmt(const DeclStmt *S, CallingContext *Ctx);

Completed in 53 milliseconds

1 2 3 4