summaryrefslogtreecommitdiffstats
path: root/clang/clang.xcodeproj
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-11-17 20:34:05 +0000
committerDouglas Gregor <dgregor@apple.com>2008-11-17 20:34:05 +0000
commitae2fbad373e5fafc2d3a9633b80d12d653605762 (patch)
treea586d9834af1e771d95a5a788ec4ea71ebe084e1 /clang/clang.xcodeproj
parent4f474b092ed1ce56fe38fffdaf552b78e3b5e43f (diff)
downloadbcm5719-llvm-ae2fbad373e5fafc2d3a9633b80d12d653605762.tar.gz
bcm5719-llvm-ae2fbad373e5fafc2d3a9633b80d12d653605762.zip
Updated IdentifierResolver to deal with DeclarationNames. The names of
C++ constructors, destructors, and conversion functions now have a FETokenInfo field that IdentifierResolver can access, so that these special names are handled just like ordinary identifiers. A few other Sema routines now use DeclarationNames instead of IdentifierInfo*'s. To validate this design, this code also implements parsing and semantic analysis for id-expressions that name conversion functions, e.g., return operator bool(); The new parser action ActOnConversionFunctionExpr takes the result of parsing "operator type-id" and turning it into an expression, using the IdentifierResolver with the DeclarationName of the conversion function. ActOnDeclarator pushes those conversion function names into scope so that the IdentifierResolver can find them, of course. llvm-svn: 59462
Diffstat (limited to 'clang/clang.xcodeproj')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud