summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/StringMatcher.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-06 03:50:59 +0000
committerChris Lattner <sabre@nondot.org>2010-09-06 03:50:59 +0000
commit96fe532c6789810e9ec3753c601847cfec643f30 (patch)
treeb03ef683ca4ce0299c27a6f1ad0347fc1c65ce73 /llvm/utils/TableGen/StringMatcher.h
parent497d13e82b3ebd8b2715308cd908a37ee756d202 (diff)
downloadbcm5719-llvm-96fe532c6789810e9ec3753c601847cfec643f30.tar.gz
bcm5719-llvm-96fe532c6789810e9ec3753c601847cfec643f30.zip
allow specifying an indentation level for the string matcher.
llvm-svn: 113143
Diffstat (limited to 'llvm/utils/TableGen/StringMatcher.h')
-rw-r--r--llvm/utils/TableGen/StringMatcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/StringMatcher.h b/llvm/utils/TableGen/StringMatcher.h
index 79878202943..1dadc76200b 100644
--- a/llvm/utils/TableGen/StringMatcher.h
+++ b/llvm/utils/TableGen/StringMatcher.h
@@ -41,7 +41,7 @@ public:
const std::vector<StringPair> &matches, raw_ostream &os)
: StrVariableName(strVariableName), Matches(matches), OS(os) {}
- void Emit() const;
+ void Emit(unsigned Indent = 0) const;
private:
OpenPOWER on IntegriCloud