[llvm] e32d73e - NativeFormatting.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:31 PDT 2021


Author: Simon Pilgrim
Date: 2021-06-05T18:05:39+01:00
New Revision: e32d73ef5ee5b7376bd6b1b08ecf22bde04d919e

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

LOG: NativeFormatting.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/Support/NativeFormatting.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/NativeFormatting.cpp b/llvm/lib/Support/NativeFormatting.cpp
index ae4bffbd94c1a..ae9f03745850f 100644
--- a/llvm/lib/Support/NativeFormatting.cpp
+++ b/llvm/lib/Support/NativeFormatting.cpp
@@ -11,6 +11,7 @@
 #include "llvm/ADT/SmallString.h"
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/Support/Format.h"
+#include "llvm/Support/MathExtras.h"
 #include "llvm/Support/raw_ostream.h"
 #include <float.h>
 


        


More information about the llvm-commits mailing list