Commits

Argyrios Kyrtzidis committed 80b3f56b407
[AST] Fix the cursor-info tests with these changes: - Make sure VarDecls have an associated TypeLoc, like ParamDecls do, then use it for printing the VarDecl's type. This is done by moving ParamDecl's TypeLoc up to the VarDecl. This is useful for being able to display the parameter names of function types embedded in VarDecls. - Use the result TypeLoc of functions for printing. This enables printing parameter names of function types embedded in return types. - Make sure to annotate attributes while they are printed.