summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-06-20 00:06:30 +0000
committerNico Weber <nicolasweber@gmx.de>2015-06-20 00:06:30 +0000
commit708aabd3ef5401b57ef13d1c9dd812bf3b62452f (patch)
treed827cd188b504514c3870357eab570aaa50c9ad7 /clang/lib/Sema
parentd20089374179a4a64269a4cfcad4d950ba42f4f8 (diff)
downloadbcm5719-llvm-708aabd3ef5401b57ef13d1c9dd812bf3b62452f.tar.gz
bcm5719-llvm-708aabd3ef5401b57ef13d1c9dd812bf3b62452f.zip
Suppress bogus gcc -Wreturn-type warnings.
llvm-svn: 240199
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaType.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaType.cpp b/clang/lib/Sema/SemaType.cpp
index 44c925778cb..ff0e26c8402 100644
--- a/clang/lib/Sema/SemaType.cpp
+++ b/clang/lib/Sema/SemaType.cpp
@@ -2581,6 +2581,7 @@ IdentifierInfo *Sema::getNullabilityKeyword(NullabilityKind nullability) {
Ident___null_unspecified = PP.getIdentifierInfo("__null_unspecified");
return Ident___null_unspecified;
}
+ llvm_unreachable("Unknown nullability kind.");
}
/// Retrieve the identifier "NSError".
OpenPOWER on IntegriCloud