mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
Fix and modernize StringMatcher comment; NFC
llvm-svn: 343316
This commit is contained in:
parent
4d0632639a
commit
557d36975e
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user