diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-14 18:19:52 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-14 18:19:52 +0000 |
commit | ef668c169b67c56f7cbb41a317adf0ceb939f0a1 (patch) | |
tree | ce6c99a80d3c14e330033c4ba11d3e92feb6cb62 /llvm/tools/llvm-mc/AsmParser.h | |
parent | 75821f7c6947327b178a4edf260c813ab6e59dd9 (diff) | |
download | bcm5719-llvm-ef668c169b67c56f7cbb41a317adf0ceb939f0a1.tar.gz bcm5719-llvm-ef668c169b67c56f7cbb41a317adf0ceb939f0a1.zip |
llvm-mc: Support escaped characters in string literals (for .ascii and .asciz)
llvm-svn: 79010
Diffstat (limited to 'llvm/tools/llvm-mc/AsmParser.h')
-rw-r--r-- | llvm/tools/llvm-mc/AsmParser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mc/AsmParser.h b/llvm/tools/llvm-mc/AsmParser.h index 55efa84bc7b..a19f35f64aa 100644 --- a/llvm/tools/llvm-mc/AsmParser.h +++ b/llvm/tools/llvm-mc/AsmParser.h @@ -135,6 +135,10 @@ private: bool ParseDirectiveFile(SMLoc DirectiveLoc); // ".file" bool ParseDirectiveLine(SMLoc DirectiveLoc); // ".line" bool ParseDirectiveLoc(SMLoc DirectiveLoc); // ".loc" + + /// ParseEscapedString - Parse the current token as a string which may include + /// escaped characters and return the string contents. + bool ParseEscapedString(std::string &Data); }; } // end namespace llvm |