Home
last modified time | relevance | path

Searched refs:overrideFileContents (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/clang/unittests/Basic/
DSourceManagerTest.cpp172 SourceMgr.overrideFileContents(SourceFile, std::move(Buf)); in TEST_F()
176 SourceMgr.overrideFileContents(HeaderFile, std::move(HeaderBuf)); in TEST_F()
292 SourceMgr.overrideFileContents(headerFile, std::move(HeaderBuf)); in TEST_F()
416 SourceMgr.overrideFileContents(headerFile, std::move(HeaderBuf)); in TEST_F()
501 SourceMgr.overrideFileContents(SourceFile, std::move(Buf)); in TEST_F()
507 SourceMgr.overrideFileContents(SecondFile, std::move(Buf2)); in TEST_F()
/external/llvm-project/clang-tools-extra/unittests/include/common/
DVirtualFileHelper.h65 SM.overrideFileContents(Entry, std::move(Buf)); in mapVirtualFiles()
/external/llvm-project/clang/unittests/Frontend/
DTextDiagnosticTest.cpp58 SrcMgr.overrideFileContents(&fe, std::move(file_contents)); in TEST()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp198 SourceMgr.overrideFileContents(headerFile, std::move(HeaderBuf)); in TEST_F()
298 SourceMgr.overrideFileContents(headerFile, std::move(HeaderBuf)); in TEST_F()
/external/clang/include/clang/Basic/
DSourceManager.h844 void overrideFileContents(const FileEntry *SourceFile,
846 void overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() function
848 overrideFileContents(SourceFile, Buffer.release(), /*DoNotFree*/ false); in overrideFileContents()
857 void overrideFileContents(const FileEntry *SourceFile,
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h947 void overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() function
949 overrideFileContents(SourceFile, llvm::MemoryBuffer::getMemBuffer(Buffer)); in overrideFileContents()
959 void overrideFileContents(const FileEntry *SourceFile,
968 void overrideFileContents(const FileEntry *SourceFile,
/external/llvm-project/clang/lib/Frontend/
DCompilerInstance.cpp354 SourceMgr.overrideFileContents(FromFile, RB.second->getMemBufferRef()); in InitializeFileRemapping()
356 SourceMgr.overrideFileContents( in InitializeFileRemapping()
380 SourceMgr.overrideFileContents(FromFile, *ToFile); in InitializeFileRemapping()
873 SourceMgr.overrideFileContents(FE, std::move(*MB)); in InitializeSourceManager()
898 SourceMgr.overrideFileContents(File, std::move(SB)); in InitializeSourceManager()
1260 Instance.getSourceManager().overrideFileContents( in compileModule()
2095 Other.getSourceManager().overrideFileContents( in createModuleFromSource()
/external/clang/lib/Frontend/
DCompilerInstance.cpp266 SourceMgr.overrideFileContents(FromFile, RB.second, in InitializeFileRemapping()
289 SourceMgr.overrideFileContents(FromFile, ToFile); in InitializeFileRemapping()
791 SourceMgr.overrideFileContents(File, std::move(*MB)); in InitializeSourceManager()
814 SourceMgr.overrideFileContents(File, std::move(SB)); in InitializeSourceManager()
1029 SourceMgr.overrideFileContents(ModuleMapFile, std::move(ModuleMapBuffer)); in compileModuleImpl()
/external/clang/lib/Lex/
DPreprocessor.cpp426 SourceMgr.overrideFileContents(File, std::move(NewBuffer)); in SetCodeCompletionPoint()
/external/clang/lib/Basic/
DSourceManager.cpp641 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() function in SourceManager
653 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() function in SourceManager
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp680 void SourceManager::overrideFileContents( in overrideFileContents() function in SourceManager
690 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() function in SourceManager
/external/llvm-project/clang/lib/Lex/
DPreprocessor.cpp442 SourceMgr.overrideFileContents(File, std::move(NewBuffer)); in SetCodeCompletionPoint()
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp5813 FromSM.overrideFileContents(&FE, std::move(FileContents)); in TEST_P()
/external/clang/lib/Serialization/
DASTReader.cpp1303 SourceMgr.overrideFileContents(File, std::move(Buffer)); in ReadSLocEntry()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp1543 SourceMgr.overrideFileContents(File, std::move(Buffer)); in ReadSLocEntry()