[PATCH] D154664: [NFC] Add some missing header includes

Evan Wilde via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 6 15:57:14 PDT 2023


etcwilde updated this revision to Diff 537916.
etcwilde added a comment.

Grabbed the right patch


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154664/new/

https://reviews.llvm.org/D154664

Files:
  llvm/include/llvm/Support/Format.h
  llvm/include/llvm/TargetParser/SubtargetFeature.h


Index: llvm/include/llvm/TargetParser/SubtargetFeature.h
===================================================================
--- llvm/include/llvm/TargetParser/SubtargetFeature.h
+++ llvm/include/llvm/TargetParser/SubtargetFeature.h
@@ -17,6 +17,7 @@
 #ifndef LLVM_TARGETPARSER_SUBTARGETFEATURE_H
 #define LLVM_TARGETPARSER_SUBTARGETFEATURE_H
 
+#include "llvm/ADT/bit.h"
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/StringRef.h"
Index: llvm/include/llvm/Support/Format.h
===================================================================
--- llvm/include/llvm/Support/Format.h
+++ llvm/include/llvm/Support/Format.h
@@ -28,6 +28,7 @@
 #include "llvm/Support/DataTypes.h"
 #include <cassert>
 #include <cstdio>
+#include <optional>
 #include <tuple>
 #include <utility>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154664.537916.patch
Type: text/x-patch
Size: 813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230706/bcae8666/attachment.bin>


More information about the cfe-commits mailing list