[PATCH] D111354: [NFC] Including <string> in llvm-cxxdump/Error.cpp

Qiongsi Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 13:53:41 PDT 2021


qiongsiwu1 created this revision.
qiongsiwu1 added reviewers: jsji, daltenty.
qiongsiwu1 added a project: LLVM.
qiongsiwu1 requested review of this revision.
Herald added a subscriber: llvm-commits.

A recent commit <https://reviews.llvm.org/rGf6fa95b77f33c3690e4201e505cb8dce1433abd9> removed `<string>` from `ErrorHandling.h`. The removal caused `<string>` to be no longer included for `llvm/tools/llvm-cxxdump/Error.cpp` which uses they string type.

This patch adds `<string>` to `llvm/tools/llvm-cxxdump/Error.cpp`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111354

Files:
  llvm/tools/llvm-cxxdump/Error.cpp


Index: llvm/tools/llvm-cxxdump/Error.cpp
===================================================================
--- llvm/tools/llvm-cxxdump/Error.cpp
+++ llvm/tools/llvm-cxxdump/Error.cpp
@@ -12,6 +12,7 @@
 
 #include "Error.h"
 #include "llvm/Support/ErrorHandling.h"
+#include <string>
 
 using namespace llvm;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111354.377995.patch
Type: text/x-patch
Size: 312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211007/f79b3afb/attachment.bin>


More information about the llvm-commits mailing list