Home
last modified time | relevance | path

Searched refs:code (Results 126 – 150 of 4069) sorted by relevance

12345678910>>...163

/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-type-factors.m35 // RUN: c-index-test -code-completion-at=%s:16:11 -Xclang -code-completion-patterns %s | FileCheck …
48 // RUN: c-index-test -code-completion-at=%s:17:18 -Xclang -code-completion-patterns %s | FileCheck …
62 // RUN: c-index-test -code-completion-at=%s:18:10 -Xclang -code-completion-patterns %s | FileCheck …
78 // RUN: c-index-test -code-completion-at=%s:19:9 -Xclang -code-completion-patterns %s | FileCheck -…
94 // RUN: c-index-test -code-completion-at=%s:21:9 -Xclang -code-completion-patterns %s | FileCheck -…
95 // RUN: c-index-test -code-completion-at=%s:22:7 -Xclang -code-completion-patterns %s | FileCheck -…
112 // RUN: c-index-test -code-completion-at=%s:31:13 -Xclang -code-completion-patterns %s | FileCheck …
113 // RUN: c-index-test -code-completion-at=%s:32:13 -Xclang -code-completion-patterns %s | FileCheck …
124 // RUN: c-index-test -code-completion-at=%s:31:26 -Xclang -code-completion-patterns %s | FileCheck …
125 // RUN: c-index-test -code-completion-at=%s:32:26 -Xclang -code-completion-patterns %s | FileCheck …
H A Dcomplete-block-property-assignment.m33 // RUN: c-index-test -code-completion-at=%s:27:8 %s | FileCheck -check-prefix=CHECK-CC1 %s
34 // RUN: c-index-test -code-completion-at=%s:28:27 %s | FileCheck -check-prefix=CHECK-CC1 %s
35 // RUN: c-index-test -code-completion-at=%s:29:22 %s | FileCheck -check-prefix=CHECK-CC1 %s
36 // RUN: c-index-test -code-completion-at=%s:30:9 %s | FileCheck -check-prefix=CHECK-CC1 %s
59 // RUN: c-index-test -code-completion-at=%s:50:9 %s | FileCheck -check-prefix=CHECK-NO %s
60 // RUN: c-index-test -code-completion-at=%s:51:16 %s | FileCheck -check-prefix=CHECK-NO %s
61 // RUN: c-index-test -code-completion-at=%s:52:23 %s | FileCheck -check-prefix=CHECK-NO %s
62 // RUN: c-index-test -code-completion-at=%s:53:12 %s | FileCheck -check-prefix=CHECK-NO %s
63 // RUN: c-index-test -code-completion-at=%s:56:15 %s | FileCheck -check-prefix=CHECK-NO %s
71 // RUN: c-index-test -code-completion-at=%s:54:15 %s | FileCheck -check-prefix=CHECK-NO1 %s
H A Dcomplete-lambdas.mm25 // RUN: c-index-test -code-completion-at=%s:14:6 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC1 …
28 // RUN: c-index-test -code-completion-at=%s:15:6 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC2 …
31 // RUN: c-index-test -code-completion-at=%s:16:4 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC3 …
38 // RUN: c-index-test -code-completion-at=%s:16:21 -x objective-c++ -std=c++11 %s | FileCheck -check…
42 // RUN: c-index-test -code-completion-at=%s:18:10 -x objective-c++ -std=c++11 %s | FileCheck -check…
44 // RUN: c-index-test -code-completion-at=%s:19:8 -x objective-c++ -std=c++11 %s | FileCheck -check-…
48 // RUN: c-index-test -code-completion-at=%s:20:11 -x objective-c++ -std=c++11 %s | FileCheck -check…
H A Dcomplete-recovery.m19 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:9:20 %s 2>%t | …
27 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:9:20 %s -fms-co…
29 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:10:25 %s | File…
34 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:12:11 %s | File…
36 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:13:22 %s | File…
37 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:14:16 %s | File…
38 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:15:14 %s | File…
H A Dcomplete-declarators.m28 // RUN: c-index-test -code-completion-at=%s:7:4 %s | FileCheck -check-prefix=CHECK-CC0 %s
39 // RUN: c-index-test -code-completion-at=%s:7:19 %s | FileCheck -check-prefix=CHECK-CC1 %s
42 // RUN: c-index-test -code-completion-at=%s:9:15 %s | FileCheck -check-prefix=CHECK-CC2 %s
43 // RUN: c-index-test -code-completion-at=%s:15:10 %s | FileCheck -check-prefix=CHECK-CC2 %s
44 // RUN: c-index-test -code-completion-at=%s:16:9 %s | FileCheck -check-prefix=CHECK-CC2 %s
49 // RUN: c-index-test -code-completion-at=%s:15:15 %s | FileCheck -check-prefix=CHECK-CC3 %s
55 // RUN: c-index-test -code-completion-at=%s:15:15 %s | FileCheck -check-prefix=CHECK-CC4 %s
60 // RUN: c-index-test -code-completion-at=%s:23:10 %s | FileCheck -check-prefix=CHECK-CC5 %s
86 // Check that there are no duplicate entries if we code-complete after an @implementation
87 // RUN: c-index-test -code-completion-at=%s:27:1 %s | FileCheck -check-prefix=CHECK-CC6 %s
H A Dcomplete-preprocessor.m16 // RUN: c-index-test -code-completion-at=%s:4:3 %s | FileCheck -check-prefix=CHECK-CC1 %s
34 // RUN: c-index-test -code-completion-at=%s:5:2 %s | FileCheck -check-prefix=CHECK-CC2 %s
57 // RUN: c-index-test -code-completion-at=%s:9:8 %s | FileCheck -check-prefix=CHECK-CC3 %s
60 // RUN: c-index-test -code-completion-at=%s:11:13 %s | FileCheck -check-prefix=CHECK-CC3 %s
61 // RUN: c-index-test -code-completion-at=%s:11:14 %s | FileCheck -check-prefix=CHECK-CC3 %s
62 // RUN: c-index-test -code-completion-at=%s:11:5 %s | FileCheck -check-prefix=CHECK-CC4 %s
65 // RUN: c-index-test -code-completion-at=%s:14:5 %s | FileCheck -check-prefix=CHECK-CC5 %s
78 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
79 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
80 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_COMPLETION_CACHING=1 c-index-test -code-completion-at=%…
[all …]
H A Dcomplete-blocks.m62 // RUN: c-index-test -code-completion-at=%s:8:1 %s | FileCheck -check-prefix=CHECK-CC1 %s
65 // RUN: c-index-test -code-completion-at=%s:17:6 %s | FileCheck -check-prefix=CHECK-CC2 %s
68 // RUN: c-index-test -code-completion-at=%s:25:6 %s | FileCheck -check-prefix=CHECK-CC3 %s
70 // RUN: c-index-test -code-completion-at=%s:34:6 %s | FileCheck -check-prefix=CHECK-CC4 %s
73 // RUN: c-index-test -code-completion-at=%s:25:15 %s | FileCheck -check-prefix=CHECK-CC5 %s
79 // RUN: c-index-test -code-completion-at=%s:42:6 %s | FileCheck -check-prefix=CHECK-CC6 %s
82 // RUN: c-index-test -code-completion-at=%s:50:1 %s | FileCheck -check-prefix=CHECK-CC7 %s
84 // RUN: c-index-test -code-completion-at=%s:50:6 %s | FileCheck -check-prefix=CHECK-CC8 %s
87 // RUN: c-index-test -code-completion-at=%s:59:6 %s | FileCheck -check-prefix=CHECK-CC9 %s
/llvm-project-15.0.7/clang/docs/
H A DAddressSanitizer.rst44 .. code-block:: console
58 .. code-block:: console
92 .. code-block:: console
114 .. code-block:: console
151 reduce code size. The code size may be reduced further by completely
188 .. code-block:: bash
197 .. code-block:: bash
211 .. code-block:: c
252 .. code-block:: bash
275 .. code-block:: bash
[all …]
H A DClangOffloadWrapper.rst13 This tool is used in OpenMP offloading toolchain to embed device code objects
15 is then assembled and linked with host code objects to generate the executable
23 .. code-block:: console
28 target binaries packaged as data and initialization code which registers
43 .. code-block:: console
103 | void* | ImageStart | Pointer to the target code start |
105 | void* | ImageEnd | Pointer to the target code end |
165 .. code-block:: console
211 For each offloading target, device ELF code objects are generated by ``clang``,
212 ``opt``, ``llc``, and ``lld`` pipeline. These code objects are passed to the
[all …]
H A DBlock-ABI-Apple.rst41 .. code-block:: c
62 .. code-block:: c
86 .. code-block:: c
133 .. code-block:: c
139 .. code-block:: c
160 .. code-block:: c
176 .. code-block:: c
207 .. code-block:: c
216 .. code-block:: c
238 .. code-block:: c
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dunchecked-optional-access.rst43 .. code-block:: c++
55 .. code-block:: c++
71 .. code-block:: c++
84 .. code-block:: c++
100 .. code-block:: c++
122 .. code-block:: c++
138 .. code-block:: c++
155 .. code-block:: c++
169 .. code-block:: c++
189 .. code-block:: c++
[all …]
H A Dredundant-branch-condition.rst11 .. code-block:: c
20 without a possible change between the two checks. The check warns for this code
26 .. code-block:: c
34 .. code-block:: c
50 .. code-block:: c
68 .. code-block:: c
86 .. code-block:: c
100 .. code-block:: c
H A Dmisplaced-widening-cast.rst11 Example code:
13 .. code-block:: c++
29 .. code-block:: c++
42 .. code-block:: c++
52 written for this code:
54 .. code-block:: c++
/llvm-project-15.0.7/llvm/test/MC/COFF/
H A Dcv-inline-linetable.s67 # PDB-NEXT: 0B08 code 0x8 (+0x8) line 0 (-0)
68 # PDB-NEXT: 0B27 code 0xF (+0x7) line 1 (+1)
70 # PDB-NEXT: 031E code 0x2D (+0x1E)
71 # PDB-NEXT: 0407 code end 0x34 (+0x7)
74 # PDB-NEXT: 0B0F code 0xF (+0xF) line 0 (-0)
75 # PDB-NEXT: 0B2A code 0x19 (+0xA) line 1 (+1)
76 # PDB-NEXT: 0B26 code 0x1F (+0x6) line 2 (+1)
77 # PDB-NEXT: 0B27 code 0x26 (+0x7) line 3 (+1)
78 # PDB-NEXT: 0407 code end 0x2D (+0x7)
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A Dadd_new_check.py341 code = f.read()
346 stmt_end_pos = code.find(';', name_pos)
354 stmt = code[stmt_start_pos+1:stmt_end_pos]
369 def get_base_class(code, check_file): argument
380 code = f.read()
388 def has_fixits(code): argument
391 if needle in code:
412 code = f.read()
413 if has_fixits(code):
421 code = f.read()
[all …]
/llvm-project-15.0.7/llvm/test/MachineVerifier/
H A Dtest_copy_physregs_x86.mir34 ; CHECK: *** Bad machine code: Copy Instruction is illegal with mismatching sizes ***
37 ; CHECK: *** Bad machine code: Copy Instruction is illegal with mismatching sizes ***
40 ; CHECK: *** Bad machine code: Copy Instruction is illegal with mismatching sizes ***
46 ; CHECK: *** Bad machine code: Copy Instruction is illegal with mismatching sizes ***
49 ; CHECK: *** Bad machine code: Copy Instruction is illegal with mismatching sizes ***
52 ; CHECK: *** Bad machine code: Copy Instruction is illegal with mismatching sizes ***
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl08.rst39 Fortunately, we don't need to hard-code a target triple to target the
43 .. code-block:: c++
54 code.
56 .. code-block:: c++
66 .. code-block:: c++
111 .. code-block:: c++
130 .. code-block:: c++
141 .. code-block:: c++
155 .. code-block:: c++
189 link it with our output. Here's the source code:
[all …]
H A DLangImpl07.rst39 .. code-block:: c
56 .. code-block:: llvm
123 .. code-block:: llvm
141 .. code-block:: llvm
183 .. code-block:: bash
326 .. code-block:: c++
334 .. code-block:: c++
356 .. code-block:: c++
373 .. code-block:: c++
409 .. code-block:: c++
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dinlineasm-global.ll4 ; In thumb mode, emit ".code 16" before global inline-asm instructions.
6 ; THUMB: .code 16
8 ; THUMB: .code 16
10 ; ARM-NOT: .code 16
/llvm-project-15.0.7/llvm/docs/
H A DNVPTXUsage.rst40 .. code-block:: text
48 .. code-block:: llvm
95 .. code-block:: llvm
141 .. code-block:: llvm
169 .. code-block:: llvm
202 .. code-block:: llvm
283 .. code-block:: c++
323 ; Dead code
333 .. code-block:: c++
369 JIT compilation of PTX code to native GPU machine code.
[all …]
H A DCodingStandards.rst47 is C++ code. There are some places where C code is used either due to
140 .. code-block:: c++
201 the code itself.
257 Wrap non-inline code examples in ``\code ... \endcode``.
269 .. code-block:: c++
276 .. code-block:: c++
283 /// \code
307 .. code-block:: c++
321 .. code-block:: c++
449 .. code-block:: c++
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dqualified-auto.rst14 .. code-block:: c++
25 .. code-block:: c++
37 .. code-block:: c++
46 .. code-block:: c++
62 .. code-block:: c++
70 .. code-block:: c++
78 .. code-block:: c++
/llvm-project-15.0.7/lld/test/COFF/
H A Dpdb-scopes.test38 CHECK: parent = 0, end = 196, addr = 0001:0000, code size = 5
43 CHECK: parent = 0, end = 384, addr = 0001:0016, code size = 58
48 CHECK: code size = 17, addr = 0001:0031
53 CHECK: code size = 17, addr = 0001:0050
60 CHECK: parent = 0, end = 284, addr = 0001:0080, code size = 62
65 CHECK: code size = 20, addr = 0001:0095
70 CHECK: code size = 20, addr = 0001:0117
/llvm-project-15.0.7/polly/docs/
H A DUsingPollyWithClang.rst27 .. code-block:: console
37 .. code-block:: console
68 .. code-block:: console
79 .. code-block:: console
95 .. code-block:: console
107 .. code-block:: console
115 .. code-block:: console
134 .. code-block:: console
142 .. code-block:: console
150 .. code-block:: console
[all …]
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dsignal_longjmp.cpp35 #define MUST_FAULT(code) do { \ argument
38 code; /* should pagefault -> sihandler does longjmp */ \
39 fprintf(stderr, "%s not faulted\n", #code); \
42 fprintf(stderr, "%s faulted ok\n", #code); \

12345678910>>...163