[clang] 41a8bba - Fix buildbot.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 21 04:40:27 PDT 2020
Author: Haojian Wu
Date: 2020-09-21T13:40:00+02:00
New Revision: 41a8bbad5e52a94a485c5bfe3d7871784fe6d8ed
URL: https://github.com/llvm/llvm-project/commit/41a8bbad5e52a94a485c5bfe3d7871784fe6d8ed
DIFF: https://github.com/llvm/llvm-project/commit/41a8bbad5e52a94a485c5bfe3d7871784fe6d8ed.diff
LOG: Fix buildbot.
TemplateArgumentLocInfo cannot result in a constant expression anymore
after D87080.
Added:
Modified:
clang/include/clang/AST/TemplateBase.h
Removed:
################################################################################
diff --git a/clang/include/clang/AST/TemplateBase.h b/clang/include/clang/AST/TemplateBase.h
index b7af5c7d7bd9..c158cde3580e 100644
--- a/clang/include/clang/AST/TemplateBase.h
+++ b/clang/include/clang/AST/TemplateBase.h
@@ -421,7 +421,7 @@ struct TemplateArgumentLocInfo {
}
public:
- constexpr TemplateArgumentLocInfo() {}
+ TemplateArgumentLocInfo() {}
TemplateArgumentLocInfo(TypeSourceInfo *Declarator) { Pointer = Declarator; }
TemplateArgumentLocInfo(Expr *E) { Pointer = E; }
@@ -459,7 +459,7 @@ class TemplateArgumentLoc {
TemplateArgumentLocInfo LocInfo;
public:
- constexpr TemplateArgumentLoc() {}
+ TemplateArgumentLoc() {}
TemplateArgumentLoc(const TemplateArgument &Argument,
TemplateArgumentLocInfo Opaque)
More information about the cfe-commits
mailing list