Searched refs:shiftedCodePosition (Results 1 – 4 of 4) sorted by relevance
/external/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 208 EXPECT_EQ(0u, shiftedCodePosition(Replaces, 0)); // |int i; in TEST() 209 EXPECT_EQ(0u, shiftedCodePosition(Replaces, 1)); // |nt i; in TEST() 210 EXPECT_EQ(1u, shiftedCodePosition(Replaces, 2)); // i|t i; in TEST() 211 EXPECT_EQ(2u, shiftedCodePosition(Replaces, 3)); // in| i; in TEST() 212 EXPECT_EQ(3u, shiftedCodePosition(Replaces, 4)); // int| i; in TEST() 213 EXPECT_EQ(3u, shiftedCodePosition(Replaces, 5)); // int | i; in TEST() 214 EXPECT_EQ(3u, shiftedCodePosition(Replaces, 6)); // int |i; in TEST() 215 EXPECT_EQ(4u, shiftedCodePosition(Replaces, 7)); // int |; in TEST() 216 EXPECT_EQ(5u, shiftedCodePosition(Replaces, 8)); // int i| in TEST() 227 EXPECT_EQ(0u, shiftedCodePosition(Replaces, 0)); // |int i; in TEST() [all …]
|
/external/clang/include/clang/Tooling/Core/ |
D | Replacement.h | 179 unsigned shiftedCodePosition(const Replacements& Replaces, unsigned Position); 185 unsigned shiftedCodePosition(const std::vector<Replacement> &Replaces,
|
/external/clang/tools/clang-format/ |
D | ClangFormat.cpp | 278 << tooling::shiftedCodePosition(FormatChanges, CursorPosition) in format() 303 << tooling::shiftedCodePosition(FormatChanges, CursorPosition) in format()
|
/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 158 unsigned shiftedCodePosition(const Replacements &Replaces, unsigned Position) { in shiftedCodePosition() function 164 unsigned shiftedCodePosition(const std::vector<Replacement> &Replaces, in shiftedCodePosition() function
|