From f06cb1db249d02ffb15cb481e0ecf97b5bcdee02 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Mon, 20 Dec 2004 00:16:38 +0000 Subject: * Use "" for LLVM include files, not <> * llvm/Config/alloca.h already #includes config.h * Minor readability/stylistic changes llvm-svn: 19048 --- llvm/lib/System/Unix/Path.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'llvm/lib/System/Unix/Path.cpp') diff --git a/llvm/lib/System/Unix/Path.cpp b/llvm/lib/System/Unix/Path.cpp index a78b513c118..3357330dce1 100644 --- a/llvm/lib/System/Unix/Path.cpp +++ b/llvm/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 -- cgit v1.2.3