Home
last modified time | relevance | path

Searched refs:should (Results 1 – 25 of 4246) sorted by relevance

12345678910>>...170

/llvm-project-15.0.7/clang/test/Modules/
H A Dmacros.c25 # error INTEGER macro should be visible
29 # error FLOAT macro should not be visible
63 # error LEFT should not be visible
67 # error RIGHT should not be visible
71 # error TOP should not be visible
83 # error LEFT should be visible
87 # error RIGHT should not be visible
91 # error TOP should be visible
112 # error LEFT should be visible
116 # error RIGHT should be visible
[all …]
H A Dmacros2.c22 # error TOP_LEFT_UNDEF should not be defined
26 # error TOP_RIGHT_UNDEF should still be defined
52 # error TOP_RIGHT_UNDEF should still be defined
56 # error TOP_RIGHT_UNDEF should not be defined
61 # error TOP_OTHER_UNDEF1 should still be defined
65 # error TOP_OTHER_UNDEF2 should still be defined
69 # error TOP_OTHER_REDEF1 should still be defined
76 # error TOP_OTHER_REDEF2 should still be defined
H A Dsubmodules-preprocess.cpp8 # error HAVE_VECTOR macro is not available (but should be)
22 # error HAVE_VECTOR macro is not available (but should be)
26 # error HAVE_TYPE_TRAITS_MAP macro is not available (but should be)
52 # error HAVE_VECTOR macro is not available (but should be)
56 # error HAVE_TYPE_TRAITS_MAP macro is not available (but should be)
60 # error HAVE_HASH_MAP macro is not available (but should be)
H A Dno-module-map.cpp26 #error A_H should be defined
30 #error A_H should not be defined
39 #error B_H should be defined
43 #error B_H should not be defined
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/tool/
H A Dclang-include-fixer-test.el22 (should (clang-include-fixer--insert-line from to))
23 (should (equal (buffer-string) "aa\nab\nac\nad\n")))))
24 (should (equal (buffer-string) "aa\nab\nac\nad\n"))))
34 (should (clang-include-fixer--insert-line from to))
35 (should (equal (buffer-string) "aa\nab\n\nac\nad\n")))))
36 (should (equal (buffer-string) "aa\nab\n\nac\nad\n"))))
44 (should (equal (clang-include-fixer--symbol-at-point) "a"))
48 (should (equal (clang-include-fixer--symbol-at-point) "a"))
58 (should (equal nil (clang-include-fixer--highlight
62 (should (equal 2 (overlay-start overlay)))
[all …]
/llvm-project-15.0.7/clang/tools/clang-format/
H A Dclang-format-test.el49 (should (equal (buffer-string) "ä = ö;\nü = ß;\n"))
50 (should (eolp))
51 (should (equal (buffer-substring (point) (point-max))
60 (should (equal args
107 (should (equal (buffer-string) "ä\n"))
108 (should (eobp)))
109 (should (equal call-process-inputs '("c3 a4 0a ")))))
123 (should (equal (buffer-string) "ä = ö;\nü = ß;\n"))
124 (should (eolp))
125 (should (equal (buffer-substring (point) (point-max))
/llvm-project-15.0.7/clang/test/FixIt/
H A Dformat-darwin.m39 …printf("%s", getNSInteger()); // expected-warning{{values of type 'NSInteger' should not be used a…
41 …printf("%s", getSInt32()); // expected-warning{{values of type 'SInt32' should not be used as form…
61 …printf("%s", getCFIndex()); // expected-warning{{values of type 'CFIndex' should not be used as fo…
86 …printf("%s", arr[0]); // expected-warning{{values of type 'NSInteger' should not be used as forma…
88 …printf("%s", i); // expected-warning{{values of type 'NSInteger' should not be used as format arg…
94 …printf("%s", *arr); // expected-warning{{values of type 'NSInteger' should not be used as format …
98 …printf("%s", i ? i : i); // expected-warning{{values of type 'NSInteger' should not be used as for…
111 …printf("%ld", getSInt32()); // expected-warning{{values of type 'SInt32' should not be used as for…
151 …printf("%u", i); // expected-warning{{values of type 'NSInteger' should not be used as format argu…
218 …printf("%s", (SInt32)0); // expected-warning{{values of type 'SInt32' should not be used as format…
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dlocalization-aggressive.m105 …[testLabel setText:bar]; // expected-warning {{User-facing text should use localized string macro}}
147 // An empty string literal @"" should not raise an error
155 // An empty string literal @"" inline should not raise an error
161 // An string literal @"Hello" inline should raise an error
164 …[testLabel setText:@"Hello"]; // expected-warning {{User-facing text should use localized string m…
167 // A nil string should not raise an error
185 // A String passed in as a an parameter should not be considered
199 // requires a localized string should give an error
203 …[testLabel setText:argumentString]; // expected-warning {{User-facing text should use localized st…
225 // An NSView subclass should raise a warning for methods in NSView that
[all …]
H A DMismatchedDeallocator-checker-test.mm24 …delete p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not '…
30 …delete q; // expected-warning{{Memory allocated by realloc() should be deallocated by free(), not …
35 …delete p; // expected-warning{{Memory allocated by calloc() should be deallocated by free(), not '…
40 …delete p; // expected-warning{{Memory allocated by strdup() should be deallocated by free(), not '…
45 …delete p; // expected-warning{{Memory allocated by my_malloc() should be deallocated by free(), no…
55 …delete[] p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not…
65 delete p; // expected-warning{{Memory allocated by alloca() should not be deallocated}}
71 …free(p); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not fre…
81 …free(p); // expected-warning{{Memory allocated by 'new[]' should be deallocated by 'delete[]', not…
210 …// expected-warning@-1 {{Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'del…
[all …]
/llvm-project-15.0.7/llvm/test/Verifier/
H A Dmemprof-metadata-bad.ll34 ; CHECK: !memprof annotations should have at least 1 metadata operand (MemInfoBlock)
37 ; CHECK: !memprof MemInfoBlock first operand should not be null
40 ; CHECK: !memprof MemInfoBlock first operand should be an MDNode
43 ; CHECK: Each !memprof MemInfoBlock should have at least 2 operands
46 ; CHECK: call stack metadata should have at least 1 operand
50 ; CHECK: call stack metadata operand should be constant integer
55 ; CHECK: !memprof metadata should only exist on calls
56 ; CHECK: !callsite metadata should only exist on calls
H A Dassume-bundles.ll10 ; CHECK: the second argument should be a constant integral value
14 ; CHECK: this attribute should have 2 arguments
18 ; CHECK: this attribute should have one argument
21 ; CHECK: alignment assumptions should have 2 or 3 arguments
23 ; CHECK: second argument should be an integer
25 ; CHECK: third argument should be an integer if present
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Deh-directive-text-section-multiple-func.s6 @ The assembler should emit the machine code of "func2" in .text section.
8 @ Besides, there should be two entries in .ARM.exidx section.
31 @ Check the .text section. There should be two "bx lr" instructions.
44 @ There should be two entries (two words per entry.)
50 @ The first word should be the offset to .text. The second word should be
60 @ The first word of each entry should be relocated to .text section.
70 @ Check the symbols "func1" and "func2". They should belong to .text section.
H A Deh-directive-section-multiple-func.s8 @ The assembler should switch the section back to the corresponding section
13 @ In this example, func1 and func2 should be defined in .TEST1 section.
43 @ Check the .text section. This should be empty.
54 @ Check the .TEST1 section. There should be two "bx lr" instructions.
92 @ The first word should be the offset to .TEST1.
93 @ The second word should be the offset to .ARM.extab.TEST1
100 @ The first word of each entry should be relocated to .TEST1 section.
101 @ The second word of each entry should be relocated to
117 @ Check the symbols "func1" and "func2". They should belong to .TEST1 section.
H A Deh-directive-section.s9 @ should be generated in .ARM.exidx, and the exception handling table (EXTAB)
10 @ should be generated in .ARM.extab.
13 @ the EXIDX should be generated in ".ARM.exidx[[SECTION_NAME]]", and the EXTAB
14 @ should be generated in ".ARM.extab[[SECTION_NAME]]".
85 @ This section should linked with .TEST1 section.
90 @ The first word should be relocated to the code address in .TEST1 section.
91 @ The second word should be relocated to the EHTAB entry in .ARM.extab.TEST1
144 @ This section should linked with TEST2 section.
149 @ The first word should be relocated to the code address in TEST2 section.
150 @ The second word should be relocated to the EHTAB entry in .ARM.extabTEST2
H A Deh-directive-text-section.s6 @ The .fnstart directive and .fnend directive should create an entry in
8 @ section, then there should be an entry in .ARM.exidx section.
47 @ this should be .ARM.exidx. It is incorrect to see .ARM.exidx.text here.
58 @ Check the linked section of the EXIDX section. This should be the index
64 @ The first word should be the offset to .text. The second word should be
75 @ The first word should be relocated to the code address in .text section.
H A Dmulti-section-mapping.s6 @ .wibble should *not* inherit .text's mapping symbol. It's a completely different section.
10 @ A section should be able to start with a $t
15 @ A setion should be able to start with a $d
19 @ Changing back to .text should not emit a redundant $a
30 @ should emit a $t
34 @ .ident does a push then pop of the .comment section, so the .word should
H A Deh-directive-setfp.s43 @ The assembler should emit 0x9B to copy stack pointer from r11.
85 @ The assembler should emit 0x9B to copy stack pointer from r11.
86 @ The assembler should emit ((-offset - 4) >> 2) for offset.
128 @ The assembler should emit 0x9B to copy stack pointer from r11.
129 @ The assembler should emit 0x3F and ((-offset - 0x104) >> 2) for offset.
171 @ The assembler should emit 0x9B to copy stack pointer from r11.
172 @ The assembler should emit 0xB2 and the ULEB128 encoding of
229 @ The assembler should emit 0x9B to copy stack pointer from r11.
230 @ The assembler should emit (0x40 | (offset - 4)) >> 2 for offset.
231 @ If (offset - 4) is greater than 0x3f, then multiple 0x7f should be emitted.
/llvm-project-15.0.7/clang/test/Preprocessor/
H A Dpragma_module.c22 #error X should be defined here
27 #error X should still be defined
33 #error X should still be defined
38 #error under -fmodules-local-submodule-visibility, X should not be defined
42 #error without -fmodules-local-submodule-visibility, X should still be defined
47 #error X should be defined here
H A Dfeature_tests.c20 #error Clang should have these
30 #error Clang should have these
37 #error Clang should not have these in C mode
41 #error Clang should not have this
72 #error Expansion should have occurred
H A Dfeature_tests.cpp20 #error Clang should have these
34 #error Clang should have these
39 #error Clang should not have this in C++ mode
43 #error Clang should not have this
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/
H A Dnsinvocation-argument-lifetime.m42 …// CHECK-MESSAGES: :[[@LINE-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass…
45 …// CHECK-MESSAGES: :[[@LINE-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass…
48 …// CHECK-MESSAGES: :[[@LINE-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass…
51 …// CHECK-MESSAGES: :[[@LINE-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass…
56 …// CHECK-MESSAGES: :[[@LINE-1]]:30: warning: NSInvocation '-getReturnValue:' should only pass poin…
62 …// CHECK-MESSAGES: :[[@LINE-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass…
84 …// CHECK-MESSAGES: :[[@LINE-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass…
86 …// CHECK-MESSAGES: :[[@LINE-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass…
93 …// CHECK-MESSAGES: :[[@LINE-1]]:30: warning: NSInvocation '-getReturnValue:' should only pass poin…
101 …// CHECK-MESSAGES: :[[@LINE-1]]:27: warning: NSInvocation '-getArgument:atIndex:' should only pass…
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx17Issues.csv38 "`2403 <https://wg21.link/LWG2403>`__","stof() should call strtof() and wcstof()","Lenexa","|Comple…
39 "`2406 <https://wg21.link/LWG2406>`__","negative_binomial_distribution should reject p == 1","Lenex…
52 "`2440 <https://wg21.link/LWG2440>`__","``seed_seq::size()``\ should be noexcept","Lenexa","|Compl…
58 "`2459 <https://wg21.link/LWG2459>`__","``std::polar``\ should require a non-negative rho","Lenexa…
100 "`2489 <https://wg21.link/LWG2489>`__","``mem_fn()``\ should be ``noexcept``\ ","Kona","|Complete|…
143 "`2441 <https://wg21.link/LWG2441>`__","Exact-width atomic typedefs should be provided","Oulu","|Co…
153 "`2596 <https://wg21.link/LWG2596>`__","vector::data() should use addressof","Oulu","|Complete|",""
195 "`2510 <https://wg21.link/LWG2510>`__","Tag types should not be DefaultConstructible","Issaquah","|…
204 "`2536 <https://wg21.link/LWG2536>`__","What should <complex.h> do?","Issaquah","|Complete|",""
271 "`2785 <https://wg21.link/LWG2785>`__","quoted should work with basic_string_view","Kona","|Complet…
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dreplace-lds-by-ptr-use-within-const-expr2.ll6 ; reachable from kernel. Hence nested constant expression should to be converted into a
7 ; series of instructons and pointer replacement should take place. But, important note
8 ; is - only constant expression operands which uses lds should be converted into
9 ; instructions, other constant expression operands which do not use lds should be left
13 ; Original LDS should exist.
17 ; Non-LDS global should exist as it is.
21 ; Pointer should be created.
24 ; Pointer replacement code should be added.
H A Damdgpu-codegenprepare-foldnegate.ll6 ; Trivial case, xor instruction should be removed and
7 ; the second argument of the intrinsic call should be
17 ; Trivial case, xor instruction should be removed and
18 ; the second argument of the intrinsic call should be
28 ; Negative test: should not transform for variable test masks
43 ; Negative test: should not transform for multiple uses of the
58 ; Negative test: should not transform for a xor with no operand equal to -1
/llvm-project-15.0.7/clang/test/Parser/
H A Dnullability.c11 # error Nullability should always be supported
15 # error Nullability on array parameters should always be supported
19 # error Nullability should always be supported as an extension
23 # error Nullability on array parameters should always be supported as an extension

12345678910>>...170