mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Move << method out of line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29062 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -14,8 +14,8 @@
|
|||||||
#include "llvm/System/Path.h"
|
#include "llvm/System/Path.h"
|
||||||
#include "llvm/Config/config.h"
|
#include "llvm/Config/config.h"
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <ostream>
|
||||||
namespace llvm {
|
using namespace llvm;
|
||||||
using namespace sys;
|
using namespace sys;
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
@ -23,6 +23,11 @@ using namespace sys;
|
|||||||
//=== independent code.
|
//=== independent code.
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
std::ostream& llvm::operator<<(std::ostream &strm, const sys::Path &aPath) {
|
||||||
|
strm << aPath.toString();
|
||||||
|
return strm;
|
||||||
|
}
|
||||||
|
|
||||||
Path
|
Path
|
||||||
Path::GetLLVMConfigDir() {
|
Path::GetLLVMConfigDir() {
|
||||||
Path result;
|
Path result;
|
||||||
@ -91,19 +96,14 @@ Path::FindLibrary(std::string& name) {
|
|||||||
return sys::Path();
|
return sys::Path();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string
|
std::string Path::GetDLLSuffix() {
|
||||||
Path::GetDLLSuffix() {
|
|
||||||
return LTDL_SHLIB_EXT;
|
return LTDL_SHLIB_EXT;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// Include the truly platform-specific parts of this class.
|
// Include the truly platform-specific parts of this class.
|
||||||
|
|
||||||
#if defined(LLVM_ON_UNIX)
|
#if defined(LLVM_ON_UNIX)
|
||||||
#include "Unix/Path.inc"
|
#include "Unix/Path.inc"
|
||||||
#endif
|
#endif
|
||||||
#if defined(LLVM_ON_WIN32)
|
#if defined(LLVM_ON_WIN32)
|
||||||
#include "Win32/Path.inc"
|
#include "Win32/Path.inc"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user