summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-08-06 09:47:24 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-08-06 09:47:24 +0000
commit249179cd732ca82bda2de128ac1eaab6159273e0 (patch)
treedd0f855c4ac0741f77f0670ee320ed2e3180d148 /clang/lib/AST/ASTContext.cpp
parent5a2849e166ec1ffc7d8a5392dd3ddbebff14dd51 (diff)
downloadbcm5719-llvm-249179cd732ca82bda2de128ac1eaab6159273e0.tar.gz
bcm5719-llvm-249179cd732ca82bda2de128ac1eaab6159273e0.zip
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 'clang/lib/AST/ASTContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud