[llvm] 37ef303 - Add missing include diagnosed by the modules build.

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 25 13:53:03 PST 2022


Author: Adrian Prantl
Date: 2022-01-25T13:52:44-08:00
New Revision: 37ef303aa71a1594d42587871d2e1eb1deeeff0f

URL: https://github.com/llvm/llvm-project/commit/37ef303aa71a1594d42587871d2e1eb1deeeff0f
DIFF: https://github.com/llvm/llvm-project/commit/37ef303aa71a1594d42587871d2e1eb1deeeff0f.diff

LOG: Add missing include diagnosed by the modules build.

Added: 
    

Modified: 
    llvm/include/llvm/Support/AllocatorBase.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/AllocatorBase.h b/llvm/include/llvm/Support/AllocatorBase.h
index e5549d111622..eccced1d1ff4 100644
--- a/llvm/include/llvm/Support/AllocatorBase.h
+++ b/llvm/include/llvm/Support/AllocatorBase.h
@@ -21,6 +21,7 @@
 
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/MemAlloc.h"
+#include <type_traits>
 
 namespace llvm {
 


        


More information about the llvm-commits mailing list