/external/clang/lib/AST/ |
VTTBuilder.cpp | 57 const CXXRecordDecl *RD = Base.getBase(); 59 for (const auto &I : RD->bases()) { 67 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD); 82 const CXXRecordDecl *RD = Base.getBase(); 86 if (!RD->getNumVBases() && !BaseIsMorallyVirtual) 89 for (const auto &I : RD->bases()) { 114 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD); 151 void VTTBuilder::LayoutVirtualVTTs(const CXXRecordDecl *RD, 153 for (const auto &I : RD->bases()) { 177 const CXXRecordDecl *RD = Base.getBase() [all...] |
MicrosoftCXXABI.cpp | 91 bool isNearlyEmpty(const CXXRecordDecl *RD) const override { 106 getCopyConstructorForExceptionObject(CXXRecordDecl *RD) override { 107 return RecordToCopyCtor[RD]; 111 addCopyConstructorForExceptionObject(CXXRecordDecl *RD, 114 assert(RecordToCopyCtor[RD] == nullptr || RecordToCopyCtor[RD] == CD); 115 RecordToCopyCtor[RD] = CD; 155 static bool usesMultipleInheritanceModel(const CXXRecordDecl *RD) { 156 while (RD->getNumBases() > 0) { 157 if (RD->getNumBases() > 1 [all...] |
NestedNameSpecifier.cpp | 123 CXXRecordDecl *RD) { 127 Mockup.Specifier = RD; 194 CXXRecordDecl *RD = static_cast<CXXRecordDecl *>(Specifier); 195 for (const auto &Base : RD->bases()) 593 CXXRecordDecl *RD, 596 Representation = NestedNameSpecifier::SuperSpecifier(Context, RD);
|
APValue.cpp | 446 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(BaseOrMember)) { 447 CastToBase = RD; 448 ElemTy = Ctx.getRecordType(RD); 495 const RecordDecl *RD = Ty->getAs<RecordType>()->getDecl(); 498 const CXXRecordDecl *CD = cast<CXXRecordDecl>(RD); 508 for (const auto *FI : RD->fields()) {
|
/external/clang/lib/Sema/ |
SemaFixItUtils.cpp | 209 const CXXRecordDecl *RD = T->getAsCXXRecordDecl(); 210 if (!RD || !RD->hasDefinition()) 212 if (LangOpts.CPlusPlus11 && !RD->hasUserProvidedDefaultConstructor()) 214 if (RD->isAggregate())
|
ScopeInfo.cpp | 104 RecordDecl *RD = nullptr; 106 RD = LSI->Lambda; 108 RD = CRSI->TheRecordDecl; 110 if (RD) 111 for (auto *FD : RD->fields()) {
|
SemaCXXScopeSpec.cpp | 256 CXXRecordDecl *RD = nullptr; 260 RD = MD->getParent(); 264 RD = cast<CXXRecordDecl>(S->getEntity()); 269 if (!RD) { 272 } else if (RD->isLambda()) { 275 } else if (RD->getNumBases() == 0) { 276 Diag(SuperLoc, diag::err_no_base_classes) << RD->getName(); 280 SS.MakeSuper(Context, RD, SuperLoc, ColonColonLoc); [all...] |
SemaExceptionSpec.cpp | 43 auto *RD = dyn_cast<CXXRecordDecl>(CurContext); 47 if (!RD || RD->getEnclosingNamespaceContext() != getStdNamespace() || 48 !RD->getIdentifier() || !RD->getDescribedClassTemplate() || 56 return llvm::StringSwitch<bool>(RD->getIdentifier()->getName()) [all...] |
/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()); 72 } else if (RD->hasFlexibleArrayMember()) {
|
LLVMConventionsChecker.cpp | 67 static bool IsClangType(const RecordDecl *RD) { 68 return RD->getName() == "Type" && InNamespace(RD, "clang"); 71 static bool IsClangDecl(const RecordDecl *RD) { 72 return RD->getName() == "Decl" && InNamespace(RD, "clang"); 75 static bool IsClangStmt(const RecordDecl *RD) { 76 return RD->getName() == "Stmt" && InNamespace(RD, "clang"); 79 static bool IsClangAttr(const RecordDecl *RD) { [all...] |
CallAndMessageChecker.cpp | 239 const RecordDecl *RD = RT->getDecl()->getDefinition(); 240 assert(RD && "Referred record has no definition"); 241 for (const auto *I : RD->fields()) {
|
/toolchain/binutils/binutils-2.25/gold/ |
arm-reloc-property.cc | 270 #undef RD 271 #define RD(name, type, deprecated, class, operation, is_implemented, \ 287 #undef RD
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/ |
flags.py | 23 RD = 0x0100 36 'RD' : RD,
|
/frameworks/compile/slang/ |
slang_rs_export_func.cpp | 71 clang::RecordDecl *RD = 90 RD, 99 RD->addDecl(FD); 102 RD->completeDefinition(); 104 clang::QualType T = Ctx.getTagDeclType(RD);
|
slang_rs_export_foreach.cpp | 341 clang::RecordDecl *RD = 350 RD, 359 RD->addDecl(FD); 360 RD->completeDefinition(); 363 clang::QualType T = Ctx.getTagDeclType(RD);
|
/external/clang/lib/CodeGen/ |
CGCXX.cpp | 266 const CXXRecordDecl *RD) { 271 llvm::Value *VTable = CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); 277 CGM.getItaniumVTableContext().getVTableLayout(RD) 278 .getAddressPoint(BaseSubobject(RD, CharUnits::Zero())); 299 const auto *RD = cast<CXXRecordDecl>(RT->getDecl()); 302 return BuildAppleKextVirtualDestructorCall(DD, Dtor_Complete, RD); 304 return ::BuildAppleKextVirtualCall(*this, MD, Ty, RD); 313 const CXXRecordDecl *RD) { 323 return ::BuildAppleKextVirtualCall(*this, GlobalDecl(DD, Type), Ty, RD);
|
CodeGenTBAA.cpp | 178 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 179 if (RD->hasFlexibleArrayMember()) 183 if (const CXXRecordDecl *Decl = dyn_cast<CXXRecordDecl>(RD)) 187 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); 190 for (RecordDecl::field_iterator i = RD->field_begin(), 191 e = RD->field_end(); i != e; ++i, ++idx) { 229 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 230 if (RD->hasFlexibleArrayMember()) 232 // RD can be struct, union, class, interface or enum. 234 if (RD->isStruct() || RD->isClass() [all...] |
CGCXXABI.cpp | 32 bool CGCXXABI::canCopyArgument(const CXXRecordDecl *RD) const { 33 // If RD has a non-trivial move or copy constructor, we cannot copy the 35 if (RD->hasNonTrivialCopyConstructor() || RD->hasNonTrivialMoveConstructor()) 38 // If RD has a non-trivial destructor, we cannot copy the argument. 39 if (RD->hasNonTrivialDestructor()) 48 for (const CXXConstructorDecl *CD : RD->ctors()) { 85 const CXXRecordDecl *RD = 88 CGM.getTypes().arrangeCXXMethodType(RD, FPT, /*FD=*/nullptr)); 290 const CXXRecordDecl *RD = cast<CXXRecordDecl>(MPD->getDeclContext()) [all...] |
CodeGenTypes.cpp | 47 void CodeGenTypes::addRecordTypeName(const RecordDecl *RD, 52 OS << RD->getKindName() << '.'; 56 if (RD->getIdentifier()) { 59 if (RD->getDeclContext()) 60 RD->printQualifiedName(OS); 62 RD->printName(OS); 63 } else if (const TypedefNameDecl *TDD = RD->getTypedefNameForAnonDecl()) { 113 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT, 117 if (!AlreadyChecked.insert(RD).second) 120 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr() [all...] |
ObjectFilePCHContainerOperations.cpp | 189 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D)) 190 Builder->getModuleDebugInfo()->completeRequiredType(RD);
|
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 220 const RecordDecl* RD = cast<RecordDecl>(DC); 221 if (RD->isCompleteDefinition()) 225 Out << *RD; 229 const CXXRecordDecl* RD = cast<CXXRecordDecl>(DC); 230 if (RD->isCompleteDefinition()) 234 Out << *RD << ' ' << DC;
|
/external/clang/lib/StaticAnalyzer/Core/ |
Store.cpp | 224 const CXXRecordDecl *RD = TVR->getValueType()->getAsCXXRecordDecl(); 225 if (!RD) 232 return Expected->getCanonicalDecl() == RD->getCanonicalDecl();
|
SimpleSValBuilder.cpp | 553 const RecordDecl *RD = LeftFD->getParent(); 557 if (RD != RightFD->getParent()) 572 for (const auto *I : RD->fields()) { [all...] |
/external/clang/tools/libclang/ |
CXType.cpp | 759 static long long visitRecordForValidation(const RecordDecl *RD) { 760 for (const auto *I : RD->fields()){ 782 const RecordDecl *RD = 785 if (!RD || RD->isInvalidDecl()) 787 RD = RD->getDefinition(); 788 if (!RD) 790 if (RD->isInvalidDecl()) 799 long long Error = visitRecordForValidation(RD); [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-shape-complex-thai.cc | 90 RD /* Remove descender from base */ 146 case RD: pua_mappings = RD_mappings; break; 211 /*B1*/ {{NOP,B1}, {RD, B2}, {NOP, B1}}, 247 if (action == RD)
|