[C++ Patch] PR 53158

Jason Merrill jason@redhat.com
Wed May 9 13:21:00 GMT 2012


I think the problem is you really want to use EXPR_LOC_OR_HERE rather 
than location_of; if the argument happens to be a DECL, location_of will 
give you the declaration location rather than the use location.

Jason



More information about the Gcc-patches mailing list