@@ -1673,6 +1673,7 @@ void Preprocessor::ExpandBuiltinMacro(Token &Tok) {
return II && HasExtension(*this, II->getName());
});
} else if (II == Ident__has_builtin) {
+EvaluatingHasBuiltinMacro = true;
Endilll wrote:
I'm not particularly pro
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/96097
>From b77b2d9b10ad90ee67893904732003bf11eec21d Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Wed, 19 Jun 2024 19:47:43 +0200
Subject: [PATCH 1/5] [Clang] Move the builtin workaround logic to the lexer
---
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff f80bd9b8a8103f39f5fece019abf86d41098cec1
f860bb65f8fe82aa1d5b727abb20de1cb8164b7e --
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/96097
>From b77b2d9b10ad90ee67893904732003bf11eec21d Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Wed, 19 Jun 2024 19:47:43 +0200
Subject: [PATCH 1/3] [Clang] Move the builtin workaround logic to the lexer
---
https://github.com/cor3ntin created
https://github.com/llvm/llvm-project/pull/96097
None
>From b77b2d9b10ad90ee67893904732003bf11eec21d Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Wed, 19 Jun 2024 19:47:43 +0200
Subject: [PATCH] [Clang] Move the builtin workaround logic to the lexer
-