HomeSort by relevance Sort by last modified time
    Searched full:recorddecl (Results 1 - 25 of 136) sorted by null

1 2 3 4 5 6

  /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())))))));
  /external/clang/unittests/ASTMatchers/
ASTMatchersTest.cpp 25 DeclarationMatcher HasEmptyName = recordDecl(hasName(""));
32 DeclarationMatcher HasEmptyName = recordDecl(matchesName(""));
39 DeclarationMatcher IsDerivedFromEmpty = recordDecl(isDerivedFrom(""));
108 DeclarationMatcher ClassMatcher(recordDecl());
117 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X")));
125 DeclarationMatcher IsDerivedFromX = recordDecl(isDerivedFrom("X"));
133 DeclarationMatcher IsAX = recordDecl(isSameOrDerivedFrom("X"));
142 recordDecl(hasName("Z"), isDerivedFrom("X"));
261 recordDecl(isDerivedFrom(recordDecl(hasName("Some"))))))
    [all...]
  /external/clang/unittests/ASTMatchers/Dynamic/
RegistryTest.cpp 218 specifiesType(hasDeclaration(recordDecl(hasName("A")))))))
235 constructMatcher("recordDecl", IsDefinition).getTypedMatcher<Decl>();
246 Matcher<Decl> RecordDecl = constructMatcher(
247 "recordDecl", constructMatcher("hasName", std::string("Foo")),
253 EXPECT_FALSE(matches("int Foo;", RecordDecl));
254 EXPECT_TRUE(matches("class Foo {};", RecordDecl));
255 EXPECT_FALSE(matches("void Foo(){};", RecordDecl));
316 "recordDecl",
319 constructMatcher("recordDecl",
348 constructMatcher("recordDecl",
    [all...]
VariantValueTest.cpp 60 Value = VariantMatcher::SingleMatcher(recordDecl());
85 Value = VariantMatcher::SingleMatcher(recordDecl());
129 recordDecl(hasName("X"))))
  /external/clang/tools/libclang/
CXType.cpp 758 static long long visitRecordForValidation(const RecordDecl *RD) {
767 if (const RecordDecl *Child = ChildType->getDecl()) {
781 const RecordDecl *RD =
782 dyn_cast_or_null<RecordDecl>(cxcursor::getCursorDecl(PC));
816 const RecordDecl *RD =
817 dyn_cast_or_null<RecordDecl>(cxcursor::getCursorDecl(PC));
820 RecordDecl::lookup_result Res = RD->lookup(FieldName);
913 const CXXRecordDecl *RecordDecl = T->getAsCXXRecordDecl();
914 if (!RecordDecl)
917 dyn_cast<ClassTemplateSpecializationDecl>(RecordDecl);
    [all...]
  /external/lldb/source/Expression/
ASTStructExtractor.cpp 71 RecordDecl *struct_decl = NULL;
86 RecordDecl *candidate_record_decl = dyn_cast<RecordDecl>(candidate_decl);
128 RecordDecl::decl_iterator decl_iterator;
  /external/clang/lib/CodeGen/
CodeGenTypes.h 47 class RecordDecl;
144 /// RecordDecl.
162 SmallVector<const RecordDecl *, 8> DeferredRecords;
205 const CGRecordLayout &getCGRecordLayout(const RecordDecl*);
289 CGRecordLayout *ComputeRecordLayout(const RecordDecl *D,
294 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty,
300 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
CodeGenTBAA.cpp 179 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(),
CodeGenTypes.cpp 48 void CodeGenTypes::addRecordTypeName(const RecordDecl *RD,
107 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked);
114 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT,
115 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) {
156 llvm::SmallPtrSet<const RecordDecl*, 16> &AlreadyChecked) {
177 static bool isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT) {
181 llvm::SmallPtrSet<const RecordDecl*, 16> AlreadyChecked;
258 // If we completed a RecordDecl that we previously used and converted to an
260 const RecordDecl *RD = cast<RecordDecl>(TD)
    [all...]
CGDebugInfo.h 193 const RecordDecl* RD = nullptr);
201 const RecordDecl* RD);
205 llvm::DIType RecordTy, const RecordDecl *RD);
206 void CollectRecordFields(const RecordDecl *Decl, llvm::DIFile F,
304 void completeType(const RecordDecl *RD);
305 void completeRequiredType(const RecordDecl *RD);
306 void completeClassData(const RecordDecl *RD);
390 CollectAnonRecordDecls(const RecordDecl *RD, llvm::DIFile Unit,
408 StringRef getClassName(const RecordDecl *RD);
CGRecordLayoutBuilder.cpp 96 CGRecordLowering(CodeGenTypes &Types, const RecordDecl *D, bool Packed);
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, bool Packed)
339 for (RecordDecl::field_iterator Field = D->field_begin(),
343 RecordDecl::field_iterator Start = Field;
356 CGRecordLowering::accumulateBitFields(RecordDecl::field_iterator Field,
357 RecordDecl::field_iterator FieldEnd)
    [all...]
  /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
  /external/clang/lib/StaticAnalyzer/Checkers/
CastSizeChecker.cpp 55 const RecordDecl *RD = RT->getDecl();
56 RecordDecl::field_iterator Iter(RD->field_begin());
57 RecordDecl::field_iterator End(RD->field_end());
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) {
253 const RecordDecl *RD = RT->getDecl()->getDefinition();
  /external/clang/include/clang/AST/
ASTImporter.h 275 /// \brief Called by StructuralEquivalenceContext. If a RecordDecl is
276 /// being compared to another RecordDecl as part of import, completing the
277 /// other RecordDecl may trigger importation of the first RecordDecl. This
279 /// RecordDecl can be found, we can complete it without the need for
  /external/clang/include/clang/ASTMatchers/
ASTMatchers.h 17 // recordDecl(hasName("MyClass"))
28 // recordDecl(hasName("MyClass"), hasChild(id("child", recordDecl())))
173 /// Example matches X but not Y (matcher = recordDecl(isExpansionInMainFile())
194 /// (matcher = recordDecl(isExpansionInSystemHeader())
219 /// (matcher = recordDecl(isExpansionInFileMatching("AST.*"))
304 CXXRecordDecl> recordDecl;
    [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
  /external/lldb/include/lldb/Core/
ClangForward.h 101 class RecordDecl;
  /frameworks/compile/slang/
slang_rs_export_type.cpp 173 const clang::RecordDecl *TopLevelRecord);
178 const clang::RecordDecl *TopLevelRecord,
200 const clang::RecordDecl *TopLevelRecord) {
248 clang::RecordDecl const *TopLevelRecord) {
278 clang::RecordDecl *RD = T->getAsStructureType()->getDecl();
305 for (clang::RecordDecl::field_iterator FI = RD->field_begin(),
459 clang::RecordDecl *UnionDecl,
491 clang::RecordDecl *RD = nullptr;
520 for (clang::RecordDecl::field_iterator FI = RD->field_begin(),
731 clang::RecordDecl *RD
    [all...]
slang_rs_export_func.cpp 71 clang::RecordDecl *RD =
72 clang::RecordDecl::Create(Ctx, clang::TTK_Struct,
  /external/lldb/include/lldb/Symbol/
ClangExternalASTSourceCallbacks.h 38 const clang::RecordDecl *Record,
126 layoutRecordType(const clang::RecordDecl *Record,
  /external/clang/lib/AST/
ASTImporter.cpp 108 bool ImportDefinition(RecordDecl *From, RecordDecl *To,
124 bool IsStructuralMatch(RecordDecl *FromRecord, RecordDecl *ToRecord,
139 Decl *VisitRecordDecl(RecordDecl *D);
    [all...]
ExternalASTSource.cpp 46 const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,

Completed in 644 milliseconds

1 2 3 4 5 6