[cfe-commits] [PATCH (need approval) 2/2] Compute a more accurate SourceRange for out-of-line template declarations

Douglas Gregor dgregor at apple.com
Tue Jul 6 11:43:15 PDT 2010

On Jul 5, 2010, at 11:42 AM, Peter Collingbourne wrote:

> Now that DeclaratorDecl and TagDecl store out-of-line template
> declaration information, we can compute a more accurate SourceRange
> that covers outer template declarations.  This patch teaches
> DeclaratorDecl and TagDecl subclasses' getSourceRange() methods to
> check for and use out-of-line template declaration information.

Looks great, thanks! Committed as r107686.

In the future, could you provide your patches as e-mail attachments rather than inline? It makes reviewing/applying patches easier.

	- Doug

More information about the cfe-commits mailing list