================
@@ -15099,7 +15099,8 @@ void Sema::CheckCompleteVariableDeclaration(VarDecl
*var) {
}
} else {
// Evaluate the initializer to see if it's a constant initializer.
- HasConstInit = var->checkForConstantInitialization(Notes);
+ HasConstInit =
+ var->checkForConstantInitialization(Notes, getProxyForEval());
----------------
tbaederr wrote:
This line is for pre-C++11, is it really correct to have functions instantiated
there?
https://github.com/llvm/llvm-project/pull/205557
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits