diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-06 09:47:24 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-06 09:47:24 +0000 |
commit | 249179cd732ca82bda2de128ac1eaab6159273e0 (patch) | |
tree | dd0f855c4ac0741f77f0670ee320ed2e3180d148 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
parent | 5a2849e166ec1ffc7d8a5392dd3ddbebff14dd51 (diff) | |
download | llvm-249179cd732ca82bda2de128ac1eaab6159273e0.zip llvm-249179cd732ca82bda2de128ac1eaab6159273e0.tar.gz llvm-249179cd732ca82bda2de128ac1eaab6159273e0.tar.bz2 |
Introduce a new token kind 'cxx_defaultarg_end' to mark the end of C++ default arguments that were part of
lexed method declarations.
This avoid interference with tokens coming after the point where the default arg tokens were 'injected', e.g. for
typedef struct Inst {
void m(int x=0);
} *InstPtr;
when parsing '0' the next token would be '*' and things would be messed up.
llvm-svn: 110436
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions