| Issue |
209270
|
| Summary |
possible erroneous warning (missing field initializer)
|
| Labels |
|
| Assignees |
|
| Reporter |
chardan
|
I think this isn't a valid warning:
possible-warning-bug.cpp:22:47: warning: missing field 'bar' initializer
The compiler warns that `bar` is missing from the aggregate initializer, even though (as I understand them)
the C++ aggregate-initialization rules default-construct it as an empty std::string.
[possible-warning-bug.cpp](https://github.com/user-attachments/files/29979676/possible-warning-bug.cpp)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs