[PATCH] D111391: [NFC] [Clang] Use global enum for explicit float mode

2021-10-08 Thread Qiu Chaofan via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG8a714722e2aa: [NFC] [Clang] Use global enum for explicit float mode (authored by qiucf). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D111391/new/ https://r

[PATCH] D111391: [NFC] [Clang] Use global enum for explicit float mode

2021-10-08 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM, thanks for the cleanup! Comment at: clang/lib/Sema/SemaDeclAttr.cpp:4209 ComplexMode = false; + ExplicitType = FloatModeKind::NoFloat; switch (Str.

[PATCH] D111391: [NFC] [Clang] Use global enum for explicit float mode

2021-10-08 Thread Qiu Chaofan via Phabricator via cfe-commits
qiucf created this revision. qiucf added reviewers: rjmccall, nemanjai, aaron.ballman, erichkeane. qiucf requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Currently, there're multiple float types that can be represented by `__attribute__((mo