/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; 203 CXXRecordDecl *RD = static_cast<CXXRecordDecl *>(Specifier); 204 for (const auto &Base : RD->bases()) 607 CXXRecordDecl *RD, 610 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 | 107 RecordDecl *RD = nullptr; 109 RD = LSI->Lambda; 111 RD = CRSI->TheRecordDecl; 113 if (RD) 114 for (auto *FD : RD->fields()) {
|
SemaCXXScopeSpec.cpp | 281 CXXRecordDecl *RD = nullptr; 285 RD = MD->getParent(); 289 RD = cast<CXXRecordDecl>(S->getEntity()); 294 if (!RD) { 297 } else if (RD->isLambda()) { 300 } else if (RD->getNumBases() == 0) { 301 Diag(SuperLoc, diag::err_no_base_classes) << RD->getName(); 305 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
|
/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 | 347 clang::RecordDecl *RD = 356 RD, 365 RD->addDecl(FD); 366 RD->completeDefinition(); 369 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 | 182 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 183 if (RD->hasFlexibleArrayMember()) 187 if (const CXXRecordDecl *Decl = dyn_cast<CXXRecordDecl>(RD)) 191 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); 194 for (RecordDecl::field_iterator i = RD->field_begin(), 195 e = RD->field_end(); i != e; ++i, ++idx) { 233 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 234 if (RD->hasFlexibleArrayMember()) 236 // RD can be struct, union, class, interface or enum. 238 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 | 224 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D)) 225 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();
|
/external/clang/unittests/ASTMatchers/ |
ASTMatchersNarrowingTest.cpp | 260 auto RD = internal::Matcher<RecordDecl>(Name).dynCastTo<Decl>(); 261 // Matching VD first should not make a cache hit for RD. 263 decl(hasDescendant(VD), hasDescendant(RD)))); 265 decl(hasDescendant(RD), hasDescendant(VD)))); 266 // Not matching RD first should not make a cache hit for VD either. 268 decl(anyOf(hasDescendant(RD), hasDescendant(VD))))); [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/Disassembler/ |
MBlazeDisassembler.cpp | 525 unsigned RD = getRD(insn); 536 if (RD == UNSUPPORTED || RA == UNSUPPORTED || RB == UNSUPPORTED) 538 instr.addOperand(MCOperand::CreateReg(RD)); 544 if (RD == UNSUPPORTED || RA == UNSUPPORTED || RB == UNSUPPORTED) 546 instr.addOperand(MCOperand::CreateReg(RD)); 556 if (RD == UNSUPPORTED) 558 instr.addOperand(MCOperand::CreateReg(RD)); 569 if (RD == UNSUPPORTED) 571 instr.addOperand(MCOperand::CreateReg(RD)); 578 if (RD == UNSUPPORTED || RA == UNSUPPORTED [all...] |
/cts/tests/tests/location/src/android/location/cts/psedorange/ |
TroposphericModelEgnos.java | 83 private static final double RD = 287.054; 269 double zenithDryDelayAtSeaLevelSeconds = (1.0e-6 * K1 * RD * pressureMbar) / GM; 270 double zenithWetDelayAtSeaLevelSeconds = (((1.0e-6 * K2 * RD) 271 / (GM * (lambda + 1.0) - beta * RD)) * (waterVaporPressureMbar / tempKelvin)); 274 double powerDry = (GRAVITY_MPS2 / (RD * beta)); 275 double powerWet = (((lambda + 1.0) * GRAVITY_MPS2) / (RD * beta)) - 1.0;
|
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/ |
DnsImpl.h | 139 UINT16 RD:1;
[all...] |