[PATCH] Fix/Improve SourceRange of explicitly defaulted members

Daniel Jasper djasper at google.com
Wed Jun 18 06:11:59 PDT 2014

It happens e.g. in test/SemaTemplate/instantiate-default-assignment-operator.cpp. Not sure whether it is a bug or not. I think if the entire member is implicit, getLocation() delivers a somewhat reasonable location whereas getLocEnd() (or EndRangeLoc) is never set.


More information about the cfe-commits mailing list