On Fri, Jul 12, 2013 at 7:22 AM, Enea Zaffanella <[email protected]> wrote: > Please find attached a patch (with testcases) that fixes the source location > info for C++03 access declarations. > > While at it, some other improvements in code have been applied, such as: > > in a few helper methods of Sema.h: > * renamed isTypeName as HasTypenameKeyword; > > in UsingDecl (and UnresolvedUsingValueDecl, if appropriate): > * renamed is/setTypeName as has/setTypename > * renamed get/setUsingLocation to get/setUsingLoc > * added helper isAccessDeclaration() > * fixed getSourceRange > * fixed pretty printing > > in UnresolvedUsingTypenameDecl: > * set field UsingLocation in ctor, use it in getUsingLoc > and when (de-)serializing node. > > OK to commit? >
Please split this patch. It's practically unreadable as-is. -Eli _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
