[llvm] fe6c45d - BitstreamWriter.h - add missing implicit MathExtras.h header dependency. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 5 11:23:50 PDT 2021
Author: Simon Pilgrim
Date: 2021-06-05T19:20:14+01:00
New Revision: fe6c45dd27062d07bdd69f040a025e7bae9419e6
URL: https://github.com/llvm/llvm-project/commit/fe6c45dd27062d07bdd69f040a025e7bae9419e6
DIFF: https://github.com/llvm/llvm-project/commit/fe6c45dd27062d07bdd69f040a025e7bae9419e6.diff
LOG: BitstreamWriter.h - 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/include/llvm/Bitstream/BitstreamWriter.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Bitstream/BitstreamWriter.h b/llvm/include/llvm/Bitstream/BitstreamWriter.h
index 56ec99c58ea04..21b260b7b9f36 100644
--- a/llvm/include/llvm/Bitstream/BitstreamWriter.h
+++ b/llvm/include/llvm/Bitstream/BitstreamWriter.h
@@ -20,6 +20,7 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/Bitstream/BitCodes.h"
#include "llvm/Support/Endian.h"
+#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <vector>
More information about the llvm-commits
mailing list