r372455 - [Clang Interpreter] Fixed Bug 43362, build failure on GCC

Nandor Licker via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 20 22:29:18 PDT 2019


Author: nand
Date: Fri Sep 20 22:29:18 2019
New Revision: 372455

URL: http://llvm.org/viewvc/llvm-project?rev=372455&view=rev
Log:
[Clang Interpreter] Fixed Bug 43362, build failure on GCC

free() was not directly included in InterpStack.cpp, added include now.

Modified:
    cfe/trunk/lib/AST/Interp/InterpStack.cpp

Modified: cfe/trunk/lib/AST/Interp/InterpStack.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Interp/InterpStack.cpp?rev=372455&r1=372454&r2=372455&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Interp/InterpStack.cpp (original)
+++ cfe/trunk/lib/AST/Interp/InterpStack.cpp Fri Sep 20 22:29:18 2019
@@ -7,6 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <cassert>
+#include <cstdlib>
 #include "InterpStack.h"
 
 using namespace clang;




More information about the cfe-commits mailing list