Provide more useful warning locations and diagnostic ranges.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D101617
[clang-tidy] Tweak diag ranges for bugprone-sizeof-expression ClosedPublic Authored by njames93 on Apr 30 2021, 5:26 AM.
Details Summary Provide more useful warning locations and diagnostic ranges.
Diff Detail
Event TimelineHerald added subscribers: usaxena95, kadircet, arphaman. · View Herald TranscriptApr 30 2021, 6:41 AM This revision is now accepted and ready to land.Nov 10 2023, 10:48 AM Closed by commit rG0e55fef0e98f: [clang-tidy] Tweak diag ranges for bugprone-sizeof-expression (authored by njames93, committed by PiotrZSL). · Explain WhyNov 11 2023, 2:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 558078 clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
clang-tools-extra/clangd/test/diagnostics-tidy.test
clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-warn-on-sizeof-pointer-to-aggregate.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp
|