Home
last modified time | relevance | path

Searched full:when (Results 1 – 25 of 7422) sorted by relevance

12345678910>>...297

/llvm-project/llvm/test/CodeGen/AArch64/
H A Dinline-asm-clobber-arm64ec.ll8 ; CHECK-NEXT: note: x13 is clobbered by asynchronous signals when using Arm64EC.
9 ; CHECK-NEXT: note: x14 is clobbered by asynchronous signals when using Arm64EC.
10 ; CHECK-NEXT: note: x23 is clobbered by asynchronous signals when using Arm64EC.
11 ; CHECK-NEXT: note: x24 is clobbered by asynchronous signals when using Arm64EC.
12 ; CHECK-NEXT: note: x28 is clobbered by asynchronous signals when using Arm64EC.
22 ; CHECK-NEXT: note: w13 is clobbered by asynchronous signals when using Arm64EC.
23 ; CHECK-NEXT: note: w14 is clobbered by asynchronous signals when using Arm64EC.
24 ; CHECK-NEXT: note: w23 is clobbered by asynchronous signals when using Arm64EC.
25 ; CHECK-NEXT: note: w24 is clobbered by asynchronous signals when using Arm64EC.
26 ; CHECK-NEXT: note: w28 is clobbered by asynchronous signals when using Arm64EC.
[all …]
/llvm-project/clang/test/SemaCXX/
H A Duninitialized.cpp26 int b = b + 1; // expected-warning {{variable 'b' is uninitialized when used within its own initialization}}
27 int c = (c + c); // expected-warning 2 {{variable 'c' is uninitialized when used within its own initialization}}
28 int e = static_cast<long>(e) + 1; // expected-warning {{variable 'e' is uninitialized when used within its own initialization}}
29 int f = foo(f); // expected-warning {{variable 'f' is uninitialized when used within its own initialization}}
39 int l = k ? l : l; // expected-warning 2{{variable 'l' is uninitialized when used within its own initialization}}
40 int m = 1 + (k ? m : m); // expected-warning 2{{variable 'm' is uninitialized when used within its own initialization}}
41 int n = -n; // expected-warning {{variable 'n' is uninitialized when used within its own initialization}}
42 int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its own initialization}}
43 const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used within its own initialization}}
44 int q = moved(std::move(q)); // expected-warning {{variable 'q' is uninitialized when use
[all...]
H A Dwarn-uninitialized-const-reference.cpp29 …const_ref_use(i); // expected-warning {{variable 'i' is uninitialized when passed as a… in f()
30 …ariable 'j' is uninitialized when used within its own initialization}} expected-warning {{variable… in f()
31 …A a1 = const_ref_use_A(a1); // expected-warning {{variable 'a1' is uninitialized when passed as … in f()
32 …int k = const_use(k); // expected-warning {{variable 'k' is uninitialized when used within… in f()
33 …A a2 = const_use_A(a2); // expected-warning {{variable 'a2' is uninitialized when used withi… in f()
34 …A a3(const_ref_use_A(a3)); // expected-warning {{variable 'a3' is uninitialized when passed as … in f()
35 …iable 'a4' is uninitialized when used within its own initialization}} expected-warning {{variable … in f()
36 …int n = n; // expected-warning {{variable 'n' is uninitialized when used within… in f()
50 …dont_ignore_non_empty(l); // expected-warning {{variable 'l' is uninitialized when passed as a con… in f()
52 …dont_ignore_block(l1); // expected-warning {{variable 'l1' is uninitialized when passed as a const… in f()
[all …]
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Didentifier-naming.rst110 When defined, the check will ensure abstract class names conform to the
115 When defined, the check will ensure abstract class names will add the
125 When defined, the check will ensure abstract class names will add the
130 When enabled, the check ensures that the declared identifier will
163 When set to `true` the check will look in dependent base classes for dependent
221 When set to `true`, fields in anonymous records (i.e. anonymous
240 ``iv_`` and ``fv_`` are public members of the anonymous union. When
247 When defined, the check will ensure class names conform to the
252 When defined, the check will ensure class names will add the
262 When defined, the check will ensure class names will add the
[all …]
/llvm-project/libcxx/utils/libcxx/test/
H A Dfeatures.py78 Feature(name="gcc-style-warnings", when=_isAnyClangOrGCC),
79 Feature(name="cl-style-warnings", when=_isClExe),
80 Feature(name="apple-clang", when=_isAppleClang),
83 when=_isAppleClang,
87 when=_isAppleClang,
91 when=_isAppleClang,
93 Feature(name="clang", when=_isClang),
96 when=_isClang,
100 when=_isClang,
104 when
[all...]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-auto-iterator.cpp9 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when declaring iterators [modernize-use-auto] in f_array()
13 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when declaring iterators in f_array()
18 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when declaring iterators in f_array()
22 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when declaring iterators in f_array()
29 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when declaring iterators in f_deque()
33 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when declaring iterators in f_deque()
38 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when declaring iterators in f_deque()
42 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when declaring iterators in f_deque()
49 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when declaring iterators in f_forward_list()
54 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when declaring iterators in f_forward_list()
[all …]
H A Duse-auto-cast-remove-stars.cpp16 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
20 …// CHECK-MESSAGES: :[[@LINE-1]]:9: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
24 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
27 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
30 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
33 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
38 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
42 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
46 …// CHECK-MESSAGES: :[[@LINE-1]]:9: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
50 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
[all …]
H A Duse-auto-cast.cpp16 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
20 …// CHECK-MESSAGES: :[[@LINE-1]]:9: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
24 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
27 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
30 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
33 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
38 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
42 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
46 …// CHECK-MESSAGES: :[[@LINE-1]]:9: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
50 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with a cast to avoid duplic… in f_static_cast()
[all …]
H A Duse-auto-new.cpp13 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
17 // CHECK-MESSAGES: :[[@LINE-1]]:10: warning: use auto when initializing with new in auto_new()
21 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
35 // CHECK-MESSAGES: :[[@LINE-1]]:10: warning: use auto when initializing with new in auto_new()
39 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
43 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
51 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
55 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
63 // CHECK-MESSAGES: :[[@LINE-1]]:5: warning: use auto when initializing with new in auto_new()
70 // CHECK-MESSAGES: :[[@LINE-1]]:5: warning: use auto when initializing with new in auto_new()
[all …]
H A Duse-auto-new-remove-stars.cpp12 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
16 // CHECK-MESSAGES: :[[@LINE-1]]:10: warning: use auto when initializing with new in auto_new()
30 // CHECK-MESSAGES: :[[@LINE-1]]:10: warning: use auto when initializing with new in auto_new()
34 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
38 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
46 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
50 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use auto when initializing with new in auto_new()
58 // CHECK-MESSAGES: :[[@LINE-1]]:5: warning: use auto when initializing with new in auto_new()
65 // CHECK-MESSAGES: :[[@LINE-1]]:5: warning: use auto when initializing with new in auto_new()
82 // CHECK-MESSAGES: :[[@LINE-1]]:5: warning: use auto when initializing with new in auto_new()
[all …]
/llvm-project/lldb/docs/use/
H A Dondemand.rst8 increase debug session load times and can slow developer productivity when the
10 be slow when types from all of the binaries have full debug info as each module
14 When should I consider enabling this feature?
18 binaries that are not all required when you want to focus on debugging a few of
43 having to set any other settings and will try and determine when to enable
57 by file and line are always enabled when on demand symbols is being used. Line
78 tradeoffs of this feature. When setting a breakpoint by function name, if the
83 functions don't exist in symbol tables. When using on demand symbol loading it
88 symbol tables. This can cause breakpoint setting by function name to fail when
104 within debug information. As such, some lookups by name might fail when they
[all …]
/llvm-project/flang/docs/
H A DC++style.md59 file actually uses directly. (Exception: when foo.cpp starts, as it should,
73 can and should look like their models when the reader can safely assume that
89 especially when you can declare them directly in a `for()`/`while()`/`if()`
91 when creating names.
95 1. When `//` follows code on a line, precede it with two spaces.
111 1. Don't indent the bodies of namespaces, even when nested.
119 with braces, even when the body is a single statement or empty. Note that this
130 When testing for an error case that should cause an early return, do so with
161 When `int` just obviously works, just use `int`. When you need something
165 project when names don't conflict or better solutions exist. Never use
[all …]
/llvm-project/libc/docs/dev/
H A Dprintf_behavior.rst32 These compile-time flags will change the behavior of LLVM-libc's printf when it
37 When set, this flag changes fprintf and printf to use the FILE API from the
39 when LLVM-libc is built in overlay mode.
43 When set, this flag disables support for the POSIX "%n$" format, hereafter
51 used in index mode to avoid re-parsing the format string to determine types when
53 effect when index mode is disabled.
57 When set, this flag disables support for the C Standard "%n" conversion; any
63 When set, this flag disables support for floating point numbers and all their
69 When set, this flag disables support for fixed point numbers and all their
76 When se
[all...]
/llvm-project/clang/test/Sema/
H A Dwarn-absolute-value.c22 …// expected-warning@-1 {{using floating point absolute value function 'fabsf' when argument is of … in test_int()
26 …// expected-warning@-1 {{using floating point absolute value function 'fabs' when argument is of i… in test_int()
30 …// expected-warning@-1 {{using floating point absolute value function 'fabsl' when argument is of … in test_int()
35 …// expected-warning@-1 {{using complex absolute value function 'cabsf' when argument is of integer… in test_int()
39 …// expected-warning@-1 {{using complex absolute value function 'cabs' when argument is of integer … in test_int()
43 …// expected-warning@-1 {{using complex absolute value function 'cabsl' when argument is of integer… in test_int()
52 …// expected-warning@-1 {{using floating point absolute value function '__builtin_fabsf' when argum… in test_int()
56 …// expected-warning@-1 {{using floating point absolute value function '__builtin_fabs' when argume… in test_int()
60 …// expected-warning@-1 {{using floating point absolute value function '__builtin_fabsl' when argum… in test_int()
65 …// expected-warning@-1 {{using complex absolute value function '__builtin_cabsf' when argument is … in test_int()
[all …]
/llvm-project/clang/test/OpenMP/
H A Dmetadirective_ast_print.c17 #pragma omp metadirective when(device = {kind(cpu)} \ in foo()
20 #pragma omp metadirective when(implementation = {vendor(score(0) \ in foo()
25 #pragma omp metadirective when(device = {kind(gpu)} \ in foo()
26 : target teams) when(implementation = {vendor(llvm)} \ in foo()
29 #pragma omp metadirective default(target) when(implementation = {vendor(score(5) \ in foo()
34 #pragma omp metadirective when(user = {condition(N > 10)} \ in foo()
35 : target) when(user = {condition(N == 10)} \ in foo()
38 #pragma omp metadirective when(device = {kind(host)} \ in foo()
42 #pragma omp metadirective when(implementation = {extension(match_all)} \ in foo()
46 #pragma omp metadirective when(implementation = {extension(match_any)} \ in foo()
[all …]
H A Dmetadirective_messages.cpp8 #pragma omp metadirective when() // expected-error {{expected valid context selector in when clause… in foo()
10when(device{}) // expected-warning {{expected '=' after the context set name "device"; '=' assumed… in foo()
12 #pragma omp metadirective when(device{arch(nvptx)}) // expected-error {{missing ':' in when clause}… in foo()
14 #pragma omp metadirective when(device{arch(nvptx)}: ) default() // expected-warning {{expected '=' … in foo()
16 #pragma omp metadirective when(device = {arch(nvptx)} : ) default(xyz) // expected-error {{expected… in foo()
18 #pragma omp metadirective when(device = {arch(nvptx)} : parallel default() // expected-error {{expe… in foo()
20 #pragma omp metadirective when(device = {isa("some-unsupported-feature")} : parallel) default(singl… in foo()
/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def55 ///< aliases to base ctors when possible.
56 CODEGENOPT(DataSections , 1, 0) ///< Set when -fdata-sections is enabled.
80 CODEGENOPT(DisableRedZone , 1, 0) ///< Set when -mno-red-zone is enabled.
83 CODEGENOPT(IndirectTlsSegRefs, 1, 0) ///< Set when -mno-tls-direct-seg-refs
90 ///< Only useful when running CodeGen as a
102 CODEGENOPT(FunctionSections , 1, 0) ///< Set when -ffunction-sections is enabled.
103 CODEGENOPT(BBAddrMap , 1, 0) ///< Set when -fbasic-block-address-map is enabled.
104 CODEGENOPT(InstrumentFunctions , 1, 0) ///< Set when -finstrument-functions is
106 CODEGENOPT(InstrumentFunctionsAfterInlining , 1, 0) ///< Set when
108 CODEGENOPT(InstrumentFunctionEntryBare , 1, 0) ///< Set when
[all...]
/llvm-project/llvm/test/Feature/
H A Dfp-intrinsics.ll3 ; Test to verify that constants aren't folded when the rounding mode is unknown.
16 ; Verify that 'a - 0' isn't simplified to 'a' when the rounding mode is unknown.
35 ; Verify that '-((-a)*b)' isn't simplified to 'a*b' when the rounding mode is
66 ; Verify that FP operations are not performed speculatively when FP exceptions
97 ; Verify that sqrt(42.0) isn't simplified when the rounding mode is unknown.
108 ; Verify that pow(42.1, 3.0) isn't simplified when the rounding mode is unknown.
120 ; Verify that powi(42.1, 3) isn't simplified when the rounding mode is unknown.
132 ; Verify that sin(42.0) isn't simplified when the rounding mode is unknown.
143 ; Verify that cos(42.0) isn't simplified when the rounding mode is unknown.
154 ; Verify that tan(42.0) isn't simplified when th
[all...]
/llvm-project/clang/include/clang/AST/
H A DPrettyPrinter.h42 /// When printing type to be inserted into code in specific context, this
44 /// qualifier. For example, when inserting code inside namespace foo, we
100 /// This flag is only used when we are printing declarators beyond
107 /// SuppressSpecifiers will be false when printing the
109 /// \c true when we print "y", so that we suppress printing the
116 /// This is used when printing the inner type of elaborated types,
125 /// When true, include the body of a tag definition.
160 /// This flag is used when printing the loop variable in a for-range
167 /// SuppressInitializers will be true when printing "auto x", so that the
191 /// When printin
[all...]
/llvm-project/flang/test/Semantics/
H A Dallocate12.f9058 !ERROR: Coarray specification must not appear in ALLOCATE when allocatable object is not a coarray
60 !ERROR: Coarray specification must not appear in ALLOCATE when allocatable object is not a coarray
62 !ERROR: Coarray specification must appear in ALLOCATE when allocatable object is a coarray
64 !ERROR: Coarray specification must appear in ALLOCATE when allocatable object is a coarray
67 !ERROR: Coarray specification must not appear in ALLOCATE when allocatable object is not a coarray
69 !ERROR: Coarray specification must not appear in ALLOCATE when allocatable object is not a coarray
71 !ERROR: Coarray specification must appear in ALLOCATE when allocatable object is a coarray
73 !ERROR: Coarray specification must appear in ALLOCATE when allocatable object is a coarray
76 !ERROR: Coarray specification must not appear in ALLOCATE when allocatable object is not a coarray
78 !ERROR: Coarray specification must not appear in ALLOCATE when allocatable object is not a coarray
[all …]
H A Dallocate03.f9044 …!ERROR: Either type-spec or source-expr must appear in ALLOCATE when allocatable object has a defe…
46 …!ERROR: Either type-spec or source-expr must appear in ALLOCATE when allocatable object has a defe…
48 …!ERROR: Either type-spec or source-expr must appear in ALLOCATE when allocatable object has a defe…
50 …!ERROR: Either type-spec or source-expr must appear in ALLOCATE when allocatable object has a defe…
52 …!ERROR: Either type-spec or source-expr must appear in ALLOCATE when allocatable object has a defe…
54 …!ERROR: Either type-spec or source-expr must appear in ALLOCATE when allocatable object has a defe…
56 …!ERROR: Either type-spec or source-expr must appear in ALLOCATE when allocatable object has a defe…
58 …!ERROR: Either type-spec or source-expr must appear in ALLOCATE when allocatable object has a defe…
60 …!ERROR: Either type-spec or source-expr must appear in ALLOCATE when allocatable object has a defe…
62 …!ERROR: Either type-spec or source-expr must appear in ALLOCATE when allocatable object has a defe…
[all …]
/llvm-project/clang/docs/
H A DTooling.rst13 level C interface to clang. When in doubt LibClang is probably the interface
14 you want to use. Consider the other interfaces only when you have a good
17 Canonical examples of when to use LibClang:
22 Use LibClang when you...:
29 Do not use LibClang when you...:
41 Canonical examples of when to use Clang Plugins:
46 Use Clang Plugins when you...:
52 Do not use Clang Plugins when you...:
65 examples of when to use LibTooling:
70 Use LibTooling when you...:
[all …]
/llvm-project/llvm/docs/CommandGuide/
H A Dllvm-objdump.rst42 Disassemble only the specified symbols. Takes demangled symbol names when
125 Specify the target architecture when disassembling. Use :option:`--version`
168 When disassembling, display source line numbers. Implies
207 When disassembling, do not print leading addresses for instructions or inline
216 When disassembling, do not print the raw bytes of each instruction.
224 When disassembling with the :option:`--source` option, prepend ``prefix`` to
229 When disassembling with the :option:`--source` option, strip out ``level``
235 Use hex format when printing immediate values in disassembly output (default).
239 When disassembling, display source interleaved with the disassembly. Implies
249 Display the LMA column when dumpin
[all...]
/llvm-project/lldb/source/Core/
H A DCoreProperties.td11 Desc<"Alias for backward compatibility: when enabled this is the equivalent to 'symbols.auto-download background'.">;
44 Desc<"The expiration time in days for a file. When a file hasn't been accessed for the specified amount of days, it is removed from the cache. A value of 0 disables the expiration-based pruning.">;
59 Desc<"The default disassembly format string to use when disassembling instruction sequences.">;
63 Desc<"The default frame format string to use when displaying stack frame information for threads.">;
76 Desc<"When in a color-enabled terminal, use the ANSI terminal code specified in this format immediately before the prompt.">;
80 Desc<"When in a color-enabled terminal, use the ANSI terminal code specified in this format immediately after the prompt.">;
93 Desc<"The number of disassembly lines to show when displaying a stopped context.">;
98 Desc<"Control when to display disassembly when displaying a stopped context.">;
102 Desc<"The size limit to use when disassemblin
[all...]
/llvm-project/lldb/tools/lldb-dap/
H A DREADME.md48 When attaching to a process using LLDB, you can attach in multiple ways:
188 | **sourcePath** | string | | Specify a source path to remap \"./\" to allow full paths to be used when setting breakpoints in binaries that have relative source paths.
190 | **debuggerRoot** | string | | Specify a working directory to use when launching lldb-dap. If the debug information in your executable contains relative paths, this option can be used so that `lldb-dap` can find source files and object files that have relative paths.
195 | **enableAutoVariableSummaries** | bool | | Enable auto generated summaries for variables when no summaries exist for a given type. This feature can cause performance delays in large projects when viewing variables.
196 | **enableSyntheticChildDebugging** | bool | | If a variable is displayed using a synthetic children, also display the actual contents of the variable at the end under a [raw] entry. This is useful when creating sythetic child plug-ins as it lets you see the actual contents of the variable.
200 | **exitCommands** | [string] | | LLDB commands executed when the program exits.
201 | **terminateCommands** | [string] | | LLDB commands executed when the debugging session ends.
203 All commands and command outputs will be sent to the debugger console when they are executed.
216 | **env** | dictionary | | Environment variables to set when launchin
[all...]

12345678910>>...297