Home
last modified time | relevance | path

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

/external/clang/unittests/Tooling/
DRefactoringTest.cpp46 FileID ID = Context.createInMemoryFile("input.cpp", "text"); in TEST_F()
54 FileID ID = Context.createInMemoryFile("input.cpp", "line1\nline2\nline3"); in TEST_F()
62 FileID ID = Context.createInMemoryFile("input.cpp", ""); in TEST_F()
70 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F()
79 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F()
113 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F()
128 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F()
140 FileID ID = Context.createInMemoryFile("input.cpp", in TEST_F()
156 FileID IDa = Context.createInMemoryFile("a.cpp", "text"); in TEST_F()
157 FileID IDz = Context.createInMemoryFile("z.cpp", "text"); in TEST_F()
[all …]
DRewriterTest.cpp29 FileID FailingID = Context.createInMemoryFile("invalid/failing.cpp", "test"); in TEST()
DRefactoringCallbacksTest.cpp33 FileID ID = Context.createInMemoryFile("input.cc", Code); in expectRewritten()
DRewriterTestContext.h55 FileID createInMemoryFile(StringRef Name, StringRef Content) { in createInMemoryFile() function
/external/clang/tools/clang-format/
DClangFormat.cpp113 static FileID createInMemoryFile(StringRef FileName, MemoryBuffer *Source, in createInMemoryFile() function
139 FileID ID = createInMemoryFile("<irrelevant>", Code, Sources, Files, in fillRanges()
291 FileID ID = createInMemoryFile(AssumedFileName, Code.get(), Sources, Files, in format()
/external/clang/lib/Index/
DSimpleFormatContext.h48 FileID createInMemoryFile(StringRef Name, StringRef Content) { in createInMemoryFile() function
DCommentToXML.cpp604 FileID ID = FormatRewriterContext.createInMemoryFile(filename, StringDecl); in formatTextOfDeclaration()
/external/clang/unittests/Format/
DCleanupTest.cpp281 FileID ID = Context.createInMemoryFile(FileName, Code); in getOffset()
DFormatTest.cpp11543 FileID ID = Context.createInMemoryFile("format.cpp", Code); in TEST_F()
11578 FileID ID = Context.createInMemoryFile("fix.cpp", Code); in TEST_F()