/external/llvm-project/clang/lib/AST/ |
D | ASTImporter.cpp | 222 LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD, in GetImportedOrCreateDecl() argument 228 return GetImportedOrCreateSpecialDecl(ToD, OC, FromD, in GetImportedOrCreateDecl() 238 LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD, in GetImportedOrCreateDecl() argument 241 return GetImportedOrCreateSpecialDecl(ToD, OC, FromD, in GetImportedOrCreateDecl() 249 GetImportedOrCreateSpecialDecl(ToDeclT *&ToD, CreateFunT CreateFun, in GetImportedOrCreateSpecialDecl() argument 252 ToD = nullptr; in GetImportedOrCreateSpecialDecl() 255 ToD = cast_or_null<ToDeclT>(Importer.GetAlreadyImportedOrNull(FromD)); in GetImportedOrCreateSpecialDecl() 256 if (ToD) in GetImportedOrCreateSpecialDecl() 258 ToD = CreateFun(std::forward<Args>(args)...); in GetImportedOrCreateSpecialDecl() 260 Importer.RegisterImportedDecl(FromD, ToD); in GetImportedOrCreateSpecialDecl() [all …]
|
/external/clang/lib/Frontend/ |
D | ASTMerge.cpp | 69 Decl *ToD = Importer.Import(D); in ExecuteAction() local 71 if (ToD) { in ExecuteAction() 72 DeclGroupRef DGR(ToD); in ExecuteAction()
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 85 NamedDecl *&ToD, SourceLocation &Loc); 86 void ImportDefinitionIfNeeded(Decl *FromD, Decl *ToD = nullptr); 2001 NamedDecl *&ToD, in ImportDeclParts() argument 2022 ToD = cast_or_null<NamedDecl>(Importer.GetAlreadyImportedOrNull(D)); in ImportDeclParts() 2026 void ASTNodeImporter::ImportDefinitionIfNeeded(Decl *FromD, Decl *ToD) { in ImportDefinitionIfNeeded() argument 2030 if (!ToD) { in ImportDefinitionIfNeeded() 2031 ToD = Importer.Import(FromD); in ImportDefinitionIfNeeded() 2032 if (!ToD) in ImportDefinitionIfNeeded() 2037 if (RecordDecl *ToRecord = cast_or_null<RecordDecl>(ToD)) { in ImportDefinitionIfNeeded() 2046 if (EnumDecl *ToEnum = cast_or_null<EnumDecl>(ToD)) { in ImportDefinitionIfNeeded() [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | ASTImporter.h | 292 void AddToLookupTable(Decl *ToD); 395 TranslationUnitDecl *GetFromTU(Decl *ToD); 401 llvm::Optional<DeclT *> getImportedFromDecl(const DeclT *ToD) const { in getImportedFromDecl() argument 402 auto FromI = ImportedFromDecls.find(ToD); in getImportedFromDecl() 580 void RegisterImportedDecl(Decl *FromD, Decl *ToD);
|
D | ASTImporterSharedState.h | 67 llvm::Optional<ImportError> getImportDeclErrorIfAny(Decl *ToD) const { in getImportDeclErrorIfAny() argument 68 auto Pos = ImportErrors.find(ToD); in getImportDeclErrorIfAny()
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterODRStrategiesTest.cpp | 261 auto *ToD = FirstDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportAfter() local 268 ResultChecker(Result, ToTU, ToD); in TypedTest_ImportAfter() 274 Decl *ToD) { in CheckImportedAsNew() 278 EXPECT_NE(ImportedD, ToD); in CheckImportedAsNew() 292 Decl *ToTU, Decl *ToD) { in CheckImportNameConflict() 299 Decl *ToTU, Decl *ToD) { in CheckImportFoundExisting()
|
D | ASTImporterGenericRedeclTest.cpp | 191 auto *ToD = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition() local 192 EXPECT_TRUE(ImportedD == ToD); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition() 193 EXPECT_FALSE(ToD->isThisDeclarationADefinition()); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition() 194 if (auto *ToT = dyn_cast<TemplateDecl>(ToD)) { in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition() 208 auto *ToD = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_DefinitionShouldBeImportedAsADefinition() local 209 EXPECT_TRUE(ToD->isThisDeclarationADefinition()); in TypedTest_DefinitionShouldBeImportedAsADefinition() 210 if (auto *ToT = dyn_cast<TemplateDecl>(ToD)) { in TypedTest_DefinitionShouldBeImportedAsADefinition()
|
D | ASTImporterTest.cpp | 1559 auto ToD = Import(FromD, Lang_CXX03); in TEST_P() local 1561 auto ToLHS = LastDeclMatcher<DeclRefExpr>().match(ToD, declRefExpr()); in TEST_P() 1563 auto ToRHS = LastDeclMatcher<IntegerLiteral>().match(ToD, integerLiteral()); in TEST_P() 1569 CompareSourceRanges(ToD->getSourceRange(), FromD->getSourceRange(), ToSM, in TEST_P() 1586 auto ToD = Import(FromD, Lang_CXX03); in TEST_P() local 1590 CompareSourceRanges(ToD->getSourceRange(), FromD->getSourceRange(), ToSM, in TEST_P() 2072 auto *ToD = FirstDeclMatcher<CXXRecordDecl>().match( in TEST_P() local 2091 EXPECT_EQ(ToDFOutOfClass->getDeclContext(), ToD); in TEST_P() 2169 auto *ToD = Import(FromD, Lang_CXX03); in TEST_P() local 2170 EXPECT_TRUE(ToD); in TEST_P() [all …]
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 3098 Decl *ToD) { in inheritDefaultTemplateArgument() argument 3099 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 3651 Decl *ToD) { in inheritDefaultTemplateArgument() argument 3652 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()
|
/external/toolchain-utils/android_bench_suite/panorama_input/ |
D | test_003.ppm | 9525 …E`3F`5F`5C^3Hb7<W,Lg<7V,OmCStF_R?a1=_/=],?_.Mm<Ih7Cb1Ji8VqB:V&A]/=Y,4O#E`5ToD<W,:V(1M ; :T"3M)D…
|
D | test_007.ppm | 8975 …8=Y,?[.4P"6P%F`5Mi<1M /K7S&!</J'B"='B:T)ToD^xM4O#(C,F=X-RlAE_4^xKLg:Kf8Hb5-E=V)Kd7F_3D]0…
|