[all-commits] [llvm/llvm-project] fe005e: Allow 'inline' on some declarations in MS compatib...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Fri Jan 31 18:01:13 PST 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: fe005eb0696f5255912a6fbe0e6bbd8c168340f7
https://github.com/llvm/llvm-project/commit/fe005eb0696f5255912a6fbe0e6bbd8c168340f7
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) (#125275)
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
(cherry picked from commit ef91caec2cf313624829114802cff92ae682e550)
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