From: Alex Lorenz Date: Wed, 1 Feb 2017 10:52:02 +0000 (+0000) Subject: Revert r293518 as it caused module linking error in clang-reorder-fields X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ba07641a3730952d139f831f38778ebe8538edc;p=clang Revert r293518 as it caused module linking error in clang-reorder-fields This commit reverts "r293518 - [ASTMatchers] Sprinkle some constexpr on the global matcher constructors" because after it a buildbot that builds clang stage 2 with modules failed to link clang-reorder-fields. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293759 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/ASTMatchers/ASTMatchersInternal.h b/include/clang/ASTMatchers/ASTMatchersInternal.h index 895e0b42e4..bc75e807ce 100644 --- a/include/clang/ASTMatchers/ASTMatchersInternal.h +++ b/include/clang/ASTMatchers/ASTMatchersInternal.h @@ -1459,7 +1459,7 @@ class VariadicDynCastAllOfMatcher : public VariadicFunction, Matcher, makeDynCastAllOfComposite> { public: - constexpr VariadicDynCastAllOfMatcher() {} + VariadicDynCastAllOfMatcher() {} }; /// \brief A \c VariadicAllOfMatcher object is a variadic functor that takes @@ -1477,7 +1477,7 @@ class VariadicAllOfMatcher : public VariadicFunction, Matcher, makeAllOfComposite> { public: - constexpr VariadicAllOfMatcher() {} + VariadicAllOfMatcher() {} }; /// \brief Matches nodes of type \c TLoc for which the inner @@ -1598,7 +1598,7 @@ public: struct Func : public VariadicFunction, &Self::create> { - constexpr Func() {} + Func() {} }; private: