build: Attempt to rectify inconsistencies between CMake and LLVMBuild versions of...
[oota-llvm.git] / lib / Target / XCore / XCoreSubtarget.h
index 2e52571e2a3cf042d43d347b89e83765ca477123..7b29fa2367106d5451cf3bb259809c8fae32a483 100644 (file)
@@ -22,6 +22,7 @@
 #include "XCoreGenSubtargetInfo.inc"
 
 namespace llvm {
+class StringRef;
 
 class XCoreSubtarget : public XCoreGenSubtargetInfo {
 
@@ -34,7 +35,7 @@ public:
   
   /// ParseSubtargetFeatures - Parses features string setting specified 
   /// subtarget options.  Definition of function is auto generated by tblgen.
-  void ParseSubtargetFeatures(const std::string &FS, const std::string &CPU);
+  void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
 };
 } // End llvm namespace