[llvm] a1bd5cd - [NFC] Add include cstdint for SIZE_MAX.

Andrew Browne via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 17:25:53 PDT 2020


Author: Andrew Browne
Date: 2020-04-30T17:24:05-07:00
New Revision: a1bd5cd539f9e2fd34e522b848e751342985e882

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

LOG: [NFC] Add include cstdint for SIZE_MAX.

Added: 
    

Modified: 
    llvm/lib/Support/SmallVector.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/SmallVector.cpp b/llvm/lib/Support/SmallVector.cpp
index 0c9ac83f300a..6d5fe7165f63 100644
--- a/llvm/lib/Support/SmallVector.cpp
+++ b/llvm/lib/Support/SmallVector.cpp
@@ -11,6 +11,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/ADT/SmallVector.h"
+#include <cstdint>
 using namespace llvm;
 
 // Check that no bytes are wasted and everything is well-aligned.


        


More information about the llvm-commits mailing list