diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-07 13:34:05 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-07 13:34:05 +0000 |
| commit | 41d630f448ed8b7ac6b2d513337bcf51a6bd4407 (patch) | |
| tree | 7d846cf7c16276d1b274872be4275f9586f1a987 /llvm | |
| parent | f86d1f0b7742806d5fe1469044e2a384a73057a0 (diff) | |
| download | bcm5719-llvm-41d630f448ed8b7ac6b2d513337bcf51a6bd4407.tar.gz bcm5719-llvm-41d630f448ed8b7ac6b2d513337bcf51a6bd4407.zip | |
Fix the documentation of getDefaultSubtargetFeatures.
Patch by David Nadlinger.
llvm-svn: 192098
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/MC/SubtargetFeature.h | 3 | ||||
| -rw-r--r-- | llvm/lib/MC/SubtargetFeature.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/include/llvm/MC/SubtargetFeature.h b/llvm/include/llvm/MC/SubtargetFeature.h index 8862c8b7629..acebf99edc7 100644 --- a/llvm/include/llvm/MC/SubtargetFeature.h +++ b/llvm/include/llvm/MC/SubtargetFeature.h @@ -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); }; diff --git a/llvm/lib/MC/SubtargetFeature.cpp b/llvm/lib/MC/SubtargetFeature.cpp index 7625abd465f..68d68fff546 100644 --- a/llvm/lib/MC/SubtargetFeature.cpp +++ b/llvm/lib/MC/SubtargetFeature.cpp @@ -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 |

