diff --git a/clang/include/clang/Basic/Builtins.h b/clang/include/clang/Basic/Builtins.h index 6700d1903a0088..f955d21169556a 100644 --- a/clang/include/clang/Basic/Builtins.h +++ b/clang/include/clang/Basic/Builtins.h @@ -20,6 +20,10 @@ #include "llvm/ADT/StringRef.h" #include +// VC++ defines 'alloca' as an object-like macro, which interferes with our +// builtins. +#undef alloca + namespace clang { class TargetInfo; class IdentifierTable;