From f3e397eb17327423b3f8fff5eac8547c85efddb1 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 11 Jun 2013 20:00:56 +0000 Subject: [PATCH] Include PathV1.h in files that use it. This is preparation for replacing Path.h with PathV2.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183782 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Bitcode/Archive.h | 1 + include/llvm/Support/FileUtilities.h | 1 + include/llvm/Support/GraphWriter.h | 1 + include/llvm/Support/Path.h | 1 - include/llvm/Support/Program.h | 1 + include/llvm/Support/Signals.h | 1 + lib/Support/CommandLine.cpp | 1 + lib/Support/Path.cpp | 1 + tools/bugpoint/ToolRunner.h | 1 + tools/llvm-config/llvm-config.cpp | 1 + tools/lto/LTOModule.cpp | 1 + 11 files changed, 10 insertions(+), 1 deletion(-) diff --git a/include/llvm/Bitcode/Archive.h b/include/llvm/Bitcode/Archive.h index 7b30c7e458f..d27f690cb51 100644 --- a/include/llvm/Bitcode/Archive.h +++ b/include/llvm/Bitcode/Archive.h @@ -20,6 +20,7 @@ #include "llvm/ADT/ilist.h" #include "llvm/ADT/ilist_node.h" #include "llvm/Support/Path.h" +#include "llvm/Support/PathV1.h" #include #include diff --git a/include/llvm/Support/FileUtilities.h b/include/llvm/Support/FileUtilities.h index 5456eb730a1..c6feb9f4268 100644 --- a/include/llvm/Support/FileUtilities.h +++ b/include/llvm/Support/FileUtilities.h @@ -17,6 +17,7 @@ #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" +#include "llvm/Support/PathV1.h" namespace llvm { diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index 22181d4e1d4..e867fae726d 100644 --- a/include/llvm/Support/GraphWriter.h +++ b/include/llvm/Support/GraphWriter.h @@ -26,6 +26,7 @@ #include "llvm/ADT/GraphTraits.h" #include "llvm/Support/DOTGraphTraits.h" #include "llvm/Support/Path.h" +#include "llvm/Support/PathV1.h" #include "llvm/Support/raw_ostream.h" #include #include diff --git a/include/llvm/Support/Path.h b/include/llvm/Support/Path.h index 196eecce818..5b7ff7e4f2d 100644 --- a/include/llvm/Support/Path.h +++ b/include/llvm/Support/Path.h @@ -12,5 +12,4 @@ // //===----------------------------------------------------------------------===// -#include "llvm/Support/PathV1.h" #include "llvm/Support/PathV2.h" diff --git a/include/llvm/Support/Program.h b/include/llvm/Support/Program.h index fb177de97b4..08a64dedfac 100644 --- a/include/llvm/Support/Program.h +++ b/include/llvm/Support/Program.h @@ -16,6 +16,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/Support/Path.h" +#include "llvm/Support/PathV1.h" namespace llvm { class error_code; diff --git a/include/llvm/Support/Signals.h b/include/llvm/Support/Signals.h index 465656b9411..c0a489a4b82 100644 --- a/include/llvm/Support/Signals.h +++ b/include/llvm/Support/Signals.h @@ -16,6 +16,7 @@ #define LLVM_SUPPORT_SIGNALS_H #include "llvm/Support/Path.h" +#include "llvm/Support/PathV1.h" #include namespace llvm { diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index f09705e69a1..63d0b739c00 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -29,6 +29,7 @@ #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Path.h" +#include "llvm/Support/PathV1.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Support/system_error.h" #include diff --git a/lib/Support/Path.cpp b/lib/Support/Path.cpp index b873b9ab4a0..1bae78137b3 100644 --- a/lib/Support/Path.cpp +++ b/lib/Support/Path.cpp @@ -15,6 +15,7 @@ #include "llvm/Config/config.h" #include "llvm/Support/Endian.h" #include "llvm/Support/FileSystem.h" +#include "llvm/Support/PathV1.h" #include #include #include diff --git a/tools/bugpoint/ToolRunner.h b/tools/bugpoint/ToolRunner.h index bb83ce459e7..28c09f5004b 100644 --- a/tools/bugpoint/ToolRunner.h +++ b/tools/bugpoint/ToolRunner.h @@ -21,6 +21,7 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/Path.h" +#include "llvm/Support/PathV1.h" #include "llvm/Support/SystemUtils.h" #include #include diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp index 7edf5eca0b2..5151d1a0911 100644 --- a/tools/llvm-config/llvm-config.cpp +++ b/tools/llvm-config/llvm-config.cpp @@ -25,6 +25,7 @@ #include "llvm/Config/llvm-config.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" +#include "llvm/Support/PathV1.h" #include "llvm/Support/raw_ostream.h" #include #include diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp index 91fcb2ee3d0..807d860b79c 100644 --- a/tools/lto/LTOModule.cpp +++ b/tools/lto/LTOModule.cpp @@ -32,6 +32,7 @@ #include "llvm/Support/FileSystem.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Path.h" +#include "llvm/Support/PathV1.h" #include "llvm/Support/SourceMgr.h" #include "llvm/Support/TargetRegistry.h" #include "llvm/Support/TargetSelect.h" -- 2.34.1