[llvm] r281169 - Fix the modules build after r281167

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 11 10:00:12 PDT 2016


Author: dexonsmith
Date: Sun Sep 11 12:00:12 2016
New Revision: 281169

URL: http://llvm.org/viewvc/llvm-project?rev=281169&view=rev
Log:
Fix the modules build after r281167

Add an #include for <type_traits> to llvm/ADT/ilist_node_options.h to
make it standalone.

Modified:
    llvm/trunk/include/llvm/ADT/ilist_node_options.h

Modified: llvm/trunk/include/llvm/ADT/ilist_node_options.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/ilist_node_options.h?rev=281169&r1=281168&r2=281169&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/ilist_node_options.h (original)
+++ llvm/trunk/include/llvm/ADT/ilist_node_options.h Sun Sep 11 12:00:12 2016
@@ -10,6 +10,8 @@
 #ifndef LLVM_ADT_ILIST_NODE_OPTIONS_H
 #define LLVM_ADT_ILIST_NODE_OPTIONS_H
 
+#include <type_traits>
+
 namespace llvm {
 
 template <bool EnableSentinelTracking> class ilist_node_base;




More information about the llvm-commits mailing list