[PATCH] D136036: [Clang] Add __has_constexpr_builtin support

Evgeny Shulgin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 17 14:08:14 PDT 2022


Izaron added inline comments.


================
Comment at: clang/lib/Lex/PPMacroExpansion.cpp:370
   // Clang Extensions.
-  Ident__FILE_NAME__      = RegisterBuiltinMacro(*this, "__FILE_NAME__");
-  Ident__has_feature      = RegisterBuiltinMacro(*this, "__has_feature");
-  Ident__has_extension    = RegisterBuiltinMacro(*this, "__has_extension");
-  Ident__has_builtin      = RegisterBuiltinMacro(*this, "__has_builtin");
-  Ident__has_attribute    = RegisterBuiltinMacro(*this, "__has_attribute");
+  Ident__FILE_NAME__ = RegisterBuiltinMacro(*this, "__FILE_NAME__");
+  Ident__has_feature = RegisterBuiltinMacro(*this, "__has_feature");
----------------
aaron.ballman wrote:
> It looks like unrelated formatting changes snuck in to this file.
`git clang-format HEAD~1` did it =) I reformatted unrelated changes back to original state.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136036



More information about the cfe-commits mailing list