[llvm] b9b877f - [llvm-pdbutil] Update #includes (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 00:32:12 PST 2022


Author: Kazu Hirata
Date: 2022-12-14T00:32:06-08:00
New Revision: b9b877f91e2001efaf0684b8ce436967dcdf91ca

URL: https://github.com/llvm/llvm-project/commit/b9b877f91e2001efaf0684b8ce436967dcdf91ca
DIFF: https://github.com/llvm/llvm-project/commit/b9b877f91e2001efaf0684b8ce436967dcdf91ca.diff

LOG: [llvm-pdbutil] Update #includes (NFC)

The header file uses std::optional, but it's realying a transitive
inclusion of <optional>.  Meanwhile, it no longer uses llvm::Optional.

Added: 
    

Modified: 
    llvm/tools/llvm-pdbutil/StreamUtil.h

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-pdbutil/StreamUtil.h b/llvm/tools/llvm-pdbutil/StreamUtil.h
index 9d9c5f9a9a63..9d6030c7ba9c 100644
--- 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 {


        


More information about the llvm-commits mailing list