Home
last modified time | relevance | path

Searched refs:getAsRange (Results 1 – 6 of 6) sorted by relevance

/external/clang/unittests/Tooling/
DFixItTest.cpp86 EXPECT_EQ("foo(x, y)", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
92 EXPECT_EQ("x", getText(Hint0.RemoveRange.getAsRange(), *Context)); in TEST()
98 EXPECT_EQ("y", getText(Hint1.RemoveRange.getAsRange(), *Context)); in TEST()
107 EXPECT_EQ("x + y", getText(Hint0.RemoveRange.getAsRange(), *Context)); in TEST()
111 EXPECT_EQ("y + x", getText(Hint1.RemoveRange.getAsRange(), *Context)); in TEST()
121 EXPECT_EQ("FOO", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
169 EXPECT_EQ("x", getText(Hint0.RemoveRange.getAsRange(), *Context)); in TEST()
174 EXPECT_EQ("y", getText(Hint1.RemoveRange.getAsRange(), *Context)); in TEST()
225 EXPECT_EQ("x + y", getText(Hint.RemoveRange.getAsRange(), *Context)); in TEST()
/external/clang/unittests/Lex/
DLexerTest.cpp316 EXPECT_EQ(range.getAsRange(), in TEST_F()
336 range.getAsRange()); in TEST_F()
341 range.getAsRange()); in TEST_F()
348 range.getAsRange()); in TEST_F()
/external/clang/lib/ARCMigrate/
DPlistReporter.cpp110 CharSourceRange ExpansionRange(SM.getExpansionRange(R.getAsRange()), in writeARCDiagsToPlist()
/external/clang/include/clang/Lex/
DLexer.h342 ? getAsCharRange(Range.getAsRange(), SM, LangOpts) in getAsCharRange()
/external/clang/include/clang/Basic/
DSourceLocation.h256 SourceRange getAsRange() const { return Range; } in getAsRange() function
/external/clang/lib/Edit/
DCommit.cpp308 if (PPRec && PPRec->rangeIntersectsConditionalDirective(range.getAsRange())) in canRemoveRange()