summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/ASTLocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Index/ASTLocation.cpp')
-rw-r--r--clang/lib/Index/ASTLocation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Index/ASTLocation.cpp b/clang/lib/Index/ASTLocation.cpp
index 6746004bc78..1a4f19d0f66 100644
--- a/clang/lib/Index/ASTLocation.cpp
+++ b/clang/lib/Index/ASTLocation.cpp
@@ -61,7 +61,6 @@ SourceRange ASTLocation::getSourceRange() const {
switch (getKind()) {
default: llvm_unreachable("Invalid Kind");
- return SourceRange();
case N_Decl:
return D->getSourceRange();
case N_Stmt:
OpenPOWER on IntegriCloud