[PATCH] D101617: [clang-tidy] Tweak diag ranges for bugprone-sizeof-expression

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 30 05:26:24 PDT 2021


njames93 created this revision.
njames93 added reviewers: alexfh, aaron.ballman.
Herald added a subscriber: xazax.hun.
njames93 requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Provide more useful warning locations and diagnostic ranges.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101617

Files:
  clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
  clang-tools-extra/test/clang-tidy/checkers/bugprone-sizeof-expression.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101617.341854.patch
Type: text/x-patch
Size: 20439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210430/bf941599/attachment-0001.bin>


More information about the cfe-commits mailing list