Put back definitions. We're still not C++17 :/

This commit is contained in:
Benjamin Kramer 2020-06-07 17:41:02 +02:00
parent 5a098086f9
commit c0c6a12775
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ const auto isMoveOnly = [] {
template <class T> struct NodeID;
template <> struct NodeID<Expr> { static constexpr StringRef value = "expr"; };
template <> struct NodeID<Decl> { static constexpr StringRef value = "decl"; };
constexpr StringRef NodeID<Expr>::value;
constexpr StringRef NodeID<Decl>::value;
template <class T, class F = const Stmt *(ExprMutationAnalyzer::*)(const T *)>
const Stmt *tryEachMatch(ArrayRef<ast_matchers::BoundNodes> Matches,