Searched refs:overrideFileContents (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang/unittests/Basic/ |
| H A D | SourceManagerTest.cpp | 74 SourceMgr.overrideFileContents(BuiltInFile, std::move(BuiltInBuf)); in TEST_F() 87 SourceMgr.overrideFileContents(CommandLineFile, std::move(CommandLineBuf)); in TEST_F() 100 SourceMgr.overrideFileContents(ScratchSpaceFile, std::move(ScratchSpaceBuf)); in TEST_F() 239 SourceMgr.overrideFileContents(SourceFile, std::move(Buf)); in TEST_F() 243 SourceMgr.overrideFileContents(HeaderFile, std::move(HeaderBuf)); in TEST_F() 359 SourceMgr.overrideFileContents(headerFile, std::move(HeaderBuf)); in TEST_F() 483 SourceMgr.overrideFileContents(headerFile, std::move(HeaderBuf)); in TEST_F() 568 SourceMgr.overrideFileContents(SourceFile, std::move(Buf)); in TEST_F() 574 SourceMgr.overrideFileContents(SecondFile, std::move(Buf2)); in TEST_F()
|
| H A D | SarifTest.cpp | 66 SourceMgr.overrideFileContents(SourceFile, std::move(SourceBuf)); in registerSource()
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/include/common/ |
| H A D | VirtualFileHelper.h | 65 SM.overrideFileContents(Entry, std::move(Buf)); in mapVirtualFiles()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 952 void overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() function 954 overrideFileContents(SourceFile, llvm::MemoryBuffer::getMemBuffer(Buffer)); in overrideFileContents() 964 void overrideFileContents(const FileEntry *SourceFile, 966 void overrideFileContents(FileEntryRef SourceFile, in overrideFileContents() function 968 overrideFileContents(&SourceFile.getFileEntry(), std::move(Buffer)); in overrideFileContents() 977 void overrideFileContents(const FileEntry *SourceFile,
|
| /llvm-project-15.0.7/clang/unittests/Frontend/ |
| H A D | TextDiagnosticTest.cpp | 58 SrcMgr.overrideFileContents(fe, std::move(file_contents)); in TEST()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 412 SourceMgr.overrideFileContents(FromFile, RB.second->getMemBufferRef()); in InitializeFileRemapping() 414 SourceMgr.overrideFileContents( in InitializeFileRemapping() 438 SourceMgr.overrideFileContents(FromFile, *ToFile); in InitializeFileRemapping() 1335 Instance.getSourceManager().overrideFileContents( in compileModule() 2161 Other.getSourceManager().overrideFileContents( in createModuleFromSource()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 687 void SourceManager::overrideFileContents( in overrideFileContents() function in SourceManager 697 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() function in SourceManager
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | Preprocessor.cpp | 452 SourceMgr.overrideFileContents(File, std::move(NewBuffer)); in SetCodeCompletionPoint()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 6659 FromSM.overrideFileContents(&FE, std::move(FileContents)); in TEST_P()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 1594 SourceMgr.overrideFileContents(*File, std::move(Buffer)); in ReadSLocEntry()
|