[PATCH] D153156: [Clang] CWG1473: do not err on the lack of space after operator""
Vlad Serebrennikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 11 06:18:48 PDT 2023
Endill added inline comments.
================
Comment at: clang/test/CXX/drs/dr14xx.cpp:491
+ float operator ""_E(const char *);
+ // expected-warning at +1 {{user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator}}
+ float operator ""E(const char *); // don't err on the lack of spaces even when the literal suffix identifier is invalid
----------------
Can you move this down, so that offset is negative (after @)?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153156/new/
https://reviews.llvm.org/D153156
More information about the cfe-commits
mailing list