diff options
author | Kevin Enderby <enderby@apple.com> | 2011-09-13 23:45:18 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2011-09-13 23:45:18 +0000 |
commit | f1c21a8da6ed27a6ab4944e30bbeb4bd3ee08a71 (patch) | |
tree | 2803cd1eadbdddbf2e627846300f177b876f1bbe /include | |
parent | 4bffb62289614d355bdb160822eff7213ec9bb62 (diff) | |
download | external_llvm-f1c21a8da6ed27a6ab4944e30bbeb4bd3ee08a71.zip external_llvm-f1c21a8da6ed27a6ab4944e30bbeb4bd3ee08a71.tar.gz external_llvm-f1c21a8da6ed27a6ab4944e30bbeb4bd3ee08a71.tar.bz2 |
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')
-rw-r--r-- | include/llvm/MC/MCParser/AsmLexer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCParser/AsmLexer.h b/include/llvm/MC/MCParser/AsmLexer.h index ab78799..b1277ec 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); |