/external/clang/include/clang/AST/ |
ASTFwd.h | 20 class Stmt; 21 #define STMT(DERIVED, BASE) class DERIVED;
|
StmtVisitor.h | 1 //===--- StmtVisitor.h - Visitor for Stmt subclasses ------------*- C++ -*-===// 28 /// StmtVisitorBase - This class implements a simple visitor for Stmt 29 /// subclasses. Since Expr derives from Stmt, this also includes support for 39 RetTy Visit(PTR(Stmt) S) { 42 // optimizer (e.g. LLVM) will fold this comparison into the switch stmt 99 // Top switch stmt: dispatch to VisitFooStmt for each FooStmt. 101 default: llvm_unreachable("Unknown stmt kind!"); 102 #define ABSTRACT_STMT(STMT) 103 #define STMT(CLASS, PARENT) \ 104 case Stmt::CLASS ## Class: DISPATCH(CLASS, CLASS) [all...] |
ASTTypeTraits.h | 22 #include "clang/AST/Stmt.h" 88 #define STMT(DERIVED, BASE) NKI_##DERIVED, 135 KIND_TO_KIND_ID(Stmt) 139 #define STMT(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED) 176 /// (like \c Stmt, \c Decl, \c Type and \c NestedNameSpecifier) the returned 209 /// only Stmt, Decl, Type and NestedNameSpecifier return memoization data). 291 Decl *, Stmt *, Type *, NestedNameSpecifier *, CXXCtorInitializer *> 305 T, typename std::enable_if<std::is_base_of<Stmt, T>::value>::type> 306 : public DynCastPtrConverter<T, Stmt> {}; 351 } else if (ASTNodeKind::getFromNodeKind<Stmt>().isBaseOf(NodeKind)) [all...] |
DataRecursiveASTVisitor.h | 28 #include "clang/AST/Stmt.h" 82 /// the node's dynamic type, until the top-most class (e.g. Stmt, 94 /// TraverseStmt(Stmt *x) and TraverseType(QualType x) work 158 bool TraverseStmt(Stmt *S); 265 // Declare Traverse*() for all concrete Stmt classes. 266 #define ABSTRACT_STMT(STMT) 267 #define STMT(CLASS, PARENT) bool Traverse##CLASS(CLASS *S); 269 // The above header #undefs ABSTRACT_STMT and STMT upon exit. 271 // Define WalkUpFrom*() and empty Visit*() for all Stmt classes. 272 bool WalkUpFromStmt(Stmt *S) { return getDerived().VisitStmt(S); [all...] |
RecursiveASTVisitor.h | 28 #include "clang/AST/Stmt.h" 78 /// the node's dynamic type, until the top-most class (e.g. Stmt, 90 /// TraverseStmt(Stmt *x) and TraverseType(QualType x) work 152 bool shouldUseDataRecursionFor(Stmt *S) const { 162 bool TraverseStmt(Stmt *S); 269 // Declare Traverse*() for all concrete Stmt classes. 270 #define ABSTRACT_STMT(STMT) 271 #define STMT(CLASS, PARENT) bool Traverse##CLASS(CLASS *S); 273 // The above header #undefs ABSTRACT_STMT and STMT upon exit. 275 // Define WalkUpFrom*() and empty Visit*() for all Stmt classes [all...] |
Stmt.h | 1 //===--- Stmt.h - Classes for representing statements -----------*- C++ -*-===// 10 // This file defines the Stmt interface and subclasses. 53 // ExprIterator - Iterators for iterating over Stmt* arrays that contain 54 // only Expr*. This is needed because AST nodes use Stmt* arrays to store 58 class Stmt; 62 Stmt** I; 64 ExprIterator(Stmt** i) : I(i) {} 81 const Stmt * const *I; 83 ConstExprIterator(const Stmt * const *i) : I(i) {} 102 /// Stmt - This represents one statement [all...] |
/external/clang/lib/AST/ |
ASTTypeTraits.cpp | 34 { NKI_None, "Stmt" }, 35 #define STMT(DERIVED, BASE) { NKI_##BASE, #DERIVED }, 79 else if (const Stmt *S = get<Stmt>()) 90 else if (const Stmt *S = get<Stmt>()) 105 if (const Stmt *S = get<Stmt>())
|
ExprClassification.cpp | 107 case Stmt::NoStmtClass: 109 #define STMT(Kind, Base) case Expr::Kind##Class:
|
Stmt.cpp | 1 //===--- Stmt.cpp - Statement AST Node Implementation ---------------------===// 10 // This file implements the Stmt class and statement subclasses. 18 #include "clang/AST/Stmt.h" 34 } StmtClassInfo[Stmt::lastStmtConstant+1]; 36 static StmtClassNameTable &getStmtInfoTableEntry(Stmt::StmtClass E) { 43 #define ABSTRACT_STMT(STMT) 44 #define STMT(CLASS, PARENT) \ 45 StmtClassInfo[(unsigned)Stmt::CLASS##Class].Name = #CLASS; \ 46 StmtClassInfo[(unsigned)Stmt::CLASS##Class].Size = sizeof(CLASS); 52 void *Stmt::operator new(size_t bytes, const ASTContext& C [all...] |
Expr.cpp | 172 // See also Stmt.cpp:{getLocStart(),getLocEnd()}. 195 case Stmt::NoStmtClass: llvm_unreachable("statement without class"); 197 #define STMT(type, base) \ 198 case Stmt::type##Class: llvm_unreachable(#type " is not an Expr"); break; 200 case Stmt::type##Class: return getExprLocImpl<type>(this, &type::getExprLoc); [all...] |
ItaniumMangle.cpp | [all...] |
StmtPrinter.cpp | 1 //===--- StmtPrinter.cpp - Printing implementation for Stmt ASTs ----------===// 10 // This file implements the Stmt::dumpPretty/Stmt::printPretty methods, which 46 void PrintStmt(Stmt *S) { 50 void PrintStmt(Stmt *S, int SubIndent) { 53 // If this is an expr used in a stmt context, indent and newline it. 88 void Visit(Stmt* S) { 94 void VisitStmt(Stmt *Node) LLVM_ATTRIBUTE_UNUSED { 95 Indent() << "<<unknown stmt type>>\n"; 103 #define STMT(CLASS, PARENT) [all...] |
StmtProfile.cpp | 1 //===---- StmtProfile.cpp - Profile implementation for Stmt ASTs ----------===// 10 // This file implements the Stmt::Profile method, which builds a unique bit 36 void VisitStmt(const Stmt *S); 38 #define STMT(Node, Base) void Visit##Node(const Node *S); 70 void StmtProfiler::VisitStmt(const Stmt *S) { 72 for (Stmt::const_child_range C = S->children(); C; ++C) { 645 static Stmt::StmtClass DecodeOperatorCall(const CXXOperatorCallExpr *S, 663 return Stmt::UnaryOperatorClass; 667 return Stmt::BinaryOperatorClass; 672 return Stmt::UnaryOperatorClass [all...] |
/external/clang/lib/Sema/ |
SemaExceptionSpec.cpp | [all...] |
TreeTransform.h | 24 #include "clang/AST/Stmt.h" 133 static inline StmtResult Owned(Stmt *S) { return S; } 318 StmtResult TransformStmt(Stmt *S); 550 StmtResult TransformSEHHandler(Stmt *Handler); 620 #define STMT(Node, Parent) \ 626 #define ABSTRACT_STMT(Stmt) [all...] |
/external/clang/lib/CodeGen/ |
CGStmt.cpp | 10 // This contains code to emit Stmt nodes as LLVM code. 35 void CodeGenFunction::EmitStopPoint(const Stmt *S) { 45 void CodeGenFunction::EmitStmt(const Stmt *S) { 75 case Stmt::NoStmtClass: 76 case Stmt::CXXCatchStmtClass: 77 case Stmt::SEHExceptStmtClass: 78 case Stmt::SEHFinallyStmtClass: 79 case Stmt::MSDependentExistsStmtClass: 81 case Stmt::NullStmtClass: 82 case Stmt::CompoundStmtClass [all...] |
/external/clang/lib/Serialization/ |
ASTWriterStmt.cpp | 45 void VisitStmt(Stmt *S); 46 #define STMT(Type, Base) \ 61 void ASTStmtWriter::VisitStmt(Stmt *S) { [all...] |
ASTReaderStmt.cpp | 1 //===--- ASTReaderStmt.cpp - Stmt/Expr Deserialization ----------*- C++ -*-===// 86 /// \brief The number of record fields required for the Stmt class 101 void VisitStmt(Stmt *S); 102 #define STMT(Type, Base) \ 121 void ASTStmtReader::VisitStmt(Stmt *S) { 133 SmallVector<Stmt *, 16> Stmts; 321 SmallVector<Stmt*, 16> Exprs; 464 E->setRawSemantics(static_cast<Stmt::APFloatSemantics>(Record[Idx++])); 513 E->Exprs = new (Reader.getContext()) Stmt*[NumExprs]; 606 assert(E->getStmtClass() == Stmt::MemberExprClass & [all...] |
/external/chromium_org/third_party/checkstyle/ |
checkstyle-5.7-all.jar | |