akyrtzi added a comment.

I'm not sure removing all the Importer.FromDiag() calls is the right thing. You 
are changing

Importer.FromDiag(D->getLocation(), diag::err_unsupported_ast_node)

to

Importer.ToDiag(SourceLocation(), diag::err_unsupported_ast_node)

and you lose the source location information.


http://reviews.llvm.org/D17026



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to