[PATCH] D20131: Fixed crash during code completion in file included within declaration

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Wed May 11 14:10:09 PDT 2016


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





More information about the cfe-commits mailing list