[clang] c0c6a12 - Put back definitions. We're still not C++17 :/
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 7 08:41:30 PDT 2020
Author: Benjamin Kramer
Date: 2020-06-07T17:41:02+02:00
New Revision: c0c6a1277546068fa06f4cfd330a714db365e336
URL: https://github.com/llvm/llvm-project/commit/c0c6a1277546068fa06f4cfd330a714db365e336
DIFF: https://github.com/llvm/llvm-project/commit/c0c6a1277546068fa06f4cfd330a714db365e336.diff
LOG: Put back definitions. We're still not C++17 :/
Added:
Modified:
clang/lib/Analysis/ExprMutationAnalyzer.cpp
Removed:
################################################################################
diff --git a/clang/lib/Analysis/ExprMutationAnalyzer.cpp b/clang/lib/Analysis/ExprMutationAnalyzer.cpp
index e57a425f802d..cb5cabfd3089 100644
--- a/clang/lib/Analysis/ExprMutationAnalyzer.cpp
+++ b/clang/lib/Analysis/ExprMutationAnalyzer.cpp
@@ -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,
More information about the cfe-commits
mailing list