diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-16 20:16:20 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-16 20:16:20 +0000 |
commit | c5ac87d067861309fb461b9c53f9e429fbe0d067 (patch) | |
tree | cd310abed1e64d79e71669fc1b8c6937b64a3b9d /lib/MC | |
parent | be6f884afc019b54f6185064cd2daa45c5c73c57 (diff) | |
download | external_llvm-c5ac87d067861309fb461b9c53f9e429fbe0d067.zip external_llvm-c5ac87d067861309fb461b9c53f9e429fbe0d067.tar.gz external_llvm-c5ac87d067861309fb461b9c53f9e429fbe0d067.tar.bz2 |
[ms-inline asm] Add the helper function, isParseringInlineAsm(). To be used in a future commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCParser/AsmParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index 0406ff8..a5d0666 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -182,6 +182,7 @@ public: bool ParseStatement(); void setParsingInlineAsm(bool V) { ParsingInlineAsm = V; } + bool isParsingInlineAsm() { return ParsingInlineAsm; } unsigned getNumParsedOperands() { return ParsedOperands.size(); } MCParsedAsmOperand &getParsedOperand(unsigned OpNum) { assert (ParsedOperands.size() > OpNum); |