[all-commits] [llvm/llvm-project] 0adf6e: Work around a build issue with MSVC; NFC (#142195)
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Sat May 31 05:35:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0adf6e8d332c71e5feda3bd22bb6695dc8fcbf5e
https://github.com/llvm/llvm-project/commit/0adf6e8d332c71e5feda3bd22bb6695dc8fcbf5e
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-05-31 (Sat, 31 May 2025)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/lib/Sema/CheckExprLifetime.cpp
M clang/lib/Sema/SemaAttr.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
Log Message:
-----------
Work around a build issue with MSVC; NFC (#142195)
Microsoft helpfully defines `THIS` to `void` in two different platform
SDK headers, at least one of which is reachable via <Windows.h>. We have
a user who ran into a build because of `THIS` unfortunate macro name
collision.
Rename the members to better match our naming conventions.
Fixes #142186
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list