Teach the target parsing framework to directly compute the length of all
[oota-llvm.git] / include / llvm / ADT / Triple.h
index 3606ae76db61df4e68332f9a9dc25c42299e605d..97ca89f3515be5851de4aa91b3986b9a7abd3dd6 100644 (file)
@@ -595,7 +595,7 @@ public:
   ///
   /// \param Arch the architecture name (e.g., "armv7s"). If it is an empty
   /// string then the triple's arch name is used.
-  const char* getARMCPUForArch(StringRef Arch = StringRef()) const;
+  StringRef getARMCPUForArch(StringRef Arch = StringRef()) const;
 
   /// @}
   /// @name Static helpers for IDs.