[clang-tools-extra] [clang-tidy] Fix for cppcoreguidelines-pro-type-union-access if memLoc is invalid (PR #104540)

Nicolas van Kempen via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 21 10:59:16 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.
----------------
nicovank wrote:

Order alphabetically by check name.

https://github.com/llvm/llvm-project/pull/104540


More information about the cfe-commits mailing list