projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1993de5
)
clang-refactor: Use llvm_unreachable in an unused override
author
Alex Lorenz
<arphaman@gmail.com>
Mon, 16 Oct 2017 18:07:16 +0000
(18:07 +0000)
committer
Alex Lorenz
<arphaman@gmail.com>
Mon, 16 Oct 2017 18:07:16 +0000
(18:07 +0000)
As suggested by David Blaikie!
llvm-svn: 315923
clang/tools/clang-refactor/ClangRefactor.cpp
patch
|
blob
|
history
diff --git
a/clang/tools/clang-refactor/ClangRefactor.cpp
b/clang/tools/clang-refactor/ClangRefactor.cpp
index
800729d
..
8a5c8e6
100644
(file)
--- a/
clang/tools/clang-refactor/ClangRefactor.cpp
+++ b/
clang/tools/clang-refactor/ClangRefactor.cpp
@@
-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; }