[PATCH] D158698: [Clang][M68k] Use `DefineStd` for target-specific macros
Min-Yih Hsu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 23 21:19:39 PDT 2023
myhsu created this revision.
myhsu added reviewers: jrtc27, 0x59616e.
Herald added a project: All.
myhsu requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
(From the comments of D149867 <https://reviews.llvm.org/D149867>)
Use `DefineStd` for target-specific macros such that GNU-style definitions can be correctly toggled.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D158698
Files:
clang/lib/Basic/Targets/M68k.cpp
clang/test/Driver/m68k-macros.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158698.552978.patch
Type: text/x-patch
Size: 6564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230824/9395bdaa/attachment.bin>
More information about the cfe-commits
mailing list