summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-06-04 13:12:25 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-06-04 13:12:25 +0000
commit7813ae879e7a9151349ad67f26ee6cfd6feae347 (patch)
treebff2e74336ac248c200b1dffcfe12868a68cd2ef /llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h
parent51867c63f319b43d35ec29dd1c6b9a9edf0a5c21 (diff)
downloadbcm5719-llvm-7813ae879e7a9151349ad67f26ee6cfd6feae347.tar.gz
bcm5719-llvm-7813ae879e7a9151349ad67f26ee6cfd6feae347.zip
Replace string GNU Triples with llvm::Triple in MCAsmInfo subclasses and create*AsmInfo(). NFC.
Summary: This is the first of several patches to eliminate StringRef forms of GNU triples from the internals of LLVM. After this is complete, GNU triples will be replaced by a more authoratitive representation in the form of an LLVM TargetTuple. Reviewers: rengolin Reviewed By: rengolin Subscribers: ted, llvm-commits, rengolin, jholewinski Differential Revision: http://reviews.llvm.org/D10236 llvm-svn: 239036
Diffstat (limited to 'llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h')
-rw-r--r--llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h
index 2c9532d321e..ff5b0b6d858 100644
--- a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h
+++ b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h
@@ -17,12 +17,12 @@
#include "llvm/MC/MCAsmInfoELF.h"
namespace llvm {
- class StringRef;
+ class Triple;
class MSP430MCAsmInfo : public MCAsmInfoELF {
void anchor() override;
public:
- explicit MSP430MCAsmInfo(StringRef TT);
+ explicit MSP430MCAsmInfo(const Triple &TT);
};
} // namespace llvm
OpenPOWER on IntegriCloud