[clang] [clang] Remove #undef alloca (PR #81534)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 12 13:02:45 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Arthur Eubanks (aeubanks)
<details>
<summary>Changes</summary>
Added in 26670dcba1609574cba5942aff78ff97b567c5f3.
---
Full diff: https://github.com/llvm/llvm-project/pull/81534.diff
1 Files Affected:
- (modified) clang/include/clang/Basic/Builtins.h (-4)
``````````diff
diff --git a/clang/include/clang/Basic/Builtins.h b/clang/include/clang/Basic/Builtins.h
index f955d21169556a..6700d1903a0088 100644
--- a/clang/include/clang/Basic/Builtins.h
+++ b/clang/include/clang/Basic/Builtins.h
@@ -20,10 +20,6 @@
#include "llvm/ADT/StringRef.h"
#include <cstring>
-// VC++ defines 'alloca' as an object-like macro, which interferes with our
-// builtins.
-#undef alloca
-
namespace clang {
class TargetInfo;
class IdentifierTable;
``````````
</details>
https://github.com/llvm/llvm-project/pull/81534
More information about the cfe-commits
mailing list