projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
356bbbb
)
[llvm-pdbutil] Update #includes (NFC)
author
Kazu Hirata
<kazu@google.com>
Wed, 14 Dec 2022 08:32:06 +0000
(
00:32
-0800)
committer
Kazu Hirata
<kazu@google.com>
Wed, 14 Dec 2022 08:32:06 +0000
(
00:32
-0800)
The header file uses std::optional, but it's realying a transitive
inclusion of <optional>. Meanwhile, it no longer uses llvm::Optional.
llvm/tools/llvm-pdbutil/StreamUtil.h
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-pdbutil/StreamUtil.h
b/llvm/tools/llvm-pdbutil/StreamUtil.h
index
9d9c5f9
..
9d6030c
100644
(file)
--- a/
llvm/tools/llvm-pdbutil/StreamUtil.h
+++ b/
llvm/tools/llvm-pdbutil/StreamUtil.h
@@
-9,11
+9,11
@@
#ifndef LLVM_TOOLS_LLVMPDBDUMP_STREAMUTIL_H
#define LLVM_TOOLS_LLVMPDBDUMP_STREAMUTIL_H
-#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include <string>
+#include <optional>
namespace llvm {
namespace pdb {