[clang-tools-extra] d860480 - Revert "[clangd] Add test for GH75115 (#75116)"

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 13 13:25:06 PST 2023


Author: Nico Weber
Date: 2023-12-13T16:24:40-05:00
New Revision: d860480f9b20b308a677daf45f7bfe1da2a03ac7

URL: https://github.com/llvm/llvm-project/commit/d860480f9b20b308a677daf45f7bfe1da2a03ac7
DIFF: https://github.com/llvm/llvm-project/commit/d860480f9b20b308a677daf45f7bfe1da2a03ac7.diff

LOG: Revert "[clangd] Add test for GH75115 (#75116)"

This reverts commit 04580edd8a394dc2ccee7363c8a41ee05b1a6b98.

The test fails if asserts are disabled, see
https://github.com/llvm/llvm-project/pull/75116#issuecomment-1854543611
and the next comment.

Added: 
    

Modified: 
    

Removed: 
    clang-tools-extra/clangd/test/GH75115.test


################################################################################
diff  --git a/clang-tools-extra/clangd/test/GH75115.test b/clang-tools-extra/clangd/test/GH75115.test
deleted file mode 100644
index 030392f1d69b30..00000000000000
--- a/clang-tools-extra/clangd/test/GH75115.test
+++ /dev/null
@@ -1,12 +0,0 @@
-// RUN: rm -rf %t.dir && mkdir -p %t.dir
-// RUN: echo '[{"directory": "%/t.dir", "command": "clang --target=x86_64-pc-windows-msvc -x c GH75115.test", "file": "GH75115.test"}]' > %t.dir/compile_commands.json
-// RUN: not --crash clangd -enable-config=0 --compile-commands-dir=%t.dir -check=%s 2>&1 | FileCheck -strict-whitespace %s
-
-// FIXME: Crashes
-
-// CHECK: Building preamble...
-// CHECK-NEXT: Built preamble
-// CHECK-NEXT: Indexing headers...
-// CHECK-NEXT: !KeyInfoT::isEqual(Val, EmptyKey) && !KeyInfoT::isEqual(Val, TombstoneKey) && "Empty/Tombstone value shouldn't be inserted into map!"
-
-#define assert


        


More information about the cfe-commits mailing list