r315923 - clang-refactor: Use llvm_unreachable in an unused override
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 16 11:07:16 PDT 2017
Author: arphaman
Date: Mon Oct 16 11:07:16 2017
New Revision: 315923
URL: http://llvm.org/viewvc/llvm-project?rev=315923&view=rev
Log:
clang-refactor: Use llvm_unreachable in an unused override
As suggested by David Blaikie!
Modified:
cfe/trunk/tools/clang-refactor/ClangRefactor.cpp
Modified: cfe/trunk/tools/clang-refactor/ClangRefactor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-refactor/ClangRefactor.cpp?rev=315923&r1=315922&r2=315923&view=diff
==============================================================================
--- cfe/trunk/tools/clang-refactor/ClangRefactor.cpp (original)
+++ cfe/trunk/tools/clang-refactor/ClangRefactor.cpp Mon Oct 16 11:07:16 2017
@@ -315,7 +315,7 @@ public:
}
void handle(SymbolOccurrences Occurrences) override {
- RefactoringResultConsumer::handle(std::move(Occurrences));
+ llvm_unreachable("symbol occurrence results are not handled yet");
}
const AtomicChanges &getSourceChanges() const { return SourceChanges; }
More information about the cfe-commits
mailing list