[llvm] 24b9bc8 - MsgPackReader.cpp - add missing implicit MathExtras.h header dependency. NFCI.
    Simon Pilgrim via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Jun  5 10:06:32 PDT 2021
    
    
  
Author: Simon Pilgrim
Date: 2021-06-05T18:05:40+01:00
New Revision: 24b9bc84982f47c6a62dccad1d0dd6bd7b023176
URL: https://github.com/llvm/llvm-project/commit/24b9bc84982f47c6a62dccad1d0dd6bd7b023176
DIFF: https://github.com/llvm/llvm-project/commit/24b9bc84982f47c6a62dccad1d0dd6bd7b023176.diff
LOG: MsgPackReader.cpp - add missing implicit MathExtras.h header dependency. NFCI.
Noticed while investigating if we can remove an unnecessary MathExtras.h include from SmallVector.h
Added: 
    
Modified: 
    llvm/lib/BinaryFormat/MsgPackReader.cpp
Removed: 
    
################################################################################
diff  --git a/llvm/lib/BinaryFormat/MsgPackReader.cpp b/llvm/lib/BinaryFormat/MsgPackReader.cpp
index 872a6e0e29f83..146edaa95b81e 100644
--- a/llvm/lib/BinaryFormat/MsgPackReader.cpp
+++ b/llvm/lib/BinaryFormat/MsgPackReader.cpp
@@ -14,6 +14,7 @@
 #include "llvm/BinaryFormat/MsgPackReader.h"
 #include "llvm/BinaryFormat/MsgPack.h"
 #include "llvm/Support/Endian.h"
+#include "llvm/Support/MathExtras.h"
 
 using namespace llvm;
 using namespace llvm::support;
        
    
    
More information about the llvm-commits
mailing list