diff options
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2018-09-28 13:31:55 +0000 |
---|---|---|
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2018-09-28 13:31:55 +0000 |
commit | 66f4e45b35c809ff81b81044260a520e041a7d49 (patch) | |
tree | 73ad6553677885f04fc17ef4b0b558bc5c745660 /llvm | |
parent | ff1bc621a01ced0ee74e60b2083f3ccd19dd74f4 (diff) | |
download | bcm5719-llvm-66f4e45b35c809ff81b81044260a520e041a7d49.tar.gz bcm5719-llvm-66f4e45b35c809ff81b81044260a520e041a7d49.zip |
Fix and modernize StringMatcher comment; NFC
llvm-svn: 343316
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/TableGen/StringMatcher.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/include/llvm/TableGen/StringMatcher.h b/llvm/include/llvm/TableGen/StringMatcher.h index 09d2092d43b..3aa3540d616 100644 --- a/llvm/include/llvm/TableGen/StringMatcher.h +++ b/llvm/include/llvm/TableGen/StringMatcher.h @@ -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>; |