Now that consteval and constinit are possible values, 1 bit
is no longer enough.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Fix LGTM
As for the test, I suggest putting it in clang/test/AST/, maybe in ast-dump-constant-expr? You can write a CHECK-NEXT: thingy to verify that consteval is preserved. The test already runs both with and without AST reader/writer.
Comment Actions
Sorry for the delay here.
@adamcz could you kindly have another look to make sure the test changes look ok?