]> granicus.if.org Git - clang/commitdiff
Remove LLVM_CONSTEXPR.
authorJustin Lebar <jlebar@google.com>
Sun, 23 Oct 2016 19:39:16 +0000 (19:39 +0000)
committerJustin Lebar <jlebar@google.com>
Sun, 23 Oct 2016 19:39:16 +0000 (19:39 +0000)
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

include/clang/Parse/Parser.h

index 3b2341c917a2fe94e50f59794d002f46faf77034..d6710f9aa9c3a4ef7c37213c39621d58c52c47b0 100644 (file)
@@ -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<SkipUntilFlags>(static_cast<unsigned>(L) |
                                        static_cast<unsigned>(R));
   }