Searched refs:RecordDecl (Results 1 - 25 of 115) sorted by relevance

12345

/external/clang/include/clang/Frontend/
H A DLayoutOverrideSource.h51 layoutRecordType(const RecordDecl *Record,
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp55 const RecordDecl *RD = RT->getDecl();
56 RecordDecl::field_iterator Iter(RD->field_begin());
57 RecordDecl::field_iterator End(RD->field_end());
H A DLLVMConventionsChecker.cpp67 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) {
253 const RecordDecl *RD = RT->getDecl()->getDefinition();
/external/lldb/source/Expression/
H A DASTStructExtractor.cpp71 RecordDecl *struct_decl = NULL;
86 RecordDecl *candidate_record_decl = dyn_cast<RecordDecl>(candidate_decl);
128 RecordDecl::decl_iterator decl_iterator;
/external/clang/lib/CodeGen/
H A DCodeGenTypes.h47 class RecordDecl;
85 /// RecordDecl.
103 SmallVector<const RecordDecl *, 8> DeferredRecords;
146 const CGRecordLayout &getCGRecordLayout(const RecordDecl*);
229 CGRecordLayout *ComputeRecordLayout(const RecordDecl *D,
234 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty,
240 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
H A DCodeGenTypes.cpp48 void CodeGenTypes::addRecordTypeName(const RecordDecl *RD,
107 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked);
114 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT, argument
115 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) {
155 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) {
176 static bool isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT) {
180 llvm::SmallPtrSet<const RecordDecl*, 16> AlreadyChecked;
252 // If we completed a RecordDecl that we previously used and converted to an
254 const RecordDecl *RD = cast<RecordDecl>(T
154 isSafeToConvert(QualType T, CodeGenTypes &CGT, llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) argument
[all...]
H A DCodeGenTBAA.cpp179 const RecordDecl *RD = TTy->getDecl()->getDefinition();
191 for (RecordDecl::field_iterator i = RD->field_begin(),
230 const RecordDecl *RD = TTy->getDecl()->getDefinition();
250 const RecordDecl *RD = TTy->getDecl()->getDefinition();
255 for (RecordDecl::field_iterator i = RD->field_begin(),
H A DCGRecordLayoutBuilder.cpp96 CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D);
147 bool isZeroInitializable(const RecordDecl *RD) {
164 void accumulateBitFields(RecordDecl::field_iterator Field,
165 RecordDecl::field_iterator FieldEnd);
185 const RecordDecl *D;
206 CGRecordLowering::CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D)
324 for (RecordDecl::field_iterator Field = D->field_begin(),
328 RecordDecl::field_iterator Start = Field;
341 CGRecordLowering::accumulateBitFields(RecordDecl::field_iterator Field,
342 RecordDecl
[all...]
H A DModuleBuilder.cpp138 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D))
H A DCGDebugInfo.h197 void CollectRecordFields(const RecordDecl *Decl, llvm::DIFile F,
297 void completeType(const RecordDecl *RD);
298 void completeRequiredType(const RecordDecl *RD);
299 void completeClassData(const RecordDecl *RD);
375 CollectAnonRecordDecls(const RecordDecl *RD, llvm::DIFile Unit, unsigned LineNo,
393 StringRef getClassName(const RecordDecl *RD);
/external/lldb/include/lldb/Symbol/
H A DClangExternalASTSourceCallbacks.h38 const clang::RecordDecl *Record,
126 layoutRecordType(const clang::RecordDecl *Record,
/external/clang/lib/AST/
H A DExternalASTSource.cpp46 const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
H A DASTImporter.cpp107 bool ImportDefinition(RecordDecl *From, RecordDecl *To,
123 bool IsStructuralMatch(RecordDecl *FromRecord, RecordDecl *ToRecord,
138 Decl *VisitRecordDecl(RecordDecl *D);
844 RecordDecl *Owner2 = cast<RecordDecl>(Field2->getDeclContext());
851 RecordDecl *D1 = Field1->getType()->castAs<RecordType>()->getDecl();
852 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl();
924 static Optional<unsigned> findAnonymousStructOrUnionIndex(RecordDecl *Ano
[all...]
H A DRecordLayoutBuilder.cpp652 void Layout(const RecordDecl *D);
656 void LayoutFields(const RecordDecl *D);
1222 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D)) {
1251 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D))
1272 void RecordLayoutBuilder::Layout(const RecordDecl *D) {
1344 void RecordLayoutBuilder::LayoutFields(const RecordDecl *D) {
1810 if (const RecordDecl *RD = dyn_cast<RecordDecl>(
[all...]
/external/lldb/source/Symbol/
H A DClangExternalASTSourceCallbacks.cpp145 ClangExternalASTSourceCallbacks::layoutRecordType(const clang::RecordDecl *Record,
H A DClangASTType.cpp697 const RecordDecl *record_decl = record_type->getDecl();
1399 const RecordDecl *record_decl = record_type->getDecl();
2048 const RecordDecl *record_decl = record_type->getDecl();
2080 RecordDecl::field_iterator field, field_end;
2374 RecordDecl *record_decl = record_type->getDecl();
2378 RecordDecl::field_iterator field, field_end;
2664 const RecordDecl *record_decl = record_type->getDecl();
2666 RecordDecl::field_iterator field, field_end;
2942 const RecordDecl *record_decl = record_type->getDecl();
2996 RecordDecl
[all...]
/external/clang/tools/libclang/
H A DCXType.cpp755 static long long visitRecordForValidation(const RecordDecl *RD) {
764 if (const RecordDecl *Child = ChildType->getDecl()) {
780 const RecordDecl *RD =
781 dyn_cast_or_null<RecordDecl>(cxcursor::getCursorDecl(PC));
804 RecordDecl::lookup_const_result Res = RD->lookup(FieldName);
878 const CXXRecordDecl *RecordDecl = T->getAsCXXRecordDecl(); local
879 if (!RecordDecl)
882 dyn_cast<ClassTemplateSpecializationDecl>(RecordDecl);
892 const CXXRecordDecl *RecordDecl = T->getAsCXXRecordDecl(); local
893 if (!RecordDecl)
[all...]
/external/lldb/include/lldb/Core/
H A DClangForward.h101 class RecordDecl;
/external/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp156 LayoutOverrideSource::layoutRecordType(const RecordDecl *Record,
173 for (RecordDecl::field_iterator F = Record->field_begin(),
/external/lldb/include/lldb/Expression/
H A DClangASTSource.h126 /// Specify the layout of the contents of a RecordDecl.
159 layoutRecordType(const clang::RecordDecl *Record,
281 layoutRecordType(const clang::RecordDecl *Record,
/external/clang/include/clang/AST/
H A DDecl.h2257 const RecordDecl *getParent() const {
2258 return cast<RecordDecl>(getDeclContext());
2261 RecordDecl *getParent() {
2262 return cast<RecordDecl>(getDeclContext());
3041 /// RecordDecl - Represents a struct/union/class. For example:
3046 class RecordDecl : public TagDecl {
3073 RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3075 IdentifierInfo *Id, RecordDecl *PrevDecl);
3078 static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
3080 IdentifierInfo *Id, RecordDecl* PrevDec
[all...]
H A DRecordLayout.h24 class RecordDecl;
28 /// This class contains layout information for one RecordDecl,
H A DASTContext.h141 mutable llvm::DenseMap<const RecordDecl*, const ASTRecordLayout*>
231 mutable RecordDecl *CFConstantStringTypeDecl;
256 mutable RecordDecl *BlockDescriptorType;
262 mutable RecordDecl *BlockDescriptorExtendedType;
838 /// \brief Create a new implicit TU-level CXXRecordDecl or RecordDecl
840 RecordDecl *buildImplicitRecord(StringRef Name,
841 RecordDecl::TagKind TK = TTK_Struct) const;
1081 QualType getRecordType(const RecordDecl *Decl) const;
1697 const ASTRecordLayout &getASTRecordLayout(const RecordDecl *D) const;
1698 const ASTRecordLayout *BuildMicrosoftASTRecordLayout(const RecordDecl *
[all...]
/external/clang/include/clang/Sema/
H A DMultiplexExternalSemaSource.h192 layoutRecordType(const RecordDecl *Record,
/external/clang/unittests/ASTMatchers/Dynamic/
H A DRegistryTest.cpp246 Matcher<Decl> RecordDecl = constructMatcher( local
253 EXPECT_FALSE(matches("int Foo;", RecordDecl));
254 EXPECT_TRUE(matches("class Foo {};", RecordDecl));
255 EXPECT_FALSE(matches("void Foo(){};", RecordDecl));

Completed in 285 milliseconds

12345