forked from OSchip/llvm-project
parent
1d55f1b936
commit
968af4fee2
|
@ -77,7 +77,7 @@ public:
|
|||
explicit SubtargetFeatures(const StringRef Initial = "");
|
||||
|
||||
/// Features string accessors.
|
||||
StringRef getString() const;
|
||||
std::string getString() const;
|
||||
|
||||
/// Adding Features.
|
||||
void AddFeature(const StringRef String, bool IsEnabled = true);
|
||||
|
|
|
@ -182,7 +182,7 @@ SubtargetFeatures::SubtargetFeatures(const StringRef Initial) {
|
|||
}
|
||||
|
||||
|
||||
StringRef SubtargetFeatures::getString() const {
|
||||
std::string SubtargetFeatures::getString() const {
|
||||
return Join(Features);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue