]> granicus.if.org Git - clang/commitdiff
Suppress false-positive GCC -Wreturn-type warning.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 17 May 2019 08:06:49 +0000 (08:06 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 17 May 2019 08:06:49 +0000 (08:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360999 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Expr.h

index 3160050cc507c914a62a3a714651e70cd7b03469..8a75468f662d12c490ed4137c7142512c852618b 100644 (file)
@@ -4207,6 +4207,7 @@ public:
     case Column:
       return false;
     }
+    llvm_unreachable("unknown source location expression kind");
   }
   bool isIntType() const LLVM_READONLY { return !isStringType(); }