Home
last modified time | relevance | path

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

/external/clang/lib/Index/
DSimpleFormatContext.h52 Sources.overrideFileContents(Entry, std::move(Source)); in createInMemoryFile()
/external/clang/unittests/Tooling/
DRewriterTestContext.h55 Sources.overrideFileContents(Entry, std::move(Source)); in createInMemoryFile()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp196 SourceMgr.overrideFileContents(headerFile, std::move(HeaderBuf)); in TEST_F()
294 SourceMgr.overrideFileContents(headerFile, std::move(HeaderBuf)); in TEST_F()
/external/clang/include/clang/Basic/
DSourceManager.h820 void overrideFileContents(const FileEntry *SourceFile,
822 void overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() function
824 overrideFileContents(SourceFile, Buffer.release(), /*DoNotFree*/ false); in overrideFileContents()
833 void overrideFileContents(const FileEntry *SourceFile,
/external/clang/lib/Frontend/
DCompilerInstance.cpp257 SourceMgr.overrideFileContents(FromFile, RB.second, in InitializeFileRemapping()
280 SourceMgr.overrideFileContents(FromFile, ToFile); in InitializeFileRemapping()
737 SourceMgr.overrideFileContents(File, std::move(*MB)); in InitializeSourceManager()
760 SourceMgr.overrideFileContents(File, std::move(SB)); in InitializeSourceManager()
962 SourceMgr.overrideFileContents(ModuleMapFile, std::move(ModuleMapBuffer)); in compileModuleImpl()
/external/clang/tools/clang-format/
DClangFormat.cpp111 Sources.overrideFileContents(Entry, Source, true); in createInMemoryFile()
/external/clang/lib/Tooling/Core/
DReplacement.cpp270 SourceMgr.overrideFileContents(Entry, std::move(Buf)); in applyAllReplacements()
/external/clang/lib/Lex/
DPreprocessor.cpp409 SourceMgr.overrideFileContents(File, std::move(NewBuffer)); in SetCodeCompletionPoint()
/external/clang/lib/Basic/
DSourceManager.cpp643 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() function in SourceManager
655 void SourceManager::overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() function in SourceManager
/external/clang/lib/Format/
DFormat.cpp1505 SourceMgr.overrideFileContents(Entry, std::move(Buf)); in reformat()
/external/clang/lib/Serialization/
DASTReader.cpp1276 SourceMgr.overrideFileContents(File, std::move(Buffer)); in ReadSLocEntry()