Author: arphaman Date: Wed Feb 1 04:52:02 2017 New Revision: 293759 URL: http://llvm.org/viewvc/llvm-project?rev=293759&view=rev Log: 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. Modified: cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h Modified: cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h?rev=293759&r1=293758&r2=293759&view=diff ============================================================================== --- cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h (original) +++ cfe/trunk/include/clang/ASTMatchers/ASTMatchersInternal.h Wed Feb 1 04:52:02 2017 @@ -1459,7 +1459,7 @@ class VariadicDynCastAllOfMatcher : public VariadicFunction<BindableMatcher<SourceT>, Matcher<TargetT>, makeDynCastAllOfComposite<SourceT, TargetT>> { public: - constexpr VariadicDynCastAllOfMatcher() {} + VariadicDynCastAllOfMatcher() {} }; /// \brief A \c VariadicAllOfMatcher<T> object is a variadic functor that takes @@ -1477,7 +1477,7 @@ class VariadicAllOfMatcher : public VariadicFunction<BindableMatcher<T>, Matcher<T>, makeAllOfComposite<T>> { 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, Matcher<InnerTBase>, &Self::create> { - constexpr Func() {} + Func() {} }; private: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits