[PATCH] D123345: Treat `std::move`, `forward`, and `move_if_noexcept` as builtins.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 12 18:53:19 PDT 2022


rsmith added inline comments.


================
Comment at: clang/docs/CommandGuide/clang.rst:264
+
+.. option:: -fno-builtin-std-<function>
+
----------------
xbolva00 wrote:
> -fno-builtin=xxx,yyy,zzz
> 
> wdyt?
Seems reasonable to me to treat `-fno-builtin-<blah>` and `-fno-builtin=<blah>` as equivalent, and I certainly prefer the latter form. I think that's somewhat orthogonal to this patch, though: I'm not introducing `-fno-builtin-blah` here, only documenting it. (It's a GCC flag originally.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123345



More information about the cfe-commits mailing list