/external/clang/include/clang/Frontend/ |
H A D | LayoutOverrideSource.h | 51 layoutRecordType(const RecordDecl *Record,
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenTypes.h | 46 class RecordDecl; 87 /// RecordDecl. 105 SmallVector<const RecordDecl *, 8> DeferredRecords; 149 const CGRecordLayout &getCGRecordLayout(const RecordDecl*); 227 CGRecordLayout *ComputeRecordLayout(const RecordDecl *D, 232 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 238 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
|
H A D | CGRecordLayoutBuilder.cpp | 97 /// Alignment - Contains the alignment of the RecordDecl. 108 /// LayoutUnion - Will layout a union RecordDecl. 109 void LayoutUnion(const RecordDecl *D); 114 RecordDecl::field_iterator &FI, 115 RecordDecl::field_iterator FE); 119 bool LayoutFields(const RecordDecl *D); 197 /// Layout - Will layout a RecordDecl. 198 void Layout(const RecordDecl *D); 203 void CGRecordLayoutBuilder::Layout(const RecordDecl *D) { 267 RecordDecl [all...] |
H A D | CodeGenTypes.cpp | 51 void CodeGenTypes::addRecordTypeName(const RecordDecl *RD, 110 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked); 117 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT, argument 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 *R 159 isSafeToConvert(QualType T, CodeGenTypes &CGT, llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) argument [all...] |
H A D | CodeGenTBAA.cpp | 186 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 198 for (RecordDecl::field_iterator i = RD->field_begin(), 238 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 258 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 263 for (RecordDecl::field_iterator i = RD->field_begin(),
|
H A D | ModuleBuilder.cpp | 99 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D))
|
H A D | CGDebugInfo.h | 193 void CollectRecordFields(const RecordDecl *Decl, llvm::DIFile F, 291 void completeFwdDecl(const RecordDecl &TD); 310 llvm::DIType createRecordFwdDecl(const RecordDecl *, llvm::DIDescriptor); 378 StringRef getClassName(const RecordDecl *RD);
|
H A D | CGExprAgg.cpp | 225 RecordDecl *Record = RecordTy->getDecl(); 323 RecordDecl *Record = E->getType()->castAs<RecordType>()->getDecl(); 324 RecordDecl::field_iterator Field = Record->field_begin(); 1123 RecordDecl *record = E->getType()->castAs<RecordType>()->getDecl(); 1137 for (RecordDecl::field_iterator Field = record->field_begin(), 1168 for (RecordDecl::field_iterator field = record->field_begin(), 1260 RecordDecl *SD = E->getType()->getAs<RecordType>()->getDecl(); 1264 for (RecordDecl::field_iterator Field = SD->field_begin(), 1441 RecordDecl *Record = RecordTy->getDecl();
|
H A D | CGExprConstant.cpp | 74 void Build(const APValue &Val, const RecordDecl *RD, bool IsPrimaryBase, 371 RecordDecl *RD = ILE->getType()->getAs<RecordType>()->getDecl(); 377 for (RecordDecl::field_iterator Field = RD->field_begin(), 426 void ConstStructBuilder::Build(const APValue &Val, const RecordDecl *RD, 463 for (RecordDecl::field_iterator Field = RD->field_begin(), 492 RecordDecl *RD = Ty->getAs<RecordType>()->getDecl(); 561 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl(); 1315 for (RecordDecl::field_iterator I = RD->field_begin(), 1380 for (RecordDecl::field_iterator I = record->field_begin(),
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | 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/chromium_org/ppapi/tests/clang/ |
H A D | find_affected_interfaces.cc | 76 const clang::RecordDecl* decl = record->getDecl(); 77 clang::RecordDecl::field_iterator field_iter(decl->field_begin()); 78 clang::RecordDecl::field_iterator field_end(decl->field_end());
|
H A D | print_names_and_sizes.cc | 82 const clang::RecordDecl* decl = record->getDecl(); 83 clang::RecordDecl::field_iterator iter(decl->field_begin()); 84 clang::RecordDecl::field_iterator end(decl->field_end());
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
H A D | RegistryTest.cpp | 167 Matcher<Decl> RecordDecl = local 176 EXPECT_FALSE(matches("int a;", RecordDecl)); 178 EXPECT_TRUE(matches("class A {};", RecordDecl)); 180 EXPECT_FALSE(matches("void f(){};", RecordDecl));
|
/external/clang/include/clang/AST/ |
H A D | RecordLayout.h | 24 class RecordDecl; 28 /// This class contains layout information for one RecordDecl,
|
H A D | Decl.h | 2181 const RecordDecl *getParent() const { 2182 return cast<RecordDecl>(getDeclContext()); 2185 RecordDecl *getParent() { 2186 return cast<RecordDecl>(getDeclContext()); 2926 /// RecordDecl - Represents a struct/union/class. For example: 2931 class RecordDecl : public TagDecl { 2958 RecordDecl(Kind DK, TagKind TK, DeclContext *DC, 2960 IdentifierInfo *Id, RecordDecl *PrevDecl); 2963 static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC, 2965 IdentifierInfo *Id, RecordDecl* PrevDec [all...] |
H A D | ExternalASTSource.h | 30 class RecordDecl; 247 layoutRecordType(const RecordDecl *Record,
|
/external/clang/lib/AST/ |
H A D | ASTImporter.cpp | 107 bool ImportDefinition(RecordDecl *From, RecordDecl *To, 123 bool IsStructuralMatch(RecordDecl *FromRecord, RecordDecl *ToRecord, 138 Decl *VisitRecordDecl(RecordDecl *D); 845 RecordDecl *Owner2 = cast<RecordDecl>(Field2->getDeclContext()); 852 RecordDecl *D1 = Field1->getType()->castAs<RecordType>()->getDecl(); 853 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl(); 925 static Optional<unsigned> findAnonymousStructOrUnionIndex(RecordDecl *Ano [all...] |
H A D | Decl.cpp | 576 if (cast<RecordDecl>(Field->getDeclContext())->isAnonymousStructOrUnion()) 811 getLVForDecl(cast<RecordDecl>(D->getDeclContext()), classComputation); 1266 } else if (const RecordDecl *RD = dyn_cast<RecordDecl>(*I)) { 3005 const RecordDecl *RD = getParent(); 3007 for (RecordDecl::field_iterator I = RD->field_begin(), E = RD->field_end(); 3207 // RecordDecl Implementation 3210 RecordDecl::RecordDecl(Kind DK, TagKind TK, DeclContext *DC, function in class:RecordDecl 3212 IdentifierInfo *Id, RecordDecl *PrevDec [all...] |
H A D | RecordLayoutBuilder.cpp | 671 void Layout(const RecordDecl *D); 675 void LayoutFields(const RecordDecl *D); 1589 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D)) { 1618 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D)) 1639 void RecordLayoutBuilder::Layout(const RecordDecl *D) { 1731 void RecordLayoutBuilder::LayoutFields(const RecordDecl *D) { 1734 for (RecordDecl::field_iterator Field = D->field_begin(), 2108 if (const RecordDecl *R [all...] |
H A D | CXXInheritance.cpp | 396 RecordDecl *BaseRecord = 413 RecordDecl *BaseRecord = 432 RecordDecl *BaseRecord =
|
/external/clang/lib/Frontend/ |
H A D | LayoutOverrideSource.cpp | 156 LayoutOverrideSource::layoutRecordType(const RecordDecl *Record, 173 for (RecordDecl::field_iterator F = Record->field_begin(),
|
/external/clang/include/clang/Sema/ |
H A D | MultiplexExternalSemaSource.h | 188 layoutRecordType(const RecordDecl *Record,
|
/external/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 115 void Sema::AddAlignmentAttributesForRecord(RecordDecl *RD) { 133 void Sema::AddMsStructLayoutForRecord(RecordDecl *RD) {
|
/external/clang/tools/libclang/ |
H A D | CXType.cpp | 732 static long long visitRecordForValidation(const RecordDecl *RD) { 733 for (RecordDecl::field_iterator I = RD->field_begin(), E = RD->field_end(); 742 if (const RecordDecl *Child = ChildType->getDecl()) { 758 const RecordDecl *RD = 759 dyn_cast_or_null<RecordDecl>(cxcursor::getCursorDecl(PC)); 782 RecordDecl::lookup_const_result Res = RD->lookup(FieldName);
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCXX.cpp | 297 const CXXRecordDecl *RecordDecl = ObjectType->getAsCXXRecordDecl(); local 298 assert(RecordDecl && "Only CXXRecordDecls should have destructors"); 299 const CXXDestructorDecl *DtorDecl = RecordDecl->getDestructor();
|