5/5
DiagnosticSemaKinds.td
| | Authored by inclyc on Sep 9 2022, 6:09 AM. Event TimelineHerald added a project: Restricted Project. inclyc published this revision for review. Herald added a project: Restricted Project. inclyc planned changes to this revision. inclyc marked 7 inline comments as done. inclyc marked an inline comment as done. inclyc marked 6 inline comments as done. inclyc marked 3 inline comments as done. This revision is now accepted and ready to land. This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. This revision is now accepted and ready to land. This revision now requires changes to proceed. This revision is now accepted and ready to land. Path | Size |
---|
| | | | | | | 2 lines | | | | 3 lines | | | | 3 lines | | | | | | 2 lines | | 2 lines | | | | 8 lines | | | | | | 4 lines | | | | 13 lines |
Commit | Tree | Parents | Author | Summary | Date |
---|
ac7ff60a06ce | 88fe449a9a02 | e261b0339607 | YingChi Long | | Sep 9 2022, 6:00 AM |
|
We might want this change, we might not -- can you test the diagnostic behavior when using #include <stddef.h>? Does it print __builtin_offsetof in the following example?
when executed with clang -fsyntax-only -ffreestanding -std=c2x test.c
If it prints the builtin name, I think we'll want to look at the builtin token to see if it was expanded from a macro named offsetof to improve the diagnostic quality.