[clang-tools-extra] [clang-tidy] Fix for cppcoreguidelines-pro-type-union-access if memLoc is invalid (PR #104540)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 24 08:22:08 PDT 2024
================
@@ -116,6 +116,10 @@ Changes in existing checks
<clang-tidy/checks/readability/redundant-smartptr-get>` check to
remove `->`, when redundant `get()` is removed.
+- Fixed :doc:`cppcoreguidelines-pro-type-union-access
+ <clang-tidy/checks/cppcoreguidelines/pro-type-union-access>` check to
+ report location even when member location is not valid.
----------------
5chmidti wrote:
nit: `... report a location even when the member ...`
https://github.com/llvm/llvm-project/pull/104540
More information about the cfe-commits
mailing list