brintos

brintos / llvm-project-archived public Read only

0
0
Text · 663 B · 4eef599 Raw
16 lines · c
1// RUN: export LSAN_OPTIONS=detect_leaks=02// RUN: rm -rf %t3// RUN: mkdir %t4// RUN: env CINDEXTEST_INVOCATION_EMISSION_PATH=%t not c-index-test -code-completion-at=%s:10:1 "-remap-file=%s,%S/Inputs/record-parsing-invocation-remap.c" %s5// RUN: %clang -cc1gen-reproducer %t/libclang-* -v | FileCheck %s6 7// Invocation file must be removed by clang:8// RUN: ls %t | count 09 10// CHECK: REPRODUCER METAINFO: {"libclang.operation": "complete", "libclang.opts": "1", "invocation-args": ["-code-completion-at={{.*}}create-libclang-completion-reproducer.c:10:1"]}11 12// CHECK: REPRODUCER:13// CHECK-NEXT: {14// CHECK-NEXT: "files":["{{.*}}.c","{{.*}}.sh"]15// CHECK-NEXT: }16