mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
* Use "" for LLVM include files, not <>
* llvm/Config/alloca.h already #includes config.h * Minor readability/stylistic changes llvm-svn: 19048
This commit is contained in:
parent
da4ddcfb2b
commit
272c37ff7b
@ -16,8 +16,7 @@
|
|||||||
//=== is guaranteed to work on *all* UNIX variants.
|
//=== 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 "Unix.h"
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
@ -27,9 +26,7 @@
|
|||||||
namespace llvm {
|
namespace llvm {
|
||||||
using namespace sys;
|
using namespace sys;
|
||||||
|
|
||||||
Path::Path(const std::string& unverified_path)
|
Path::Path(const std::string& unverified_path) : path(unverified_path) {
|
||||||
: path(unverified_path)
|
|
||||||
{
|
|
||||||
if (unverified_path.empty())
|
if (unverified_path.empty())
|
||||||
return;
|
return;
|
||||||
if (this->isValid())
|
if (this->isValid())
|
||||||
@ -64,6 +61,7 @@ static void getPathList(const char*path, std::vector<sys::Path>& Paths) {
|
|||||||
Paths.push_back(tmpPath);
|
Paths.push_back(tmpPath);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Path::GetSystemLibraryPaths(std::vector<sys::Path>& Paths) {
|
Path::GetSystemLibraryPaths(std::vector<sys::Path>& Paths) {
|
||||||
#ifdef LTDL_SHLIBPATH_VAR
|
#ifdef LTDL_SHLIBPATH_VAR
|
||||||
|
Loading…
Reference in New Issue
Block a user