DIPrinter.h - tidy implicit header dependencies. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 13 Jun 2021 16:00:15 +0000 (17:00 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 13 Jun 2021 16:00:15 +0000 (17:00 +0100)
We don't use <string> but we do use std::unique_ptr (<memory>) and llvm::Optional<>

llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h

index 8e1d849..4bb11bf 100644 (file)
 #ifndef LLVM_DEBUGINFO_SYMBOLIZE_DIPRINTER_H
 #define LLVM_DEBUGINFO_SYMBOLIZE_DIPRINTER_H
 
+#include "llvm/ADT/Optional.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/Support/JSON.h"
-#include <string>
+#include <memory>
 #include <vector>
 
 namespace llvm {