[PATCH] D21075: Correct invalid end location in diagnostics for some identifiers.
Manuel Klimek via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 28 07:36:46 PDT 2016
klimek added inline comments.
================
Comment at: lib/Sema/SemaType.cpp:1339
@@ +1338,3 @@
+ auto R = DS.getSourceRange();
+ if (R.getEnd().isInvalid())
+ R.setEnd(R.getBegin());
----------------
Do you know in which cases we get source ranges that are half valid?
http://reviews.llvm.org/D21075
More information about the cfe-commits
mailing list