[PATCH] D88393: [cfe][M68k] (Patch 7/8) Basic Clang support
Simon Pilgrim via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 17 03:52:42 PST 2020
RKSimon added inline comments.
================
Comment at: clang/lib/Basic/CMakeLists.txt:78
Targets/Mips.cpp
+ Targets/M68k.cpp
Targets/NVPTX.cpp
----------------
(sorting) - move after Le64.cpp
================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:8087
+ if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) {
+ if (const M68kInterruptAttr *attr = FD->getAttr<M68kInterruptAttr>()) {
+ // Handle 'interrupt' attribute:
----------------
(style) Use const auto * for cast results
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88393/new/
https://reviews.llvm.org/D88393
More information about the cfe-commits
mailing list