diff options
author | Alex Bradbury <asb@lowrisc.org> | 2019-02-19 14:42:00 +0000 |
---|---|---|
committer | Alex Bradbury <asb@lowrisc.org> | 2019-02-19 14:42:00 +0000 |
commit | 6aae216109544a9d87b1332642632292595ca7a6 (patch) | |
tree | acbf151e86c2568b8c184c8da33b820964d6a151 /llvm/lib/Target/RISCV/RISCVSubtarget.h | |
parent | aa735de65ffc646c1752050abc7feb1817fdcb21 (diff) | |
download | bcm5719-llvm-6aae216109544a9d87b1332642632292595ca7a6.tar.gz bcm5719-llvm-6aae216109544a9d87b1332642632292595ca7a6.zip |
[RISCV][NFC] Move some std::string to StringRef
llvm-svn: 354333
Diffstat (limited to 'llvm/lib/Target/RISCV/RISCVSubtarget.h')
-rw-r--r-- | llvm/lib/Target/RISCV/RISCVSubtarget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/RISCV/RISCVSubtarget.h b/llvm/lib/Target/RISCV/RISCVSubtarget.h index 66c77301037..0373d542d4b 100644 --- a/llvm/lib/Target/RISCV/RISCVSubtarget.h +++ b/llvm/lib/Target/RISCV/RISCVSubtarget.h @@ -51,8 +51,8 @@ class RISCVSubtarget : public RISCVGenSubtargetInfo { public: // Initializes the data members to match that of the specified triple. - RISCVSubtarget(const Triple &TT, const std::string &CPU, - const std::string &FS, const TargetMachine &TM); + RISCVSubtarget(const Triple &TT, StringRef CPU, StringRef FS, + const TargetMachine &TM); // Parses features string setting specified subtarget options. The // definition of this function is auto-generated by tblgen. |