[PATCH] D145305: clang-tidy altera-id-dependent-backward-branch: fix #52790

Egor Suvorov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 4 03:32:49 PST 2023


yeputons-gh created this revision.
Herald added a subscriber: carlosgalvezp.
Herald added a reviewer: njames93.
Herald added a project: All.
yeputons-gh requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Mark variables/fields as ID-dependent when initializing from ID-dependent
expressions only, not any expressions.

Depends on D145304 <https://reviews.llvm.org/D145304>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145305

Files:
  clang-tools-extra/clang-tidy/altera/IdDependentBackwardBranchCheck.cpp
  clang-tools-extra/clang-tidy/altera/IdDependentBackwardBranchCheck.h
  clang-tools-extra/test/clang-tidy/checkers/altera/id-dependent-backward-branch.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145305.502366.patch
Type: text/x-patch
Size: 6810 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230304/e4a4745d/attachment.bin>


More information about the cfe-commits mailing list