commit | 96fe532c6789810e9ec3753c601847cfec643f30 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Sep 06 03:50:59 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Sep 06 03:50:59 2010 +0000 |
tree | b03ef683ca4ce0299c27a6f1ad0347fc1c65ce73 | |
parent | 497d13e82b3ebd8b2715308cd908a37ee756d202 [diff] [blame] |
allow specifying an indentation level for the string matcher. llvm-svn: 113143
diff --git a/llvm/utils/TableGen/StringMatcher.h b/llvm/utils/TableGen/StringMatcher.h index 7987820..1dadc76 100644 --- a/llvm/utils/TableGen/StringMatcher.h +++ b/llvm/utils/TableGen/StringMatcher.h
@@ -41,7 +41,7 @@ const std::vector<StringPair> &matches, raw_ostream &os) : StrVariableName(strVariableName), Matches(matches), OS(os) {} - void Emit() const; + void Emit(unsigned Indent = 0) const; private: