Home
last modified time | relevance | path

Searched refs:BaseRecord (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp173 if (auto *BaseRecord = cast_if_present<CXXRecordDecl>( in lookupInBases() local
175 isCurrentInstantiation = BaseRecord->isDependentContext() && in lookupInBases()
176 BaseRecord->isCurrentInstantiation(Record); in lookupInBases()
253 CXXRecordDecl *BaseRecord = nullptr; in lookupInBases() local
259 BaseRecord = cast<CXXRecordDecl>(RT->getDecl()); in lookupInBases()
264 BaseRecord = TD->getTemplatedDecl(); in lookupInBases()
266 if (BaseRecord) { in lookupInBases()
267 if (!BaseRecord->hasDefinition()) in lookupInBases()
268 BaseRecord = nullptr; in lookupInBases()
269 else if (!VisitedDependentRecords.insert(BaseRecord).second) in lookupInBases()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h146 class BaseRecord {
148 BaseRecord(const Record *Def) : Def(Def) {} in BaseRecord() function
232 class Directive : public BaseRecord {
234 Directive(const Record *Def) : BaseRecord(Def) {} in Directive()
274 return BaseRecord::getUpperCamelName(Name, " _"); in getClangAccSpelling()
280 class Clause : public BaseRecord {
282 Clause(const Record *Def) : BaseRecord(Def) {} in Clause()
301 return BaseRecord::getUpperCamelName(Name, "_"); in getFormattedParserClassName()
313 return BaseRecord::getUpperCamelName(Name, "_"); in getClangAccSpelling()
367 class EnumVal : public BaseRecord {
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DMemberPointer.cpp29 const Record *BaseRecord = CastedBase.getRecord(); in toPointer() local
30 if (!BaseRecord) in toPointer()
37 if (FD->getParent() == BaseRecord->getDecl()) in toPointer()
38 return CastedBase.atField(BaseRecord->getField(FD)->Offset); in toPointer()
62 assert(BaseRecord); in toPointer()
H A DPointer.cpp271 const Record *BaseRecord = Ptr.getRecord(); in toAPValue() local
274 cast<CXXRecordDecl>(BaseRecord->getDecl())); in toAPValue()
H A DInterpBuiltin.cpp2147 const Record *BaseRecord = P.getRecord(); in computePointerOffset() local
2150 ASTCtx.getASTRecordLayout(cast<CXXRecordDecl>(BaseRecord->getDecl())); in computePointerOffset()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DDirectiveEmitter.cpp77 return Prefix.str() + BaseRecord(Rec).getFormattedName(); in getIdentifierName()
86 BaseRecord Rec(R); in getSpellings()
408 BaseRecord Rec(R); in generateGetName()
449 BaseRecord DefaultRec(*DefaultIt); in generateGetKind()
467 BaseRecord Rec(R); in generateGetKind()
914 OS << "SourceLanguage::" << BaseRecord::getSnakeName(N); in generateGetDirectiveLanguages()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTypeTraits.cpp1651 const RecordType *BaseRecord = LhsT->getAs<RecordType>(); in EvaluateBinaryTypeTrait() local
1654 if (!BaseRecord || !DerivedRecord) { in EvaluateBinaryTypeTrait()
1662 if (BaseRecord->isUnionType() || DerivedRecord->isUnionType()) in EvaluateBinaryTypeTrait()
1665 if (!BaseRecord->isStructureOrClassType() || in EvaluateBinaryTypeTrait()
1674 ->isVirtuallyDerivedFrom(cast<CXXRecordDecl>(BaseRecord->getDecl())); in EvaluateBinaryTypeTrait()
H A DSemaExprMember.cpp621 CXXRecordDecl *BaseRecord = in CheckQualifiedMemberReference() local
623 if (!BaseRecord) { in CheckQualifiedMemberReference()
642 if (BaseRecord->getCanonicalDecl() == MemberRecord || in CheckQualifiedMemberReference()
643 !BaseRecord->isProvablyNotDerivedFrom(MemberRecord)) in CheckQualifiedMemberReference()
H A DSemaLookup.cpp2532 CXXRecordDecl *BaseRecord = Specifier->getType()->getAsCXXRecordDecl(); in LookupQualifiedName() local
2535 for (Path.Decls = BaseRecord->lookup(Name).begin(); in LookupQualifiedName()
H A DSemaDecl.cpp9046 CXXRecordDecl *BaseRecord = Specifier->getType()->getAsCXXRecordDecl(); in AddOverriddenMethods() local
9051 QualType T = Context.getTypeDeclType(BaseRecord); in AddOverriddenMethods()
9056 for (NamedDecl *BaseND : BaseRecord->lookup(Name)) { in AddOverriddenMethods()
H A DSemaDeclCXX.cpp10435 RecordDecl *BaseRecord = in operator ()() local
10443 for (Path.Decls = BaseRecord->lookup(Name).begin(); in operator ()()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h1692 CXXBasePath &Path, const CXXRecordDecl *BaseRecord);
1705 const CXXRecordDecl *BaseRecord);