Home
last modified time | relevance | path

Searched refs:createInMemoryFile (Results 1 – 7 of 7) sorted by relevance

/external/clang/unittests/Tooling/
DRefactoringTest.cpp45 FileID ID = Context.createInMemoryFile("input.cpp", "text"); in TEST_F()
53 FileID ID = Context.createInMemoryFile("input.cpp", "line1\nline2\nline3"); in TEST_F()
61 FileID ID = Context.createInMemoryFile("input.cpp", ""); in TEST_F()
69 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F()
78 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F()
112 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F()
127 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F()
139 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F()
155 FileID IDa = Context.createInMemoryFile("a.cpp", "text"); in TEST_F()
156 FileID IDz = Context.createInMemoryFile("z.cpp", "text"); in TEST_F()
DRewriterTest.cpp26 FileID FailingID = Context.createInMemoryFile("invalid/failing.cpp", "test"); in TEST()
DRefactoringCallbacksTest.cpp33 FileID ID = Context.createInMemoryFile("input.cc", Code); in expectRewritten()
DRewriterTestContext.h50 FileID createInMemoryFile(StringRef Name, StringRef Content) { in createInMemoryFile() function
/external/clang/lib/Index/
DSimpleFormatContext.h47 FileID createInMemoryFile(StringRef Name, StringRef Content) { in createInMemoryFile() function
DCommentToXML.cpp606 FileID ID = FormatRewriterContext.createInMemoryFile(filename, StringDecl); in formatTextOfDeclaration()
/external/clang/tools/clang-format/
DClangFormat.cpp106 static FileID createInMemoryFile(StringRef FileName, MemoryBuffer *Source, in createInMemoryFile() function
221 FileID ID = createInMemoryFile(FileName, Code.get(), Sources, Files); in format()