[cfe-dev] clang and gcc implement __PRETTY_FUNCTION__ differently

Douglas Gregor dgregor at apple.com
Thu Mar 15 12:44:14 PDT 2012


On Mar 15, 2012, at 3:46 AM, Nikola Smiljanic wrote:

> That did the trick, but I don't understand why, what is the difference
> between getTemplatedDecl (underlying template declaration) and
> getInstantiatedFromMemberTemplate (previous declaration of this
> template). And then there is also getPreviousDecl (previous
> declaration of this function template). Doxygen comments aren't very
> revealing here, and I'm sure that knowing the terminology from the
> standard would help, but can somebody please explain.

I gave getInstantiatedFromMemberTemplate() is proper Doxygen comment in r152826.

	- Doug



More information about the cfe-dev mailing list