[clang-tools-extra] [clang-tidy] Fix for cppcoreguidelines-pro-type-union-access if memLoc is invalid (PR #104540)
Konstantin Romanov via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 21 12:39:49 PDT 2024
================
@@ -141,6 +141,10 @@ New check aliases
Changes in existing checks
^^^^^^^^^^^^^^^^^^^^^^^^^^
+- Fixed :doc:`cppcoreguidelines-pro-type-union-access
+ <clang-tidy/checks/cppcoreguidelines/pro-type-union-access>` check to
+ report a location even when the member location is not valid.
----------------
ksromanov wrote:
Done.
https://github.com/llvm/llvm-project/pull/104540
More information about the cfe-commits
mailing list