Skip to content

Commit

Permalink
Revert "[clang] Remove #undef alloca workaround (#81534)"
Browse files Browse the repository at this point in the history
This reverts commit 742a06f.
  • Loading branch information
Prabhuk committed Feb 13, 2024
1 parent 2422e96 commit 9fad04c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clang/include/clang/Basic/Builtins.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#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;
Expand Down

0 comments on commit 9fad04c

Please sign in to comment.