aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprCXX.cpp
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-02-16 22:15:50 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-02-16 22:15:50 +0000
commitebc6af1279178e1d5f4dcd9f1bbf0f06d89e3a53 (patch)
tree660802bde151665651056edbfa070b3334753358 /lib/AST/ExprCXX.cpp
parenteeabf381862e53519cd0f9f65c1cc2a983c72159 (diff)
Pacify gcc's -Wreturn-type
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExprCXX.cpp')
-rw-r--r--lib/AST/ExprCXX.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/ExprCXX.cpp b/lib/AST/ExprCXX.cpp
index 718010b81e..f52f881050 100644
--- a/lib/AST/ExprCXX.cpp
+++ b/lib/AST/ExprCXX.cpp
@@ -120,6 +120,7 @@ SourceLocation CXXNewExpr::getEndLoc() const {
case ListInit:
return getInitializer()->getSourceRange().getEnd();
}
+ llvm_unreachable("bogus initialization style");
}
// CXXDeleteExpr