[clang] [Clang] Add __has_target_builtin macro (PR #126324)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 10 12:01:23 PST 2025


================
@@ -1797,55 +1798,62 @@ void Preprocessor::ExpandBuiltinMacro(Token &Tok) {
                                            diag::err_feature_check_malformed);
         return II && HasExtension(*this, II->getName());
       });
-  } else if (II == Ident__has_builtin) {
----------------
sarnex wrote:

@AaronBallman Yeah here the clang-format CI [failed](https://github.com/llvm/llvm-project/actions/runs/13249258371/job/36983046889?pr=126324) telling me I need to update unrelated code. Should I just ignore it?

https://github.com/llvm/llvm-project/pull/126324


More information about the cfe-commits mailing list