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.

llvm-svn: 293759
This commit is contained in:
Alex Lorenz 2017-02-01 10:52:02 +00:00
parent a35b8a4852
commit 8c40f5adec
1 changed files with 3 additions and 3 deletions

View File

@ -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: