* Use "" for LLVM include files, not <>
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 20 Dec 2004 00:16:38 +0000 (00:16 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 20 Dec 2004 00:16:38 +0000 (00:16 +0000)
* 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

lib/System/Unix/Path.cpp
lib/System/Unix/Path.inc

index a78b513c1184568bb59fbf8014531788997ee551..3357330dce1388443b756f376c5f6a0fc9040257 100644 (file)
@@ -16,8 +16,7 @@
 //===          is guaranteed to work on *all* UNIX variants.
 //===----------------------------------------------------------------------===//
 
-#include <llvm/Config/config.h>
-#include <llvm/Config/alloca.h>
+#include "llvm/Config/alloca.h"
 #include "Unix.h"
 #include <sys/stat.h>
 #include <fcntl.h>
@@ -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<sys::Path>& Paths) {
         Paths.push_back(tmpPath);
 
 }
+
 void 
 Path::GetSystemLibraryPaths(std::vector<sys::Path>& Paths) {
 #ifdef LTDL_SHLIBPATH_VAR
index a78b513c1184568bb59fbf8014531788997ee551..3357330dce1388443b756f376c5f6a0fc9040257 100644 (file)
@@ -16,8 +16,7 @@
 //===          is guaranteed to work on *all* UNIX variants.
 //===----------------------------------------------------------------------===//
 
-#include <llvm/Config/config.h>
-#include <llvm/Config/alloca.h>
+#include "llvm/Config/alloca.h"
 #include "Unix.h"
 #include <sys/stat.h>
 #include <fcntl.h>
@@ -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<sys::Path>& Paths) {
         Paths.push_back(tmpPath);
 
 }
+
 void 
 Path::GetSystemLibraryPaths(std::vector<sys::Path>& Paths) {
 #ifdef LTDL_SHLIBPATH_VAR