rsmith requested changes to this revision.
rsmith added inline comments.
This revision now requires changes to proceed.


================
Comment at: clang/include/clang/Basic/Features.def:191-192
 // Type traits
 // N.B. Additional type traits should not be added to the following list.
 // Instead, they should be detected by has_builtin.
 FEATURE(has_nothrow_assign, LangOpts.CPlusPlus)
----------------
Please see this comment. `__has_builtin` should be used to detect these type 
traits, per the documentation 
(https://clang.llvm.org/docs/LanguageExtensions.html#type-trait-primitives and 
https://clang.llvm.org/docs/LanguageExtensions.html#has-builtin), and already 
works for this purpose.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72565



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D72565: a... kamlesh kumar via Phabricator via cfe-commits
    • [PATCH] D725... David Blaikie via Phabricator via cfe-commits
    • [PATCH] D725... Richard Smith - zygoloid via Phabricator via cfe-commits
    • [PATCH] D725... kamlesh kumar via Phabricator via cfe-commits

Reply via email to