[RISCV][VLOPT] Add vector narrowing integer right shift instructions to isSupportedIn...
[llvm-project.git] / clang / test / CodeCompletion / after-function-equals.cpp
bloba13ba41f6ff136c0da68aad970e5db520ae6b640
1 struct A {
2 A() = default;
3 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:%(line-1):9 -std=gnu++11 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
4 // CHECK-CC1: COMPLETION: default
5 // CHECK-CC1-NEXT: COMPLETION: delete
7 A(const A &) = default;
8 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:%(line-1):18 -std=gnu++11 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
9 // CHECK-CC2: COMPLETION: default
10 // CHECK-CC2-NEXT: COMPLETION: delete
12 A(const A &, int) = delete;
13 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:%(line-1):23 -std=gnu++11 %s -o - | FileCheck -check-prefix=CHECK-CC3 %s
14 // CHECK-CC3-NOT: COMPLETION: default
15 // CHECK-CC3: COMPLETION: delete
17 A(A &&);
19 A &operator=(const A &) = default;
20 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:%(line-1):29 -std=gnu++11 %s -o - | FileCheck -check-prefix=CHECK-CC4 %s
21 // CHECK-CC4: COMPLETION: default
22 // CHECK-CC4-NEXT: COMPLETION: delete
24 bool operator==(const A &) const = delete;
25 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:%(line-1):38 -std=gnu++11 %s -o - | FileCheck -check-prefix=CHECK-CC5 %s
26 // CHECK-CC5-NOT: COMPLETION: default
27 // CHECK-CC5: COMPLETION: delete
29 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:%(line-5):38 -std=gnu++20 %s -o - | FileCheck -check-prefix=CHECK-CC6 %s
30 // CHECK-CC6: COMPLETION: default
31 // CHECK-CC6-NEXT: COMPLETION: delete
33 void test() = delete;
34 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:%(line-1):17 -std=gnu++11 %s -o - | FileCheck -check-prefix=CHECK-CC7 %s
35 // CHECK-CC7-NOT: COMPLETION: default
36 // CHECK-CC7: COMPLETION: delete
39 A::A(A &&) = default;
40 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:%(line-1):14 -std=gnu++11 %s -o - | FileCheck -check-prefix=CHECK-CC8 %s
41 // CHECK-CC8: COMPLETION: default
42 // CHECK-CC8-NEXT: COMPLETION: delete
44 void test() = delete;
45 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:%(line-1):15 -std=gnu++11 %s -o - | FileCheck -check-prefix=CHECK-CC9 %s
46 // CHECK-CC9-NOT: COMPLETION: default
47 // CHECK-CC9: COMPLETION: delete