================
@@ -311,7 +311,6 @@ constexpr int *V83 = V82;
constexpr int *V84 = 42;
// expected-error@-1 {{constexpr variable 'V84' must be initialized by a
constant expression}}
// expected-note@-2 {{this conversion is not allowed in a constant expression}}
-// expected-error@-3 {{constexpr pointer initializer is not null}}
----------------
SamrudhNelli wrote:
i will remove the !ER.Val.getLValueBase().isNull()) condition which will cause
integers(except 0) to exit and return the error: constexpr pointer initializer
is not null.
https://github.com/llvm/llvm-project/pull/180376
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits