[llvm] 35cb9b3 - LowLevelTypeImpl.h - fix implicit Debug.h dependency. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 01:48:32 PDT 2020


Author: Simon Pilgrim
Date: 2020-06-23T09:43:39+01:00
New Revision: 35cb9b323eec394baa86f72e1f83c44b92292e83

URL: https://github.com/llvm/llvm-project/commit/35cb9b323eec394baa86f72e1f83c44b92292e83
DIFF: https://github.com/llvm/llvm-project/commit/35cb9b323eec394baa86f72e1f83c44b92292e83.diff

LOG: LowLevelTypeImpl.h - fix implicit Debug.h dependency. NFC.

LowLevelType was depending on other headers (notably WithColor.h) to define dbgs().

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/LowLevelTypeImpl.h b/llvm/include/llvm/Support/LowLevelTypeImpl.h
index 6959957cfc37..c1d516f2fe58 100644
--- a/llvm/include/llvm/Support/LowLevelTypeImpl.h
+++ b/llvm/include/llvm/Support/LowLevelTypeImpl.h
@@ -27,6 +27,7 @@
 #define LLVM_SUPPORT_LOWLEVELTYPEIMPL_H
 
 #include "llvm/ADT/DenseMapInfo.h"
+#include "llvm/Support/Debug.h"
 #include "llvm/Support/MachineValueType.h"
 #include <cassert>
 


        


More information about the llvm-commits mailing list