[PATCH] D105518: [clang] disable P2266 simpler implicit moves under -fms-compatibility

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 7 14:32:18 PDT 2021


mizvekov marked an inline comment as done.
mizvekov added inline comments.


================
Comment at: clang/lib/Frontend/InitPreprocessor.cpp:602
+    if (!LangOpts.MSVCCompat)
+      Builder.defineMacro("__cpp_implicit_move", "202011L");
     Builder.defineMacro("__cpp_size_t_suffix", "202011L");
----------------
erichkeane wrote:
> This isn't adding a 'tab' character here, is it?
No, just four spaces. This was clean on my linter, and it passed all green on the buildbots, which have a clang-format check.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105518



More information about the cfe-commits mailing list