/external/clang/include/clang/AST/ |
ASTFwd.h | 23 class Stmt; 24 #define STMT(DERIVED, BASE) class DERIVED;
|
StmtVisitor.h | 1 //===--- StmtVisitor.h - Visitor for Stmt subclasses ------------*- C++ -*-===// 29 /// StmtVisitorBase - This class implements a simple visitor for Stmt 30 /// subclasses. Since Expr derives from Stmt, this also includes support for 40 RetTy Visit(PTR(Stmt) S) { 43 // optimizer (e.g. LLVM) will fold this comparison into the switch stmt 101 // Top switch stmt: dispatch to VisitFooStmt for each FooStmt. 103 default: llvm_unreachable("Unknown stmt kind!"); 104 #define ABSTRACT_STMT(STMT) 105 #define STMT(CLASS, PARENT) \ 106 case Stmt::CLASS ## Class: DISPATCH(CLASS, CLASS) [all...] |
ASTTypeTraits.h | 22 #include "clang/AST/Stmt.h" 60 static ASTNodeKind getFromNode(const Stmt &S); 132 #define STMT(DERIVED, BASE) NKI_##DERIVED, 181 KIND_TO_KIND_ID(Stmt) 185 #define STMT(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED) 222 /// (like \c Stmt, \c Decl, \c Type and \c NestedNameSpecifier) the returned 269 /// only Stmt, Decl, Type and NestedNameSpecifier return memoization data). 451 T, typename std::enable_if<std::is_base_of<Stmt, T>::value>::type> 452 : public DynCastPtrConverter<T, Stmt> {};
|
RecursiveASTVisitor.h | 31 #include "clang/AST/Stmt.h" 81 /// the node's dynamic type, until the top-most class (e.g. Stmt, 93 /// TraverseStmt(Stmt *x) and TraverseType(QualType x) work 142 typedef SmallVectorImpl<Stmt *> DataRecursionQueue; 164 bool TraverseStmt(Stmt *S, DataRecursionQueue *Queue = nullptr); 307 if (!TRAVERSE_STMT_BASE(Stmt, Stmt, S, Queue)) \ 312 // Declare Traverse*() for all concrete Stmt classes. 313 #define ABSTRACT_STMT(STMT) 314 #define STMT(CLASS, PARENT) [all...] |
Stmt.h | 1 //===--- Stmt.h - Classes for representing statements -----------*- C++ -*-===// 10 // This file defines the Stmt interface and subclasses. 57 /// Stmt - This represents one statement. 59 class LLVM_ALIGNAS(LLVM_PTR_SIZE) Stmt { 63 #define STMT(CLASS, PARENT) CLASS##Class, 68 #define ABSTRACT_STMT(STMT) 82 friend class Stmt; 289 /// Iterator for iterating over Stmt * arrays that contain only Expr * 291 /// This is needed because AST nodes use Stmt* arrays to store 294 : llvm::iterator_adaptor_base<ExprIterator, Stmt **, [all...] |
/external/clang/lib/AST/ |
ASTTypeTraits.cpp | 34 { NKI_None, "Stmt" }, 35 #define STMT(DERIVED, BASE) { NKI_##BASE, #DERIVED }, 91 ASTNodeKind ASTNodeKind::getFromNode(const Stmt &S) { 93 case Stmt::NoStmtClass: return NKI_None; 94 #define STMT(CLASS, PARENT) \ 95 case Stmt::CLASS##Class: return ASTNodeKind(NKI_##CLASS); 99 llvm_unreachable("invalid stmt kind"); 126 else if (const Stmt *S = get<Stmt>()) 137 else if (const Stmt *S = get<Stmt>() [all...] |
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. 19 #include "clang/AST/Stmt.h" 35 } StmtClassInfo[Stmt::lastStmtConstant+1]; 37 static StmtClassNameTable &getStmtInfoTableEntry(Stmt::StmtClass E) { 44 #define ABSTRACT_STMT(STMT) 45 #define STMT(CLASS, PARENT) \ 46 StmtClassInfo[(unsigned)Stmt::CLASS##Class].Name = #CLASS; \ 47 StmtClassInfo[(unsigned)Stmt::CLASS##Class].Size = sizeof(CLASS); 53 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: break; 200 case Stmt::type##Class: return getExprLocImpl<type>(this, &type::getExprLoc); [all...] |
ItaniumMangle.cpp | [all...] |
StmtProfile.cpp | 1 //===---- StmtProfile.cpp - Profile implementation for Stmt ASTs ----------===// 10 // This file implements the Stmt::Profile method, which builds a unique bit 37 void VisitStmt(const Stmt *S); 39 #define STMT(Node, Base) void Visit##Node(const Node *S); 71 void StmtProfiler::VisitStmt(const Stmt *S) { 73 for (const Stmt *SubStmt : S->children()) { 884 static Stmt::StmtClass DecodeOperatorCall(const CXXOperatorCallExpr *S, 903 return Stmt::UnaryOperatorClass; 907 return Stmt::BinaryOperatorClass; 912 return Stmt::UnaryOperatorClass [all...] |
StmtPrinter.cpp | 1 //===--- StmtPrinter.cpp - Printing implementation for Stmt ASTs ----------===// 10 // This file implements the Stmt::dumpPretty/Stmt::printPretty methods, which 47 void PrintStmt(Stmt *S) { 51 void PrintStmt(Stmt *S, int SubIndent) { 54 // If this is an expr used in a stmt context, indent and newline it. 89 void Visit(Stmt* S) { 95 void VisitStmt(Stmt *Node) LLVM_ATTRIBUTE_UNUSED { 96 Indent() << "<<unknown stmt type>>\n"; 104 #define STMT(CLASS, PARENT) [all...] |
ExprConstant.cpp | 580 bool nextStep(const Stmt *S) { [all...] |
/external/clang/lib/Sema/ |
SemaExceptionSpec.cpp | [all...] |
TreeTransform.h | 25 #include "clang/AST/Stmt.h" 134 static inline StmtResult Owned(Stmt *S) { return S; } 319 StmtResult TransformStmt(Stmt *S); 583 StmtResult TransformSEHHandler(Stmt *Handler); 647 #define STMT(Node, Parent) \ 653 #define ABSTRACT_STMT(Stmt) [all...] |
/external/clang/lib/CodeGen/ |
CGStmt.cpp | 10 // This contains code to emit Stmt nodes as LLVM code. 38 void CodeGenFunction::EmitStopPoint(const Stmt *S) { 48 void CodeGenFunction::EmitStmt(const Stmt *S) { 78 case Stmt::NoStmtClass: 79 case Stmt::CXXCatchStmtClass: 80 case Stmt::SEHExceptStmtClass: 81 case Stmt::SEHFinallyStmtClass: 82 case Stmt::MSDependentExistsStmtClass: 84 case Stmt::NullStmtClass: 85 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; 485 E->setRawSemantics(static_cast<Stmt::APFloatSemantics>(Record[Idx++])); 534 E->Exprs = new (Reader.getContext()) Stmt*[NumExprs]; 636 assert(E->getStmtClass() == Stmt::MemberExprClass & [all...] |
/development/tools/checkstyle/ |
checkstyle.jar | |