forked from OSchip/llvm-project
Driver: Push triple objects around instead of going to std::string all the time.
No functionality change. llvm-svn: 185261
This commit is contained in:
parent
fe11e287b4
commit
b1276b4cff
|
@ -86,7 +86,7 @@ protected:
|
|||
unsigned ComplexLongDoubleUsesFP2Ret : 1;
|
||||
|
||||
// TargetInfo Constructor. Default initializes all fields.
|
||||
TargetInfo(const std::string &T);
|
||||
TargetInfo(const llvm::Triple &T);
|
||||
|
||||
public:
|
||||
/// \brief Construct a target for the given options.
|
||||
|
|
|
@ -24,8 +24,7 @@ using namespace clang;
|
|||
static const LangAS::Map DefaultAddrSpaceMap = { 0 };
|
||||
|
||||
// TargetInfo Constructor.
|
||||
TargetInfo::TargetInfo(const std::string &T) : TargetOpts(), Triple(T)
|
||||
{
|
||||
TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) {
|
||||
// Set defaults. Defaults are set for a 32-bit RISC platform, like PPC or
|
||||
// SPARC. These should be overridden by concrete targets as needed.
|
||||
BigEndian = true;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue