[PATCH] D105402: [llvm][iwyu] explicitly includes <functional> and <utility>

Christopher Di Bella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 3 23:03:10 PDT 2021


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG95923c0ba245: [llvm][iwyu] explicitly includes <functional> and <utility> (authored by cjdb).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105402

Files:
  llvm/include/llvm/ADT/SmallVector.h
  llvm/include/llvm/Support/Printable.h


Index: llvm/include/llvm/Support/Printable.h
===================================================================
--- llvm/include/llvm/Support/Printable.h
+++ llvm/include/llvm/Support/Printable.h
@@ -14,6 +14,7 @@
 #define LLVM_SUPPORT_PRINTABLE_H
 
 #include <functional>
+#include <utility>
 
 namespace llvm {
 
Index: llvm/include/llvm/ADT/SmallVector.h
===================================================================
--- llvm/include/llvm/ADT/SmallVector.h
+++ llvm/include/llvm/ADT/SmallVector.h
@@ -23,6 +23,7 @@
 #include <cstddef>
 #include <cstdlib>
 #include <cstring>
+#include <functional>
 #include <initializer_list>
 #include <iterator>
 #include <limits>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105402.356368.patch
Type: text/x-patch
Size: 677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210704/b70f8b92/attachment.bin>


More information about the llvm-commits mailing list