mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 18:16:06 +00:00

The dependency mechanism for C has been implemented, and we have rolled out this to all internal users, didn't see crashy issues, we consider it is stable enough. Differential Revision: https://reviews.llvm.org/D89046
11 lines
221 B
C
11 lines
221 B
C
void f() {
|
|
auto foo = bar;
|
|
switch(foo) {
|
|
case x:
|
|
break;
|
|
}
|
|
}
|
|
|
|
// RUN: not %clang_cc1 -fsyntax-only -fno-recovery-ast -code-completion-at=%s:4:10 %s | FileCheck %s -allow-empty
|
|
// CHECK-NOT: COMPLETION: foo
|