From 557d36975e30ad1c66ec7c6fba7a0c42c917441b Mon Sep 17 00:00:00 2001 From: Sven van Haastregt Date: Fri, 28 Sep 2018 13:31:55 +0000 Subject: [PATCH] Fix and modernize StringMatcher comment; NFC llvm-svn: 343316 --- include/llvm/TableGen/StringMatcher.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/llvm/TableGen/StringMatcher.h b/include/llvm/TableGen/StringMatcher.h index 09d2092d43b..3aa3540d616 100644 --- a/include/llvm/TableGen/StringMatcher.h +++ b/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;