mattsta added a comment.

It's difficult to track down *why* the invalid locations are happening because 
by the time we get to an invalid location, all source location information is 
lost.  The best I've been able to come up with is fixing the early return 
conditions (which were previously impossible to reach due to asserts catching 
the invalid conditions first).

It's easy to have these happen on any large codebase (e.g. try to recursively 
clang-tidy the erlang source tree with readability-braces-around-statements).


Repository:
  rL LLVM

http://reviews.llvm.org/D15797



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

Reply via email to