[all-commits] [llvm/llvm-project] ef91ca: Allow 'inline' on some declarations in MS compatib...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Fri Jan 31 10:50:22 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef91caec2cf313624829114802cff92ae682e550
https://github.com/llvm/llvm-project/commit/ef91caec2cf313624829114802cff92ae682e550
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-01-31 (Fri, 31 Jan 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/MicrosoftCompatibility.c
M clang/test/Sema/MicrosoftCompatibility.cpp
Log Message:
-----------
Allow 'inline' on some declarations in MS compatibility mode (#125250)
Microsoft allows the 'inline' specifier on a typedef of a function type
in C modes. This is used by a system header (ufxclient.h), so instead
of giving a hard error, we diagnose with a warning. C++ mode and non-
Microsoft compatibility modes are not impacted.
Fixes https://github.com/llvm/llvm-project/issues/124869
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