]> granicus.if.org Git - clang/commit
[refactor] allow the use of refactoring diagnostics
authorAlex Lorenz <arphaman@gmail.com>
Mon, 16 Oct 2017 18:28:26 +0000 (18:28 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 16 Oct 2017 18:28:26 +0000 (18:28 +0000)
commit6de2efd1953adaa9a190b2cdfbe7b5c15f6d6efe
tree1728368a264c212d5c7d90e5d03e247bb5a0afc7
parente9ec96ff9701eec60e4bafd9b3e5b2daa6b101cc
[refactor] allow the use of refactoring diagnostics

This commit allows the refactoring library to use its own set of
refactoring-specific diagnostics to reports things like initiation errors.

Differential Revision: https://reviews.llvm.org/D38772

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315924 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/clang/Basic/AllDiagnostics.h
include/clang/Basic/CMakeLists.txt
include/clang/Basic/Diagnostic.td
include/clang/Basic/DiagnosticIDs.h
include/clang/Basic/DiagnosticRefactoringKinds.td [new file with mode: 0644]
include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h
include/clang/Tooling/Refactoring/RefactoringDiagnostic.h [new file with mode: 0644]
include/clang/Tooling/Refactoring/RefactoringRuleContext.h
include/clang/module.modulemap
lib/Basic/DiagnosticIDs.cpp
lib/Tooling/Refactoring/Rename/RenamingAction.cpp
test/Refactor/LocalRename/NoSymbolSelectedError.cpp [new file with mode: 0644]
tools/clang-refactor/ClangRefactor.cpp
tools/clang-refactor/TestSupport.cpp
tools/clang-refactor/TestSupport.h
tools/clang-refactor/ToolRefactoringResultConsumer.h [new file with mode: 0644]
tools/diagtool/DiagnosticNames.cpp
unittests/Tooling/RefactoringActionRulesTest.cpp