[llvm-commits] CVS: llvm/lib/System/Unix/Path.cpp
Misha Brukman
brukman at cs.uiuc.edu
Sun Dec 19 16:16:49 PST 2004
Changes in directory llvm/lib/System/Unix:
Path.cpp updated: 1.25 -> 1.26
---
Log message:
* Use "" for LLVM include files, not <>
* llvm/Config/alloca.h already #includes config.h
* Minor readability/stylistic changes
---
Diffs of the changes: (+3 -5)
Index: llvm/lib/System/Unix/Path.cpp
diff -u llvm/lib/System/Unix/Path.cpp:1.25 llvm/lib/System/Unix/Path.cpp:1.26
--- llvm/lib/System/Unix/Path.cpp:1.25 Wed Dec 15 17:02:10 2004
+++ llvm/lib/System/Unix/Path.cpp Sun Dec 19 18:16:38 2004
@@ -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 @@
Paths.push_back(tmpPath);
}
+
void
Path::GetSystemLibraryPaths(std::vector<sys::Path>& Paths) {
#ifdef LTDL_SHLIBPATH_VAR
More information about the llvm-commits
mailing list