aaron.ballman added a comment.

Generally LGTM but I did have a question about the feature testing macro.



================
Comment at: clang/lib/Frontend/InitPreprocessor.cpp:593-594
+  // C++2b features.
+  if (LangOpts.CPlusPlus2b)
+    Builder.defineMacro("__cpp_size_t_suffix", "202011L");
   if (LangOpts.Char8)
----------------
Because we allow this as an extension in all C++ modes, should this be enabled 
always rather than gated on C++2b?


================
Comment at: clang/lib/Lex/LiteralSupport.cpp:678
+      if (isFPConstant)
+        break; // invalid for floats.
+      if (HasSize)
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99456/new/

https://reviews.llvm.org/D99456

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to