Fix the documentation of getDefaultSubtargetFeatures.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 7 Oct 2013 13:34:05 +0000 (13:34 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 7 Oct 2013 13:34:05 +0000 (13:34 +0000)
Patch by David Nadlinger.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192098 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/SubtargetFeature.h
lib/MC/SubtargetFeature.cpp

index 8862c8b762960febd9874a530d03ba88d5666244..acebf99edc71d31f46b0ac32ae6244eaba329c8c 100644 (file)
@@ -99,8 +99,7 @@ public:
   // Dump feature info.
   void dump() const;
 
-  /// Retrieve a formatted string of the default features for the specified
-  /// target triple.
+  /// Adds the default features for the specified target triple.
   void getDefaultSubtargetFeatures(const Triple& Triple);
 };
 
index 7625abd465fa10277583c32a66046808e14d50e7..68d68fff5465f4afe38c7456f894ef138ceb60ee 100644 (file)
@@ -353,8 +353,7 @@ void SubtargetFeatures::dump() const {
 }
 #endif
 
-/// getDefaultSubtargetFeatures - Return a string listing the features
-/// associated with the target triple.
+/// Adds the default features for the specified target triple.
 ///
 /// FIXME: This is an inelegant way of specifying the features of a
 /// subtarget. It would be better if we could encode this information