/external/clang/test/Misc/ |
ast-dump-decl.c | 10 // CHECK: {{^}}RecordDecl{{.*TestIndent[^()]*$}} 19 // CHECK: RecordDecl{{.*}}TestChildren 21 // CHECK-NEXT: RecordDecl{{.*}}y 49 // CHECK: RecordDecl{{.*}} TestEnumDeclAnon 61 // CHECK: RecordDecl{{.*}} struct TestRecordDecl 66 // CHECK: RecordDecl{{.*}} struct TestRecordDeclEmpty 72 // CHECK: RecordDecl{{.*}} struct TestRecordDeclAnon1 73 // CHECK-NEXT: RecordDecl{{.*}} struct 79 // CHECK: RecordDecl{{.*}} struct TestRecordDeclAnon2 80 // CHECK-NEXT: RecordDecl{{.*}} struc [all...] |
/external/clang/unittests/AST/ |
ASTContextParentMapTest.cpp | 31 methodDecl(hasParent(recordDecl(hasName("C")))))); 46 hasParent(recordDecl(isTemplateInstantiation()))))); 51 hasParent(recordDecl(unless(isTemplateInstantiation())))))); 56 allOf(hasParent(recordDecl(unless(isTemplateInstantiation()))), 57 hasParent(recordDecl(isTemplateInstantiation())))))); 66 allOf(hasAncestor(recordDecl(isTemplateInstantiation())), 67 hasAncestor(recordDecl(unless(isTemplateInstantiation())))))));
|
SourceLocationTest.cpp | 40 EXPECT_FALSE(Verifier.match("int i;", recordDecl())); 44 LocationVerifier<RecordDecl> Verifier;
|
/external/clang/unittests/ASTMatchers/ |
ASTMatchersTest.cpp | 23 DeclarationMatcher HasEmptyName = recordDecl(hasName("")); 30 DeclarationMatcher HasEmptyName = recordDecl(matchesName("")); 37 DeclarationMatcher IsDerivedFromEmpty = recordDecl(isDerivedFrom("")); 93 DeclarationMatcher ClassMatcher(recordDecl()); 101 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X"))); 109 DeclarationMatcher IsDerivedFromX = recordDecl(isDerivedFrom("X")); 117 DeclarationMatcher IsAX = recordDecl(isSameOrDerivedFrom("X")); 126 recordDecl(hasName("Z"), isDerivedFrom("X")); 245 recordDecl(isDerivedFrom(recordDecl(hasName("Some")))))) [all...] |
/external/clang/lib/CodeGen/ |
CodeGenTypes.h | 46 class RecordDecl; 84 /// RecordDecl. 102 SmallVector<const RecordDecl *, 8> DeferredRecords; 146 const CGRecordLayout &getCGRecordLayout(const RecordDecl*); 224 CGRecordLayout *ComputeRecordLayout(const RecordDecl *D, 229 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 235 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
|
CGRecordLayoutBuilder.cpp | 100 /// Alignment - Contains the alignment of the RecordDecl. 111 /// LayoutUnion - Will layout a union RecordDecl. 112 void LayoutUnion(const RecordDecl *D); 117 RecordDecl::field_iterator &FI, 118 RecordDecl::field_iterator FE); 122 bool LayoutFields(const RecordDecl *D); 201 /// Layout - Will layout a RecordDecl. 202 void Layout(const RecordDecl *D); 207 void CGRecordLayoutBuilder::Layout(const RecordDecl *D) { 273 RecordDecl::field_iterator &FI [all...] |
CodeGenTypes.cpp | 51 void CodeGenTypes::addRecordTypeName(const RecordDecl *RD, 110 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked); 117 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT, 118 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) { 146 for (RecordDecl::field_iterator I = RD->field_begin(), 160 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) { 181 static bool isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT) { 185 llvm::SmallPtrSet<const RecordDecl*, 16> AlreadyChecked; 254 // If we completed a RecordDecl that we previously used and converted to an 256 const RecordDecl *RD = cast<RecordDecl>(TD) [all...] |
CGDebugInfo.h | 186 void CollectRecordFields(const RecordDecl *Decl, llvm::DIFile F, 287 llvm::DIType createRecordFwdDecl(const RecordDecl *, llvm::DIDescriptor); 351 StringRef getClassName(const RecordDecl *RD);
|
CodeGenTBAA.cpp | 182 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 194 for (RecordDecl::field_iterator i = RD->field_begin(),
|
/external/clang/docs/ |
LibASTMatchers.rst | 30 in the AST of a translation unit, you can call `recordDecl() 34 call ``recordDecl(hasName("Foo"))`` returns a matcher that matches classes or 39 "``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``. 81 are bindable; for example, ``recordDecl(hasName("MyClass")).bind("id")`` will 82 bind the matched ``recordDecl`` node to the string "``id``", to be later
|
LibASTMatchersReference.html | 215 <tr><td>Matcher<<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>></td><td class="name" onclick="toggle('recordDecl0')"><a name="recordDecl0Anchor">recordDecl</a></td><td>Matcher<<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>>...</td></tr> [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
LLVMConventionsChecker.cpp | 67 static bool IsClangType(const RecordDecl *RD) { 71 static bool IsClangDecl(const RecordDecl *RD) { 75 static bool IsClangStmt(const RecordDecl *RD) { 79 static bool IsClangAttr(const RecordDecl *RD) { 232 for (RecordDecl::field_iterator I = R->field_begin(), E = R->field_end(); 248 const RecordDecl *RD = RT->getDecl()->getDefinition(); 249 for (RecordDecl::field_iterator I = RD->field_begin(), E = RD->field_end();
|
/external/clang/include/clang/ASTMatchers/ |
ASTMatchers.h | 17 // recordDecl(hasName("MyClass")) 28 // recordDecl(hasName("MyClass"), hasChild(id("child", recordDecl()))) 169 CXXRecordDecl> recordDecl; 1182 /// recordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")), [all...] |
/external/clang/include/clang/Frontend/ |
LayoutOverrideSource.h | 51 layoutRecordType(const RecordDecl *Record,
|
/external/clang/test/CodeGen/ |
bitfield-2.c | 12 // CHECK-RECORD: Record: RecordDecl{{.*}}s0 52 // CHECK-RECORD: Record: RecordDecl{{.*}}s1 100 // CHECK-RECORD: Record: RecordDecl{{.*}}u2 272 // CHECK-RECORD: Record: RecordDecl{{.*}}s7
|
/frameworks/compile/slang/ |
slang_rs_export_type.cpp | 87 const clang::RecordDecl *TopLevelRecord); 91 const clang::RecordDecl *TopLevelRecord, 123 const clang::RecordDecl *TopLevelRecord) { 162 clang::RecordDecl const *TopLevelRecord) { 201 clang::RecordDecl *RD = T->getAsStructureType()->getDecl(); 228 for (clang::RecordDecl::field_iterator FI = RD->field_begin(), 377 clang::RecordDecl *UnionDecl, 406 clang::RecordDecl *RD = NULL; 435 for (clang::RecordDecl::field_iterator FI = RD->field_begin(), 632 clang::RecordDecl *RD [all...] |
slang_rs_export_func.cpp | 74 clang::RecordDecl *RD = 75 clang::RecordDecl::Create(Ctx, clang::TTK_Struct,
|
slang_rs_object_ref_count.cpp | 631 clang::RecordDecl *RD = T->getAsUnionType()->getDecl(); 633 for (clang::RecordDecl::field_iterator FI = RD->field_begin(), 650 clang::RecordDecl *RD = T->getAsStructureType()->getDecl(); 652 for (clang::RecordDecl::field_iterator FI = RD->field_begin(), 691 clang::RecordDecl *RD = BaseType->getAsStructureType()->getDecl(); 693 for (clang::RecordDecl::field_iterator FI = RD->field_begin(), [all...] |
/external/clang/lib/AST/ |
ASTImporter.cpp | 107 bool ImportDefinition(RecordDecl *From, RecordDecl *To, 121 bool IsStructuralMatch(RecordDecl *FromRecord, RecordDecl *ToRecord, 133 Decl *VisitRecordDecl(RecordDecl *D); [all...] |
Decl.cpp | 538 if (cast<RecordDecl>(Field->getDeclContext())->isAnonymousStructOrUnion()) 762 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); [all...] |
/external/clang/include/clang/AST/ |
RecordLayout.h | 24 class RecordDecl; 28 /// This class contains layout information for one RecordDecl,
|
Decl.h | [all...] |
/external/clang/lib/Frontend/ |
LayoutOverrideSource.cpp | 156 LayoutOverrideSource::layoutRecordType(const RecordDecl *Record, 173 for (RecordDecl::field_iterator F = Record->field_begin(),
|
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCXX.cpp | 244 const CXXRecordDecl *RecordDecl = ObjectType->getAsCXXRecordDecl(); 245 assert(RecordDecl && "Only CXXRecordDecls should have destructors"); 246 const CXXDestructorDecl *DtorDecl = RecordDecl->getDestructor();
|
/external/clang/lib/Rewrite/Frontend/ |
RewriteObjC.cpp | 82 RecordDecl *NSStringRecord; 90 RecordDecl *SuperStructDecl; 91 RecordDecl *ConstantStringDecl; 267 void RewriteRecordBody(RecordDecl *RD); [all...] |