diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-02-01 10:52:02 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-02-01 10:52:02 +0000 |
commit | 2ba07641a3730952d139f831f38778ebe8538edc (patch) | |
tree | faab2d41c053aceefdbbffdfa3373934634b0025 /include/clang/ASTMatchers | |
parent | 17abd01ec81c0b36c3531a85f22c6e93b35e02f1 (diff) |
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
Diffstat (limited to 'include/clang/ASTMatchers')
-rw-r--r-- | include/clang/ASTMatchers/ASTMatchersInternal.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<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: |