aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/TableGen/StringMatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/TableGen/StringMatcher.h')
-rw-r--r--include/llvm/TableGen/StringMatcher.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/TableGen/StringMatcher.h b/include/llvm/TableGen/StringMatcher.h
index 09d2092d43b0..3aa3540d616d 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<std::string, std::string>;