[llvm] 0b18c4c - SmallVector.h - remove unused MathExtras.h header (REAPPLIED). NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 6 01:30:42 PDT 2021
Author: Simon Pilgrim
Date: 2021-06-06T09:30:15+01:00
New Revision: 0b18c4c0ec03f0321ee83b9976da5777d0e4f53f
URL: https://github.com/llvm/llvm-project/commit/0b18c4c0ec03f0321ee83b9976da5777d0e4f53f
DIFF: https://github.com/llvm/llvm-project/commit/0b18c4c0ec03f0321ee83b9976da5777d0e4f53f.diff
LOG: SmallVector.h - remove unused MathExtras.h header (REAPPLIED). NFCI.
Try again to remove this header - I think I've found the implicit dependencies (mainly for <cmath>) on linux builds now.
Added:
Modified:
llvm/include/llvm/ADT/SmallVector.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h
index e960b272db04b..862c2353ff22c 100644
--- a/llvm/include/llvm/ADT/SmallVector.h
+++ b/llvm/include/llvm/ADT/SmallVector.h
@@ -16,7 +16,6 @@
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
-#include "llvm/Support/MathExtras.h"
#include "llvm/Support/MemAlloc.h"
#include "llvm/Support/type_traits.h"
#include <algorithm>
More information about the llvm-commits
mailing list