[PATCH] D124157: [clang][preprocessor] Add more macros to target AVR

2022-05-01 Thread Ben Shi via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG42fa5bae7afc: [clang][preprocessor] Add more macros to target AVR (authored by benshi001). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST

[PATCH] D124157: [clang][preprocessor] Add more macros to target AVR

2022-05-01 Thread Ben Shi via Phabricator via cfe-commits
benshi001 added a reviewer: MaskRay. benshi001 added a comment. Herald added a subscriber: StephenFan. avr-gcc does define this __AVR_TINY_ macro for the tiny device family, we can check that by `avr-gcc -mmcu=avrtiny -E -dM -xc /dev/null -dM | grep tiny -i`. CHANGES SINCE LAST ACTION https:

[PATCH] D124157: [clang][preprocessor] Add more macros to target AVR

2022-04-21 Thread Ben Shi via Phabricator via cfe-commits
benshi001 updated this revision to Diff 424355. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D124157/new/ https://reviews.llvm.org/D124157 Files: clang/lib/Basic/Targets/AVR.cpp clang/test/Preprocessor/avr-common.c Index: clang/test/Preprocessor/avr-common.c ===

[PATCH] D124157: [clang][preprocessor] Add more macros to target AVR

2022-04-21 Thread Ben Shi via Phabricator via cfe-commits
benshi001 created this revision. benshi001 added reviewers: aykevl, dylanmckay. Herald added a subscriber: Jim. Herald added a project: All. benshi001 requested review of this revision. Herald added subscribers: cfe-commits, jacquesguan. Herald added a project: clang. Repository: rG LLVM Github