Searched refs:getAsRange (Results 1 – 6 of 6) sorted by relevance
/external/clang/unittests/Tooling/ |
D | FixItTest.cpp | 86 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/ |
D | LexerTest.cpp | 316 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/ |
D | PlistReporter.cpp | 110 CharSourceRange ExpansionRange(SM.getExpansionRange(R.getAsRange()), in writeARCDiagsToPlist()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 342 ? getAsCharRange(Range.getAsRange(), SM, LangOpts) in getAsCharRange()
|
/external/clang/include/clang/Basic/ |
D | SourceLocation.h | 256 SourceRange getAsRange() const { return Range; } in getAsRange() function
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 308 if (PPRec && PPRec->rangeIntersectsConditionalDirective(range.getAsRange())) in canRemoveRange()
|