From: Misha Brukman Date: Mon, 20 Dec 2004 00:16:38 +0000 (+0000) Subject: * Use "" for LLVM include files, not <> X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=210b32b16f1a5f891ea1d144a6b83efb32a32523;p=oota-llvm.git * Use "" for LLVM include files, not <> * llvm/Config/alloca.h already #includes config.h * Minor readability/stylistic changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19048 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/Unix/Path.cpp b/lib/System/Unix/Path.cpp index a78b513c118..3357330dce1 100644 --- a/lib/System/Unix/Path.cpp +++ b/lib/System/Unix/Path.cpp @@ -16,8 +16,7 @@ //=== is guaranteed to work on *all* UNIX variants. //===----------------------------------------------------------------------===// -#include -#include +#include "llvm/Config/alloca.h" #include "Unix.h" #include #include @@ -27,9 +26,7 @@ namespace llvm { using namespace sys; -Path::Path(const std::string& unverified_path) - : path(unverified_path) -{ +Path::Path(const std::string& unverified_path) : path(unverified_path) { if (unverified_path.empty()) return; if (this->isValid()) @@ -64,6 +61,7 @@ static void getPathList(const char*path, std::vector& Paths) { Paths.push_back(tmpPath); } + void Path::GetSystemLibraryPaths(std::vector& Paths) { #ifdef LTDL_SHLIBPATH_VAR diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc index a78b513c118..3357330dce1 100644 --- a/lib/System/Unix/Path.inc +++ b/lib/System/Unix/Path.inc @@ -16,8 +16,7 @@ //=== is guaranteed to work on *all* UNIX variants. //===----------------------------------------------------------------------===// -#include -#include +#include "llvm/Config/alloca.h" #include "Unix.h" #include #include @@ -27,9 +26,7 @@ namespace llvm { using namespace sys; -Path::Path(const std::string& unverified_path) - : path(unverified_path) -{ +Path::Path(const std::string& unverified_path) : path(unverified_path) { if (unverified_path.empty()) return; if (this->isValid()) @@ -64,6 +61,7 @@ static void getPathList(const char*path, std::vector& Paths) { Paths.push_back(tmpPath); } + void Path::GetSystemLibraryPaths(std::vector& Paths) { #ifdef LTDL_SHLIBPATH_VAR