Searched refs:replacement_error (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang/include/clang/Tooling/Core/ |
D | Replacement.h | 145 enum class replacement_error { enum 156 ReplacementError(replacement_error Err) : Err(Err) {} in ReplacementError() 159 ReplacementError(replacement_error Err, Replacement Existing) in ReplacementError() 164 ReplacementError(replacement_error Err, Replacement New, Replacement Existing) in ReplacementError() 172 replacement_error get() const { return Err; } in get() 190 replacement_error Err;
|
/external/llvm-project/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 164 static std::string getReplacementErrString(replacement_error Err) { in getReplacementErrString() 166 case replacement_error::fail_to_apply: in getReplacementErrString() 168 case replacement_error::wrong_file_path: in getReplacementErrString() 171 case replacement_error::overlap_conflict: in getReplacementErrString() 173 case replacement_error::insert_conflict: in getReplacementErrString() 241 return llvm::make_error<ReplacementError>(replacement_error::overlap_conflict, in mergeIfOrderIndependent() 249 replacement_error::wrong_file_path, R, *Replaces.begin()); in add() 278 replacement_error::insert_conflict, R, *I); in add() 602 replacement_error::fail_to_apply, Replace); in applyAllReplacements()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 106 replacement_error ExpectedErr, in checkReplacementError() 153 replacement_error::overlap_conflict, in TEST_F() 159 replacement_error::overlap_conflict, in TEST_F() 165 replacement_error::wrong_file_path, in TEST_F() 355 replacement_error::overlap_conflict, in TEST_F() 391 replacement_error::insert_conflict, in TEST_F() 497 replacement_error::overlap_conflict, in TEST_F() 1263 std::move(Err), replacement_error::wrong_file_path, in TEST_F() 1280 checkReplacementError(std::move(Err), replacement_error::wrong_file_path, in TEST_F() 1294 std::move(Err), replacement_error::wrong_file_path, in TEST_F()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/ |
D | AtomicChange.cpp | 278 if (RE.get() != replacement_error::insert_conflict) in insert()
|