[llvm] 2ea6ed9 - [Support] BinaryStreamReader.h - remove unnecessary <string> include. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 20 02:31:36 PDT 2021
Author: Simon Pilgrim
Date: 2021-04-20T10:31:12+01:00
New Revision: 2ea6ed9b70c6495342e39a7d15172da39dc93c30
URL: https://github.com/llvm/llvm-project/commit/2ea6ed9b70c6495342e39a7d15172da39dc93c30
DIFF: https://github.com/llvm/llvm-project/commit/2ea6ed9b70c6495342e39a7d15172da39dc93c30.diff
LOG: [Support] BinaryStreamReader.h - remove unnecessary <string> include. NFCI.
We only use StringRef so include that.
Added:
Modified:
llvm/include/llvm/Support/BinaryStreamReader.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/BinaryStreamReader.h b/llvm/include/llvm/Support/BinaryStreamReader.h
index b611707807c0a..9ad98a89aaf95 100644
--- a/llvm/include/llvm/Support/BinaryStreamReader.h
+++ b/llvm/include/llvm/Support/BinaryStreamReader.h
@@ -11,6 +11,7 @@
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
+#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/BinaryStreamArray.h"
#include "llvm/Support/BinaryStreamRef.h"
@@ -18,8 +19,6 @@
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/type_traits.h"
-
-#include <string>
#include <type_traits>
namespace llvm {
More information about the llvm-commits
mailing list