Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
What happens if this checker runs on a forward declared class?
struct Foo;
I'd expect the pack/alignment info is missing also in that case.
clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.cpp | ||
---|---|---|
54 | I'd mention first that packing and alignment info are meaningless for invalid declarations. |
I'd mention first that packing and alignment info are meaningless for invalid declarations.