Home
last modified time | relevance | path

Searched refs:DefinitionData (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DODRDiagsEmitter.h46 const struct CXXRecordDecl::DefinitionData *SecondDD) const;
59 const struct ObjCInterfaceDecl::DefinitionData *SecondDD) const;
78 const struct ObjCProtocolDecl::DefinitionData *SecondDD) const;
H A DDeclCXX.h291 struct DefinitionData { struct
351 DefinitionData(CXXRecordDecl *D); argument
380 struct DefinitionData *DefinitionData; argument
383 struct LambdaDefinitionData : public DefinitionData {
440 : DefinitionData(D), DependencyKind(DK), IsGenericLambda(IsGeneric), in LambdaDefinitionData()
456 struct DefinitionData *dataPtr() const { in dataPtr()
459 return DefinitionData; in dataPtr()
462 struct DefinitionData &data() const { in data()
471 auto *DD = DefinitionData; in getLambdaData()
567 auto *DD = DefinitionData ? DefinitionData : dataPtr(); in getDefinition()
[all …]
H A DDeclObjC.h1161 struct DefinitionData { struct
1229 DefinitionData() in DefinitionData() argument
1243 llvm::PointerIntPair<DefinitionData *, 1, bool> Data;
1254 DefinitionData &data() const { in data()
2083 struct DefinitionData { struct
2103 llvm::PointerIntPair<DefinitionData *, 1, bool> Data; argument
2111 DefinitionData &data() const { in data()
H A DCXXRecordDeclDefinitionBits.def22 /// Name: The name of the field, as a member of CXXRecordDecl::DefinitionData.
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp162 void ReadCXXDefinitionData(struct CXXRecordDecl::DefinitionData &Data,
166 struct CXXRecordDecl::DefinitionData &&NewDD);
167 void ReadObjCDefinitionData(struct ObjCInterfaceDecl::DefinitionData &Data);
169 struct ObjCInterfaceDecl::DefinitionData &&NewDD);
170 void ReadObjCDefinitionData(struct ObjCProtocolDecl::DefinitionData &Data);
172 struct ObjCProtocolDecl::DefinitionData &&NewDD);
1238 struct ObjCInterfaceDecl::DefinitionData &Data) { in ReadObjCDefinitionData()
1271 struct ObjCInterfaceDecl::DefinitionData &&NewDD) { in MergeDefinitionData()
1272 struct ObjCInterfaceDecl::DefinitionData &DD = D->data(); in MergeDefinitionData()
1365 struct ObjCProtocolDecl::DefinitionData &Data) { in ReadObjCDefinitionData()
[all …]
H A DASTWriterDecl.cpp870 ObjCInterfaceDecl::DefinitionData &Data = D->data(); in VisitObjCInterfaceDecl()
H A DASTReader.cpp9824 cast<CXXRecordDecl>(R)->DefinitionData = RD->DefinitionData; in finishPendingActions()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp518 case DefinitionData::IDI_Inherited: in inheritsDesignatedInitializers()
520 case DefinitionData::IDI_NotInherited: in inheritsDesignatedInitializers()
522 case DefinitionData::IDI_Unknown: in inheritsDesignatedInitializers()
527 data().InheritedDesignatedInitializers = DefinitionData::IDI_NotInherited; in inheritsDesignatedInitializers()
532 DefinitionData::IDI_Inherited : in inheritsDesignatedInitializers()
533 DefinitionData::IDI_NotInherited; in inheritsDesignatedInitializers()
536 DefinitionData::IDI_NotInherited; in inheritsDesignatedInitializers()
540 != DefinitionData::IDI_Unknown); in inheritsDesignatedInitializers()
542 DefinitionData::IDI_Inherited; in inheritsDesignatedInitializers()
612 Data.setPointer(new (getASTContext()) DefinitionData()); in allocateDefinitionData()
[all …]
H A DDeclCXX.cpp76 CXXRecordDecl::DefinitionData::DefinitionData(CXXRecordDecl *D) in DefinitionData() function in CXXRecordDecl::DefinitionData
116 CXXBaseSpecifier *CXXRecordDecl::DefinitionData::getBasesSlowCase() const { in getBasesSlowCase()
120 CXXBaseSpecifier *CXXRecordDecl::DefinitionData::getVBasesSlowCase() const { in getVBasesSlowCase()
129 DefinitionData(PrevDecl ? PrevDecl->DefinitionData in CXXRecordDecl()
155 R->DefinitionData = new (C) struct LambdaDefinitionData( in CreateLambda()
499 if (DefinitionData->HasODRHash) in getODRHash()
500 return DefinitionData->ODRHash; in getODRHash()
505 DefinitionData->HasODRHash = true; in getODRHash()
506 DefinitionData->ODRHash = Hash.CalculateHash(); in getODRHash()
508 return DefinitionData->ODRHash; in getODRHash()
[all …]
H A DODRDiagsEmitter.cpp708 const struct CXXRecordDecl::DefinitionData *SecondDD) const { in diagnoseMismatch()
717 const struct CXXRecordDecl::DefinitionData *FirstDD = in diagnoseMismatch()
718 FirstRecord->DefinitionData; in diagnoseMismatch()
744 auto GetSourceRange = [](const struct CXXRecordDecl::DefinitionData *DD) { in diagnoseMismatch()
1930 const struct ObjCInterfaceDecl::DefinitionData *SecondDD) const { in diagnoseMismatch()
1958 const struct ObjCInterfaceDecl::DefinitionData *FirstDD = &FirstID->data(); in diagnoseMismatch()
2117 const struct ObjCProtocolDecl::DefinitionData *SecondDD) const { in diagnoseMismatch()
2124 const ObjCProtocolDecl::DefinitionData *FirstDD = &FirstProtocol->data(); in diagnoseMismatch()
H A DDecl.cpp4729 struct CXXRecordDecl::DefinitionData *Data = in startDefinition()
4730 new (getASTContext()) struct CXXRecordDecl::DefinitionData(D); in startDefinition()
4732 cast<CXXRecordDecl>(I)->DefinitionData = Data; in startDefinition()
H A DASTImporter.cpp2277 struct CXXRecordDecl::DefinitionData &ToData = ToCXX->data(); in ImportDefinition()
2278 struct CXXRecordDecl::DefinitionData &FromData = FromCXX->data(); in ImportDefinition()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h1173 std::pair<CXXRecordDecl *, struct CXXRecordDecl::DefinitionData *>;
1176 struct ObjCInterfaceDecl::DefinitionData *>;
1178 std::pair<ObjCProtocolDecl *, struct ObjCProtocolDecl::DefinitionData *>;