[llvm] r233470 - Update comment to match code behavior.
Craig Topper
craig.topper at gmail.com
Fri Mar 27 20:24:19 PDT 2015
Author: ctopper
Date: Fri Mar 27 22:24:19 2015
New Revision: 233470
URL: http://llvm.org/viewvc/llvm-project?rev=233470&view=rev
Log:
Update comment to match code behavior.
Modified:
llvm/trunk/lib/MC/SubtargetFeature.cpp
Modified: llvm/trunk/lib/MC/SubtargetFeature.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/SubtargetFeature.cpp?rev=233470&r1=233469&r2=233470&view=diff
==============================================================================
--- llvm/trunk/lib/MC/SubtargetFeature.cpp (original)
+++ llvm/trunk/lib/MC/SubtargetFeature.cpp Fri Mar 27 22:24:19 2015
@@ -82,7 +82,7 @@ static std::string Join(const std::vecto
/// Adding features.
void SubtargetFeatures::AddFeature(StringRef String) {
- // Don't add empty features or features we already have.
+ // Don't add empty features.
if (!String.empty())
// Convert to lowercase, prepend flag if we don't already have a flag.
Features.push_back(hasFlag(String) ? String.str() : "+" + String.lower());
More information about the llvm-commits
mailing list