[llvm] 856a07e - [NFC] Including <string> in llvm-cxxdump/Error.cpp
David Tenty via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 7 15:12:01 PDT 2021
Author: Qiongsi Wu
Date: 2021-10-07T18:11:56-04:00
New Revision: 856a07e47ab2fef96c2e32fd28927044dbf90a19
URL: https://github.com/llvm/llvm-project/commit/856a07e47ab2fef96c2e32fd28927044dbf90a19
DIFF: https://github.com/llvm/llvm-project/commit/856a07e47ab2fef96c2e32fd28927044dbf90a19.diff
LOG: [NFC] Including <string> in llvm-cxxdump/Error.cpp
A [[ https://reviews.llvm.org/rGf6fa95b77f33c3690e4201e505cb8dce1433abd9 | recent commit ]] removed `<string>` from `ErrorHandling.h`. The removal caused `<string>` to be no longer included for `llvm/tools/llvm-cxxdump/Error.cpp` which uses the string type.
This patch adds `<string>` to `llvm/tools/llvm-cxxdump/Error.cpp`.
Reviewed By: jsji
Differential Revision: https://reviews.llvm.org/D111354
Added:
Modified:
llvm/tools/llvm-cxxdump/Error.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-cxxdump/Error.cpp b/llvm/tools/llvm-cxxdump/Error.cpp
index 25317820409ce..053d0e0764bcb 100644
--- a/llvm/tools/llvm-cxxdump/Error.cpp
+++ b/llvm/tools/llvm-cxxdump/Error.cpp
@@ -12,6 +12,7 @@
#include "Error.h"
#include "llvm/Support/ErrorHandling.h"
+#include <string>
using namespace llvm;
More information about the llvm-commits
mailing list