rsmith added a comment.

In http://reviews.llvm.org/D20131#427717, @cameron314 wrote:

> I have no way to distinguish between a crash and the normal errors (with 
> hidden completions). Is there any other way to test this?


If you use `// RUN: not %clang_cc1 -code-completion-at=[...]`, the test should 
pass if clang fails normally but fail if clang crashes.


http://reviews.llvm.org/D20131



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

Reply via email to