Home
last modified time | relevance | path

Searched refs:RemappedFile (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang/unittests/Frontend/
DPCHPreambleTest.cpp117 for (const auto &RemappedFile : RemappedFiles) { in GetRemappedFiles() local
119 RemappedFile.second, RemappedFile.first()); in GetRemappedFiles()
120 Remapped.emplace_back(std::string(RemappedFile.first()), buf.release()); in GetRemappedFiles()
/external/llvm-project/clang/include/clang/Frontend/
DASTUnit.h662 using RemappedFile = std::pair<std::string, llvm::MemoryBuffer *>; variable
695 bool OnlyLocalDecls = false, ArrayRef<RemappedFile> RemappedFiles = None,
823 ArrayRef<RemappedFile> RemappedFiles = None,
851 ArrayRef<RemappedFile> RemappedFiles = None,
880 ArrayRef<RemappedFile> RemappedFiles, bool IncludeMacros,
/external/clang/include/clang/Frontend/
DASTUnit.h710 typedef std::pair<std::string, llvm::MemoryBuffer *> RemappedFile; typedef
732 bool OnlyLocalDecls = false, ArrayRef<RemappedFile> RemappedFiles = None,
846 ArrayRef<RemappedFile> RemappedFiles = None,
863 ArrayRef<RemappedFile> RemappedFiles = None);
886 ArrayRef<RemappedFile> RemappedFiles, bool IncludeMacros,
/external/clang/lib/Frontend/
DASTUnit.cpp656 bool OnlyLocalDecls, ArrayRef<RemappedFile> RemappedFiles, in LoadFromASTFile()
689 for (const auto &RemappedFile : RemappedFiles) in LoadFromASTFile() local
690 PPOpts->addRemappedFile(RemappedFile.first, RemappedFile.second); in LoadFromASTFile()
1943 ArrayRef<RemappedFile> RemappedFiles, bool RemappedFilesKeepOriginalName, in LoadFromCommandLine()
1968 for (const auto &RemappedFile : RemappedFiles) { in LoadFromCommandLine() local
1969 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine()
1970 RemappedFile.second); in LoadFromCommandLine()
2030 ArrayRef<RemappedFile> RemappedFiles) { in Reparse()
2045 for (const auto &RemappedFile : RemappedFiles) { in Reparse() local
2046 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in Reparse()
[all …]
/external/llvm-project/clang/lib/Frontend/
DASTUnit.cpp761 bool OnlyLocalDecls, ArrayRef<RemappedFile> RemappedFiles, in LoadFromASTFile()
796 for (const auto &RemappedFile : RemappedFiles) in LoadFromASTFile() local
797 AST->PPOpts->addRemappedFile(RemappedFile.first, RemappedFile.second); in LoadFromASTFile()
1734 ArrayRef<RemappedFile> RemappedFiles, bool RemappedFilesKeepOriginalName, in LoadFromCommandLine()
1759 for (const auto &RemappedFile : RemappedFiles) { in LoadFromCommandLine() local
1760 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine()
1761 RemappedFile.second); in LoadFromCommandLine()
1827 ArrayRef<RemappedFile> RemappedFiles, in Reparse()
1848 for (const auto &RemappedFile : RemappedFiles) { in Reparse() local
1849 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in Reparse()
[all …]
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp680 SmallVector<ASTUnit::RemappedFile, 4> RemappedFiles; in clang_codeCompleteAt_Impl()
DCIndex.cpp3218 std::unique_ptr<std::vector<ASTUnit::RemappedFile>> RemappedFiles( in clang_parseTranslationUnit_Impl()
3219 new std::vector<ASTUnit::RemappedFile>()); in clang_parseTranslationUnit_Impl()
3223 std::vector<ASTUnit::RemappedFile> > RemappedCleanup(RemappedFiles.get()); in clang_parseTranslationUnit_Impl()
3805 std::unique_ptr<std::vector<ASTUnit::RemappedFile>> RemappedFiles( in clang_reparseTranslationUnit_Impl()
3806 new std::vector<ASTUnit::RemappedFile>()); in clang_reparseTranslationUnit_Impl()
3810 std::vector<ASTUnit::RemappedFile> > RemappedCleanup(RemappedFiles.get()); in clang_reparseTranslationUnit_Impl()
/external/llvm-project/clang/tools/libclang/
DCIndexCodeCompletion.cpp722 SmallVector<ASTUnit::RemappedFile, 4> RemappedFiles; in clang_codeCompleteAt_Impl()
DCIndex.cpp3560 std::unique_ptr<std::vector<ASTUnit::RemappedFile>> RemappedFiles( in clang_parseTranslationUnit_Impl()
3561 new std::vector<ASTUnit::RemappedFile>()); in clang_parseTranslationUnit_Impl()
3564 llvm::CrashRecoveryContextCleanupRegistrar<std::vector<ASTUnit::RemappedFile>> in clang_parseTranslationUnit_Impl()
4211 std::unique_ptr<std::vector<ASTUnit::RemappedFile>> RemappedFiles( in clang_reparseTranslationUnit_Impl()
4212 new std::vector<ASTUnit::RemappedFile>()); in clang_reparseTranslationUnit_Impl()
4215 llvm::CrashRecoveryContextCleanupRegistrar<std::vector<ASTUnit::RemappedFile>> in clang_reparseTranslationUnit_Impl()
/external/llvm-project/clang/lib/CodeGen/
DCGDebugInfo.cpp445 std::string RemappedFile = remapDIPath(FileName); in createFile() local
449 if (llvm::sys::path::is_absolute(RemappedFile)) { in createFile()
452 auto FileIt = llvm::sys::path::begin(RemappedFile); in createFile()
453 auto FileE = llvm::sys::path::end(RemappedFile); in createFile()
462 File = RemappedFile; in createFile()
471 File = RemappedFile; in createFile()