[cfe-dev] Can implicit casts have a valid program point?

Douglas Gregor dgregor at apple.com
Fri Feb 13 10:11:55 PST 2009


On Feb 13, 2009, at 9:44 AM, Paolo Bolzoni wrote:

>
> dear cfe-dev,
> the implicit casts' AST vertices seem to always have non valid program
> points.

Yes, that's intended.

> Is it always true? Can I assume in my code that the program point  
> will never
> be there?


Yes.  Implicit casts are never written in the source code, so they'll  
never have their own source locations.

	- Doug



More information about the cfe-dev mailing list