[clang-tools-extra] [clangd] Check for valid location in ExtractionContext::exprIsValidOutside (PR #71162)

Björn Pettersson via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 10 02:34:55 PST 2023


================
@@ -0,0 +1,11 @@
+// RUN: cp %s %t.c
----------------
bjope wrote:

I've been trying to do that, but so far no luck. I hit this assertion in TweakTesting.h:
`      assert(!A.points().empty() || !A.ranges().empty()); 
`

https://github.com/llvm/llvm-project/pull/71162


More information about the cfe-commits mailing list