[llvm] r343316 - Fix and modernize StringMatcher comment; NFC

Sven van Haastregt via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 28 06:31:55 PDT 2018


Author: svenvh
Date: Fri Sep 28 06:31:55 2018
New Revision: 343316

URL: http://llvm.org/viewvc/llvm-project?rev=343316&view=rev
Log:
Fix and modernize StringMatcher comment; NFC

Modified:
    llvm/trunk/include/llvm/TableGen/StringMatcher.h

Modified: llvm/trunk/include/llvm/TableGen/StringMatcher.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/TableGen/StringMatcher.h?rev=343316&r1=343315&r2=343316&view=diff
==============================================================================
--- llvm/trunk/include/llvm/TableGen/StringMatcher.h (original)
+++ llvm/trunk/include/llvm/TableGen/StringMatcher.h Fri Sep 28 06:31:55 2018
@@ -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>;




More information about the llvm-commits mailing list