hanchenye-llvm-project/clang-tools-extra/clang-rename
Benjamin Kramer 66039d39e1 [clang-rename] Fix non-functional offset check.
Adding something to a SourceLocation will only produce an invalid
SourceLocation in edge cases (overflow or adding 0 to an invalid one).
Check that the offset is inside the file instead and add a test case to
verify that the error message works.

llvm-svn: 287758
2016-11-23 13:10:07 +00:00
..
tool Make Emacs libraries compatible with Emacs 24. 2016-10-11 09:15:10 +00:00
CMakeLists.txt clangRename: Update libdeps to add clangASTMatchers. 2016-07-19 15:53:11 +00:00
RenamingAction.cpp [clang-rename] Enforce LLVM policy about braces around single line control flow statement body. 2016-09-04 22:50:41 +00:00
RenamingAction.h [clang-rename] Add comment after namespace closing 2016-09-05 09:42:02 +00:00
USRFinder.cpp [clang-rename] Prune away AST nodes more correctly and effectively when looking for a point 2016-11-22 17:29:45 +00:00
USRFinder.h [clang-rename] Fix Clang-tidy and IWYU warnings; other minor fixes 2016-09-04 22:19:52 +00:00
USRFindingAction.cpp [clang-rename] Fix non-functional offset check. 2016-11-23 13:10:07 +00:00
USRFindingAction.h [clang-rename] Merge rename-{at|all} & optimise. 2016-09-16 08:45:19 +00:00
USRLocFinder.cpp [clang-rename] Enforce LLVM policy about braces around single line control flow statement body. 2016-09-04 22:50:41 +00:00
USRLocFinder.h [clang-rename] speedup RenamingAction 2016-07-29 10:16:45 +00:00