From: Justin Lebar Date: Sun, 23 Oct 2016 19:39:16 +0000 (+0000) Subject: Remove LLVM_CONSTEXPR. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c807626ad7040d929e10906c3b15e9eab6f408e2;p=clang Remove LLVM_CONSTEXPR. Summary: With MSVC 2013 and GCC < 4.8 gone, we can use the "constexpr" keyword. Reviewers: bkramer, mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25901 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284947 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Parse/Parser.h b/include/clang/Parse/Parser.h index 3b2341c917..d6710f9aa9 100644 --- a/include/clang/Parse/Parser.h +++ b/include/clang/Parse/Parser.h @@ -883,8 +883,8 @@ public: StopAtCodeCompletion = 1 << 2 ///< Stop at code completion }; - friend LLVM_CONSTEXPR SkipUntilFlags operator|(SkipUntilFlags L, - SkipUntilFlags R) { + friend constexpr SkipUntilFlags operator|(SkipUntilFlags L, + SkipUntilFlags R) { return static_cast(static_cast(L) | static_cast(R)); }