Fix and modernize StringMatcher comment; NFC
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Fri, 28 Sep 2018 13:31:55 +0000 (13:31 +0000)
committerSven van Haastregt <sven.vanhaastregt@arm.com>
Fri, 28 Sep 2018 13:31:55 +0000 (13:31 +0000)
llvm-svn: 343316

llvm/include/llvm/TableGen/StringMatcher.h

index 09d2092..3aa3540 100644 (file)
@@ -23,12 +23,11 @@ namespace llvm {
 
 class raw_ostream;
 
-/// StringMatcher - Given a list of strings and code to execute when they match,
-/// output a simple switch tree to classify the input string.
+/// Given a list of strings and code to execute when they match, output a
+/// simple switch tree to classify the input string.
 ///
-/// If a match is found, the code in Vals[i].second is executed; control must
+/// If a match is found, the code in Matches[i].second is executed; control must
 /// not exit this code fragment.  If nothing matches, execution falls through.
-///
 class StringMatcher {
 public:
   using StringPair = std::pair<std::string, std::string>;