malcolm.parsons added a comment. In https://reviews.llvm.org/D25316#563930, @Prazek wrote:
> Please add tests with > > long long p = static_cast<long long>(4); > > > and the same with const at beginning. I remember I had problems with this > last time (Type->SourceRange was returning only source range for the first > token. BuiltinTypeLoc only returns the first token: SourceRange getLocalSourceRange() const { return SourceRange(getBuiltinLoc(), getBuiltinLoc()); } The existing check fails too: -long long *ll = new long long(); +auto long *ll = new long long(); https://reviews.llvm.org/D25316 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits