/llvm-project/llvm/test/FileCheck/ |
H A D | check-count.txt | 35 this is duplicate 36 this is duplicate 37 this is not duplicate 38 this is duplicate 39 this is duplicate 40 this is duplicate 43 CHECK-CNT1-COUNT-1: this is duplicate 44 CHECK-CNT1: this is duplicate 45 CHECK-CNT1-NEXT: this is not duplicate 48 CHECK-CNT2-COUNT-2: this is duplicate [all …]
|
/llvm-project/llvm/test/tools/llvm-dwp/X86/ |
H A D | duplicate.test | 1 RUN: not llvm-dwp %p/../Inputs/duplicate/c.dwo %p/../Inputs/duplicate/c.dwo -o %t 2>&1 \ 4 RUN: not llvm-dwp %p/../Inputs/duplicate/c.dwo %p/../Inputs/duplicate/bc.dwp -o %t 2>&1 \ 7 RUN: not llvm-dwp %p/../Inputs/duplicate/ac.dwp %p/../Inputs/duplicate/c.dwo -o %t 2>&1 \ 21 DWOS: error: duplicate DWO ID ({{.*}}) in 'c.c' and 'c.c'{{$}} 22 1DWP: error: duplicate DWO ID ({{.*}}) in 'c.c' (from '{{.*}}ac.dwp') and 'c.c'{{$}} 23 2DWP: error: duplicate DWO ID ({{.*}}) in 'c.c' and 'c.c' (from '{{.*}}bc.dwp'){{$}} 25 DWODWOS: error: duplicate DWO ID ({{.*}}) in 'c.c' (from 'c.dwo') and 'c.c' (from 'c.dwo'){{$}} 26 DWO1DWP: error: duplicate DWO ID ({{.*}}) in 'c.c' (from 'c.dwo' in '{{.*}}ac.dwp') and 'c.c' (from… 27 DWO2DWP: error: duplicate DWO ID ({{.*}}) in 'c.c' (from 'c.dwo') and 'c.c' (from 'c.dwo' in '{{.*}…
|
/llvm-project/clang/test/SemaObjC/ |
H A D | dictionary-literal-duplicates.m | 29 @"foo" : @0, // expected-warning{{duplicate key in dictionary literal}} 30 @("foo") : @0, // expected-warning{{duplicate key in dictionary literal}} 34 @YES : @0, // expected-warning{{duplicate key in dictionary literal}} 35 @'\1' : @0, // expected-warning{{duplicate key in dictionary literal}} 36 @1 : @0, // expected-warning{{duplicate key in dictionary literal}} 37 @1ul : @0, // expected-warning{{duplicate key in dictionary literal}} 38 @1ll : @0, // expected-warning{{duplicate key in dictionary literal}} 40 @true : @0, // expected-warning{{duplicate key in dictionary literal}} 46 @-1ll : @0, // expected-warning{{duplicate key in dictionary literal}} 47 @(NO-YES) : @0, // expected-warning{{duplicate key in dictionary literal}} [all …]
|
H A D | check-dup-decl-methods-1.m | 12 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}} 21 - (int) catm : (char*)ch1; // expected-error {{duplicate declaration of method 'catm:'}} 29 + (int) catm1 : (char)ch : (int*)i; // expected-error {{duplicate declaration of method 'catm1::'}} 30 + (T**) meth1; // expected-error {{duplicate declaration of method 'meth1'}} 36 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}}
|
H A D | duplicate-ivar-in-class-extension.m | 12 int ivar; // expected-error {{duplicate member 'ivar'}} 13 int another_ivar; // expected-error {{duplicate member 'another_ivar'}} 14 int iSuper; // expected-error {{duplicate member 'iSuper'}} 30 return self->ivar; // would be ambiguous if the duplicate ivar were allowed
|
H A D | category-1.m | 11 @interface MyClass1 (Category1) // expected-warning {{duplicate definition of category 'Category1'… 24 @interface MyClass1 (Category4) @end // expected-warning {{duplicate definition of category 'Catego… 25 @interface MyClass1 (Category7) @end // expected-warning {{duplicate definition of category 'Catego… 26 @interface MyClass1 (Category8) @end // expected-warning {{duplicate definition of category 'Catego… 51 @interface XCRemoteComputerManager(x) // expected-warning {{duplicate definition of category 'x' on…
|
H A D | check-dup-objc-decls-1.m | 2 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class -Wno-objc-duplicate-category-definiti… 34 @interface A<Q> @end // expected-error {{duplicate interface definition for class 'A'}} 37 @protocol PP<Q> @end // expected-warning {{duplicate protocol definition of 'PP'}} 50 // expected-warning@-4 {{duplicate definition of category 'Cat' on interface 'A'}}
|
H A D | class-extension-dup-methods.m | 11 - (void) garf; // expected-error {{duplicate declaration of method 'garf'}} 12 + (void) cgarf; // expected-error {{duplicate declaration of method 'cgarf'}} 26 + (void)someMethodWithArgument:(float)argument : (float)argument2; // expected-error {{duplicate de…
|
/llvm-project/llvm/test/tools/llvm-ar/ |
H A D | mri-delete.test | 37 # RUN: llvm-ar -M < duplicate.mri 38 # RUN: llvm-ar tv duplicate.ar | FileCheck %s --check-prefixes=DELETE --implicit-check-not=elf.o 41 # RUN: llvm-ar -M < duplicate-re-add.mri 42 # RUN: llvm-ar tv duplicate-re-add.ar | FileCheck %s --check-prefixes=DELETE --implicit-check-not=e… 49 # RUN: llvm-ar -M < thin-duplicate.mri 50 # RUN: llvm-ar tv thin-duplicate.ar | FileCheck %s --check-prefixes=DELETE --implicit-check-not=elf… 61 # RUN: llvm-ar -M < addlib-thin-duplicate.mri 62 # RUN: llvm-ar tv addlib-thin-duplicate.ar | FileCheck %s --check-prefixes=DELETE --implicit-check-… 111 #--- duplicate.mri 112 create duplicate.ar [all …]
|
H A D | mri-end.test | 33 # RUN: llvm-ar -M < duplicate-end-no-save.mri 34 # RUN: test ! -e duplicate-end-no-save.ar 36 # RUN: llvm-ar -M < duplicate-end-save.mri 37 # RUN: llvm-ar t duplicate-end-save.ar | FileCheck %s 75 #--- duplicate-end-no-save.mri 76 create duplicate-end-no-save.ar 81 #--- duplicate-end-save.mri 82 create duplicate-end-save.ar
|
H A D | mri-addmod.test | 26 # RUN: llvm-ar -M < duplicate.mri 27 # RUN: llvm-nm --print-armap duplicate.a | FileCheck --check-prefix=SYMS2 %s 28 # RUN: llvm-ar t duplicate.a | FileCheck --check-prefix=FILES2 %s 62 #--- duplicate.mri 63 CREATE duplicate.a
|
H A D | mri-addlib.test | 34 # RUN: llvm-ar -M < duplicate.mri 35 # RUN: llvm-nm --print-armap duplicate.a | FileCheck --check-prefix=SYMS2 %s 36 # RUN: llvm-ar t duplicate.a | FileCheck --check-prefix=FILES2 %s 78 #--- duplicate.mri 79 CREATE duplicate.a
|
/llvm-project/llvm/test/MC/ARM/ |
H A D | eh-directive-movsp.s | 8 .section .duplicate 10 .global duplicate symbol 11 .type duplicate,%function 12 duplicate: label 21 @ CHECK: Name: .ARM.exidx.duplicate
|
/llvm-project/llvm/test/tools/llvm-exegesis/X86/latency/ |
H A D | latency-LEA64_32r.s | 1 …rk-phase=assemble-measured-code -opcode-name=LEA64_32r -repetition-mode=duplicate -max-configs-per… 2 …rk-phase=assemble-measured-code -opcode-name=LEA64_32r -repetition-mode=duplicate -max-configs-per… 8 …de -opcode-name=LEA64_32r -repetition-mode=duplicate -max-configs-per-opcode=2 --benchmarks-file=%… 9 …de -opcode-name=LEA64_32r -repetition-mode=duplicate -max-configs-per-opcode=2 --benchmarks-file=%… 10 # RUN: FileCheck --input-file %t.duplicate.yaml %s 11 # RUN: FileCheck --input-file %t.duplicate.yaml --check-prefix CHECK-COUNTS %s
|
H A D | dump-object-to-disk.s | 1 …mark-phase=assemble-measured-code -opcode-name=ADDPSrr -repetition-mode=duplicate -dump-object-to-… 3 …mark-phase=assemble-measured-code -opcode-name=ADDPSrr -repetition-mode=duplicate 2>&1 | FileCheck… 5 …mark-phase=assemble-measured-code -opcode-name=ADDPSrr -repetition-mode=duplicate 2>&1 | FileCheck… 8 …hase=prepare-and-assemble-snippet -opcode-name=ADDPSrr -repetition-mode=duplicate 2>&1 | FileCheck… 10 …hase=prepare-and-assemble-snippet -opcode-name=ADDPSrr -repetition-mode=duplicate 2>&1 | FileCheck… 13 …--benchmark-phase=prepare-snippet -opcode-name=ADDPSrr -repetition-mode=duplicate 2>&1 | FileCheck… 15 …--benchmark-phase=prepare-snippet -opcode-name=ADDPSrr -repetition-mode=duplicate 2>&1 | FileCheck… 18 …mark-phase=assemble-measured-code -opcode-name=ADDPSrr -repetition-mode=duplicate -dump-object-to-…
|
H A D | skip-codegen.s | 1 …phase=assemble-measured-code -opcode-name=LEA64r -repetition-mode=duplicate | FileCheck %s -… 2 …phase=prepare-snippet -opcode-name=LEA64r -repetition-mode=duplicate | FileCheck %s -… 3 …phase=prepare-and-assemble-snippet -opcode-name=LEA64r -repetition-mode=duplicate | FileCheck %s -…
|
/llvm-project/lld/test/ELF/ |
H A D | conflict.s | 6 # DEMANGLE: duplicate symbol: mul(double, double) 9 # DEMANGLE: duplicate symbol: foo 16 # NO_DEMANGLE: duplicate symbol: _Z3muldd 19 # NO_DEMANGLE: duplicate symbol: foo 33 # ARCHIVE: duplicate symbol: foo 40 # DBGINFO: duplicate symbol: zed
|
/llvm-project/clang/test/Parser/ |
H A D | attr-external-source-symbol.m | 33 …ol(generated_declaration, generated_declaration))); // expected-error {{duplicate 'generated_decla… 35 …ource_symbol(language="Swift", language="Swift"))); // expected-error {{duplicate 'language' claus… 37 …in="module", language="Swift", defined_in="foo"))); // expected-error {{duplicate 'defined_in' cla… 38 …module", language="Swift", USR="foo", USR="bar"))); // expected-error {{duplicate 'USR' clause in … 42 …ration, generated_declaration, language="Swift"))); // expected-error {{duplicate 'generated_decla… 87 …or source container name in 'external_source_symbol'}} expected-error {{duplicate 'defined_in' cla… 90 …iteral for language name in 'external_source_symbol'}} expected-error {{duplicate 'language' claus… 102 …urce_symbol(language="Swift", language=L"Swift"))); // expected-error {{duplicate 'language' claus… 109 __attribute__((external_source_symbol(USR="foo", USR=u"foo"))); // expected-error {{duplicate 'USR'… 116 …ymbol(defined_in="module", defined_in=U"module"))); // expected-error {{duplicate 'defined_in' cla…
|
/llvm-project/lld/docs/MachO/ |
H A D | ld64-vs-lld.rst | 10 ld64 strips dead code before reporting duplicate symbols. By default, LLD does 36 2. Duplicate ObjC symbols from different archives will raise a "duplicate 45 result in duplicate symbol errors. LLD does not check for duplicate aliases; 47 duplicate symbols. In particular, we will not report a duplicate symbol error if
|
/llvm-project/clang/test/SemaObjCXX/ |
H A D | objc-extern-c.mm | 16 @protocol P // expected-warning {{duplicate protocol definition of 'P' is ignored}} 20 @interface I // expected-error {{duplicate}} 23 @interface I2(C) // expected-warning {{duplicate}}
|
/llvm-project/clang/test/SemaHLSL/ |
H A D | parameter_modifiers.hlsl | 4 // expected-error@#fn2{{duplicate parameter modifier 'in'}} 8 // expected-error@#fn3{{duplicate parameter modifier 'out'}} 12 // expected-error@#fn4{{duplicate parameter modifier 'in'}} 13 // expected-error@#fn4{{duplicate parameter modifier 'out'}} 18 // expected-error@#fn5{{duplicate parameter modifier 'in'}} 22 // expected-error@#fn6{{duplicate parameter modifier 'out'}}
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/ |
H A D | duplicate-include.rst | 1 .. title:: clang-tidy - readability-duplicate-include 3 readability-duplicate-include 6 Looks for duplicate includes and removes them. The check maintains a list of
|
/llvm-project/lld/test/MachO/ |
H A D | discard-llvm-sections.s | 6 ## "_llvm." symbols are not special. LLD would produce duplicate symbol errors 9 ## 1/ Test that LLD does not produce duplicate symbols errors when linking global symbols 20 ## 3/ Test that linking global symbol that is not under the LLVM segment produces duplicate 26 # DUP: error: duplicate symbol: _llvm.foo
|
/llvm-project/clang/test/SemaOpenCL/ |
H A D | access-qualifier.cl | 94 kernel void k12(read_only read_only image1d_t i){} // expected-warning {{duplicate 'read_only' declaration specifier}} 107 kernel void read_write_twice_typedef(read_write img1d_rw i){} // expected-warning {{duplicate 'read_write' declaration specifier}} 117 kernel void pipe_ro_twice(read_only read_only pipe int i){} // expected-warning{{duplicate 'read_only' declaration specifier}} 123 kernel void pipe_ro_twice_typedef(read_only ROPipeInt i){} // expected-warning{{duplicate 'read_only' declaration specifier}} 132 kernel void read_only_twice_typedef(__read_only img1d_ro i){} // expected-warning {{duplicate '__read_only' declaration specifier}} 135 kernel void read_only_twice_default(read_only img1d_ro_default img){} // expected-warning {{duplicate 'read_only' declaration specifier}} 138 kernel void image_wo_twice(write_only __write_only image1d_t i){} // expected-warning {{duplicate '__write_only' declaration specifier}} 139 kernel void image_wo_twice_typedef(write_only img1d_wo i){} // expected-warning {{duplicate 'write_only' declaration specifier}}
|
/llvm-project/mlir/test/mlir-tblgen/ |
H A D | attr-or-type-format-invalid.td | 22 // Test format has duplicate parameter captures. 25 // CHECK: duplicate parameter 'v0' 58 // Test duplicate capture of parameter in capture-all struct. 61 // CHECK: duplicate parameter 'v0' 65 // Test capture-all struct duplicate capture. 68 // CHECK: `params` captures duplicate parameter: v0 75 // CHECK: duplicate parameter 'v0'
|