[PATCH] D109653: Fix some definitions on AVR target
Mara Sophie Grosch via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 11 15:06:29 PDT 2021
LittleFox94 created this revision.
LittleFox94 added a reviewer: cfe-commits.
Herald added subscribers: Jim, dylanmckay.
LittleFox94 requested review of this revision.
Herald added a project: clang.
Fix definitions in AVR target for MCUs xmega16a4u and xmega128a4u to match avr-libc.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109653
Files:
clang/lib/Basic/Targets/AVR.cpp
Index: clang/lib/Basic/Targets/AVR.cpp
===================================================================
--- clang/lib/Basic/Targets/AVR.cpp
+++ clang/lib/Basic/Targets/AVR.cpp
@@ -223,7 +223,7 @@
{"atmega256rfr2", "__AVR_ATmega256RFR2__"},
{"atmega2564rfr2", "__AVR_ATmega2564RFR2__"},
{"atxmega16a4", "__AVR_ATxmega16A4__"},
- {"atxmega16a4u", "__AVR_ATxmega16a4U__"},
+ {"atxmega16a4u", "__AVR_ATxmega16A4U__"},
{"atxmega16c4", "__AVR_ATxmega16C4__"},
{"atxmega16d4", "__AVR_ATxmega16D4__"},
{"atxmega32a4", "__AVR_ATxmega32A4__"},
@@ -265,7 +265,7 @@
{"atxmega384d3", "__AVR_ATxmega384D3__"},
{"atxmega128a1", "__AVR_ATxmega128A1__"},
{"atxmega128a1u", "__AVR_ATxmega128A1U__"},
- {"atxmega128a4u", "__AVR_ATxmega128a4U__"},
+ {"atxmega128a4u", "__AVR_ATxmega128A4U__"},
{"attiny4", "__AVR_ATtiny4__"},
{"attiny5", "__AVR_ATtiny5__"},
{"attiny9", "__AVR_ATtiny9__"},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109653.372098.patch
Type: text/x-patch
Size: 945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210911/878dd214/attachment.bin>
More information about the cfe-commits
mailing list