summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-01-18 01:25:33 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-01-18 01:25:33 +0000
commitbfdcc70d34f9c2bf3d4815c6d29fd43f01db8b76 (patch)
tree666fc7a88896f8072c52ab78aef06cdde439d84d /lib
parent9b6a44712a0caef8617adba857f065c5b48b1f45 (diff)
downloadllvm-bfdcc70d34f9c2bf3d4815c6d29fd43f01db8b76.tar.gz
llvm-bfdcc70d34f9c2bf3d4815c6d29fd43f01db8b76.tar.bz2
llvm-bfdcc70d34f9c2bf3d4815c6d29fd43f01db8b76.tar.xz
[MC] Expose ParseEscapedString to target AsmParser implementations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/MC/MCParser/AsmParser.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp
index 0aca2fa46e..7d4b4d887d 100644
--- a/lib/MC/MCParser/AsmParser.cpp
+++ b/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);