summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2011-09-13 23:45:18 +0000
committerKevin Enderby <enderby@apple.com>2011-09-13 23:45:18 +0000
commitf1c21a8da6ed27a6ab4944e30bbeb4bd3ee08a71 (patch)
tree2803cd1eadbdddbf2e627846300f177b876f1bbe /include/llvm
parent4bffb62289614d355bdb160822eff7213ec9bb62 (diff)
downloadllvm-f1c21a8da6ed27a6ab4944e30bbeb4bd3ee08a71.tar.gz
llvm-f1c21a8da6ed27a6ab4944e30bbeb4bd3ee08a71.tar.bz2
llvm-f1c21a8da6ed27a6ab4944e30bbeb4bd3ee08a71.tar.xz
First step in supporting #line directives in assembler. This step parses the
#line directives with the needed support in the lexer. Next will be to build a simple file/line# table mapping source SMLoc's for later use by diagnostics. And the last step will be to get the diagnostics to use the mapping for file and line numbers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/MC/MCParser/AsmLexer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCParser/AsmLexer.h b/include/llvm/MC/MCParser/AsmLexer.h
index ab78799fdc..b1277ec6ef 100644
--- a/include/llvm/MC/MCParser/AsmLexer.h
+++ b/include/llvm/MC/MCParser/AsmLexer.h
@@ -47,6 +47,7 @@ public:
void setBuffer(const MemoryBuffer *buf, const char *ptr = NULL);
virtual StringRef LexUntilEndOfStatement();
+ StringRef LexUntilEndOfLine();
bool isAtStartOfComment(char Char);
bool isAtStatementSeparator(const char *Ptr);