diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-01-18 01:25:33 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-01-18 01:25:33 +0000 |
commit | 4038fa3c82de858661143d3c8d129318fcbcc6f8 (patch) | |
tree | f37e8e34fe1d656f3b2c755e5905d8388960ff1c /llvm/lib/MC/MCParser/AsmParser.cpp | |
parent | b94c578c0ccc958ead5a0d280b45a972a0a43f03 (diff) | |
download | bcm5719-llvm-4038fa3c82de858661143d3c8d129318fcbcc6f8.tar.gz bcm5719-llvm-4038fa3c82de858661143d3c8d129318fcbcc6f8.zip |
[MC] Expose ParseEscapedString to target AsmParser implementations.
llvm-svn: 172777
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp')
-rw-r--r-- | llvm/lib/MC/MCParser/AsmParser.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp index 0aca2fa46e7..7d4b4d887dd 100644 --- a/llvm/lib/MC/MCParser/AsmParser.cpp +++ b/llvm/lib/MC/MCParser/AsmParser.cpp @@ -427,10 +427,7 @@ private: bool ParseDirectiveElseIf(SMLoc DirectiveLoc); // ".elseif" bool ParseDirectiveElse(SMLoc DirectiveLoc); // ".else" bool ParseDirectiveEndIf(SMLoc DirectiveLoc); // .endif - - /// ParseEscapedString - Parse the current token as a string which may include - /// escaped characters and return the string contents. - bool ParseEscapedString(std::string &Data); + virtual bool ParseEscapedString(std::string &Data); const MCExpr *ApplyModifierToExpr(const MCExpr *E, MCSymbolRefExpr::VariantKind Variant); |