Home
last modified time | relevance | path

Searched refs:ToLang (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterFixtures.cpp116 void ASTImporterTestBase::lazyInitToAST(TestLanguage ToLang, in lazyInitToAST() argument
121 std::vector<std::string> ToArgs = getCommandLineArgsForLanguage(ToLang); in lazyInitToAST()
143 TestLanguage ToLang, StringRef Identifier) { in getImportedDecl() argument
145 std::vector<std::string> ToArgs = getCommandLineArgsForLanguage(ToLang); in getImportedDecl()
152 lazyInitToAST(ToLang, ToSrcCode, OutputFileName); in getImportedDecl()
191 lazyInitToAST(ToLang, ToSrcCode, OutputFileName); in getToTuDecl()
195 Decl *ASTImporterTestBase::Import(Decl *From, TestLanguage ToLang) { in Import() argument
196 lazyInitToAST(ToLang, "", OutputFileName); in Import()
205 lazyInitToAST(ToLang, "", OutputFileName); in importOrError()
214 TestLanguage ToLang) { in ImportType() argument
[all …]
H A DASTImporterFixtures.h149 void lazyInitToAST(TestLanguage ToLang, StringRef ToSrcCode,
167 StringRef ToSrcCode, TestLanguage ToLang,
177 TranslationUnitDecl *getToTuDecl(StringRef ToSrcCode, TestLanguage ToLang);
182 Decl *Import(Decl *From, TestLanguage ToLang);
190 llvm::Expected<Decl *> importOrError(Decl *From, TestLanguage ToLang);
192 QualType ImportType(QualType FromType, Decl *TUDecl, TestLanguage ToLang);
313 const std::string &ToCode, TestLanguage ToLang, in testImport() argument
317 std::vector<std::string> ToArgs = getCommandLineArgsForLanguage(ToLang); in testImport()