[PATCH] D57035: Add missing include (cstdlib) to Demangle.h

Konstantin Zhuravlyov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 21 13:33:33 PST 2019


kzhuravl created this revision.
kzhuravl added a reviewer: jhenderson.
Herald added subscribers: erik.pilkington, wdng.

One of our internal builders choked on free in Demangle.cpp.


https://reviews.llvm.org/D57035

Files:
  include/llvm/Demangle/Demangle.h


Index: include/llvm/Demangle/Demangle.h
===================================================================
--- include/llvm/Demangle/Demangle.h
+++ include/llvm/Demangle/Demangle.h
@@ -10,6 +10,7 @@
 #define LLVM_DEMANGLE_DEMANGLE_H
 
 #include <cstddef>
+#include <cstdlib>
 #include <string>
 
 namespace llvm {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57035.182822.patch
Type: text/x-patch
Size: 315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190121/8b22a0fd/attachment.bin>


More information about the llvm-commits mailing list