[llvm] 99c7f83 - [iwyu] Move <iostream> out of llvm/DebugInfo/Symbolize/Markup.h header
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 28 11:49:23 PDT 2022
Author: serge-sans-paille
Date: 2022-09-28T20:49:00+02:00
New Revision: 99c7f83b99bea43235cdaaaf955f2242a25b92bf
URL: https://github.com/llvm/llvm-project/commit/99c7f83b99bea43235cdaaaf955f2242a25b92bf
DIFF: https://github.com/llvm/llvm-project/commit/99c7f83b99bea43235cdaaaf955f2242a25b92bf.diff
LOG: [iwyu] Move <iostream> out of llvm/DebugInfo/Symbolize/Markup.h header
It's only used in the implementation. No functional change intended.
Added:
Modified:
llvm/include/llvm/DebugInfo/Symbolize/Markup.h
llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/DebugInfo/Symbolize/Markup.h b/llvm/include/llvm/DebugInfo/Symbolize/Markup.h
index 4f2b0de481ece..0061d59976934 100644
--- a/llvm/include/llvm/DebugInfo/Symbolize/Markup.h
+++ b/llvm/include/llvm/DebugInfo/Symbolize/Markup.h
@@ -16,8 +16,6 @@
#ifndef LLVM_DEBUGINFO_SYMBOLIZE_MARKUP_H
#define LLVM_DEBUGINFO_SYMBOLIZE_MARKUP_H
-#include <iostream>
-
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
diff --git a/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp b/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
index 34c93be67f80f..138b069cf5674 100644
--- a/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
+++ b/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
@@ -40,6 +40,7 @@
#include <algorithm>
#include <cstdio>
#include <cstring>
+#include <iostream>
#include <string>
using namespace llvm;
More information about the llvm-commits
mailing list