================
@@ -8584,15 +8613,9 @@ ExprResult InitializationSequence::Perform(Sema &S,
CheckC23ConstexprInitConversion(S, SourceType, Entity.getType(),
CurInit.get());
- // C23 6.7.1p6: If an object or subobject declared with storage-class
- // specifier constexpr has pointer, integer, or arithmetic type, any
- // explicit initializer value for it shall be null, an integer
- // constant expression, or an arithmetic constant expression,
- // respectively.
----------------
aalmkainzi wrote:
I moved it to the new function
https://github.com/llvm/llvm-project/pull/230477
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits