From: Richard Smith Date: Fri, 17 May 2019 08:06:49 +0000 (+0000) Subject: Suppress false-positive GCC -Wreturn-type warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b675c7a1b52fa85cc54f61b070bf7e7dd5db0a71;p=clang Suppress false-positive GCC -Wreturn-type warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360999 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index 3160050cc5..8a75468f66 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -4207,6 +4207,7 @@ public: case Column: return false; } + llvm_unreachable("unknown source location expression kind"); } bool isIntType() const LLVM_READONLY { return !isStringType(); }