Issue were cased by checking if canonical declaration of record is a
definition. Unfortunately when forward declarations were used, it were
not a definition.
Fixes: #64463
Paths
| Differential D157190
[clang-tidy] Fixed false-negative in readability-identifier-naming ClosedPublic Authored by PiotrZSL on Aug 5 2023, 5:04 AM.
Details Summary Issue were cased by checking if canonical declaration of record is a Fixes: #64463
Diff Detail
Event TimelineComment Actions LGTM, minor question that can be fixed post-review unless you want to discuss further!
This revision is now accepted and ready to land.Aug 5 2023, 8:14 AM
Closed by commit rG2111577d4dfc: [clang-tidy] Fixed false-negative in readability-identifier-naming (authored by PiotrZSL). · Explain WhyAug 6 2023, 2:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 547503 clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming.cpp
|
Nit: shouldn't we use also struct here?