Print:
authorChris Lattner <sabre@nondot.org>
Wed, 7 Sep 2005 05:44:14 +0000 (05:44 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Sep 2005 05:44:14 +0000 (05:44 +0000)
'' is not a recognized processor for this target (ignoring processor)

instead of:

 is not a recognized processor for this target (ignoring processor)

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

lib/Target/SubtargetFeature.cpp

index bcb8f751aacb76ede51599af93c4c398646f5c0b..29afeff87783eb357cebff308f29b7356cc8e782 100644 (file)
@@ -157,8 +157,8 @@ uint32_t SubtargetFeatures::Parse(const std::string &String,
     // Set base feature bits
     Bits = CPUEntry->Value;
   } else {
-    std::cerr << Features[0]
-              << " is not a recognized processor for this target"
+    std::cerr << "'" << Features[0]
+              << "' is not a recognized processor for this target"
               << " (ignoring processor)"
               << "\n";
   }
@@ -177,8 +177,8 @@ uint32_t SubtargetFeatures::Parse(const std::string &String,
       if (isEnabled(Feature)) Bits |=  FeatureEntry->Value;
       else                    Bits &= ~FeatureEntry->Value;
     } else {
-      std::cerr << Feature
-                << " is not a recognized feature for this target"
+      std::cerr << "'" << Feature
+                << "' is not a recognized feature for this target"
                 << " (ignoring feature)"
                 << "\n";
     }