Home
last modified time | relevance | path

Searched refs:expression (Results 1 – 25 of 1028) sorted by relevance

12345678910>>...42

/llvm-project-15.0.7/lldb/test/API/commands/expression/test/
H A Dmain.cpp19 expression 2 // Test int in main()
21 expression 2.234f // Test float constants in main()
23 expression 2+3 in main()
24 expression argc in main()
25 expression argc + 22 in main()
26 expression argv in main()
27 expression argv[0] in main()
28 expression argv[1] in main()
29 expression argv[-1] in main()
34 expression printf ("one: %i\n", 1) in main()
[all …]
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/
H A Dcxx.bnf56 primary-expression := ( expression )
57 primary-expression := id-expression
147 postfix-expression := postfix-expression ( expression-list_opt )
201 pm-expression := cast-expression
202 pm-expression := pm-expression .* cast-expression
203 pm-expression := pm-expression ->* cast-expression
215 shift-expression := shift-expression << additive-expression
219 compare-expression := compare-expression <=> shift-expression
232 and-expression := and-expression & equality-expression
247 conditional-expression := logical-or-expression ? expression : assignment-expression
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dpotentially-direct-selector.m68 …(void)@selector(inBase); // expected-warning{{@selector expression formed with potentially direct …
69 …(void)@selector(inBaseImpl); // expected-warning{{@selector expression formed with potentially dir…
70 …(void)@selector(inBaseCat); // expected-warning{{@selector expression formed with potentially dire…
72 …(void)@selector(inDerived); // expected-warning{{@selector expression formed with potentially dire…
83 …(void)@selector(inBase); // strict-warning{{@selector expression formed with potentially direct se…
84 …(void)@selector(inBaseImpl); // strict-warning{{@selector expression formed with potentially direc…
85 …(void)@selector(inBaseCat); // strict-warning{{@selector expression formed with potentially direct…
87 …(void)@selector(inDerived); // strict-warning{{@selector expression formed with potentially direct…
99 …(void)@selector(inBase); // expected-warning{{@selector expression formed with potentially direct …
103 …(void)@selector(inDerived); // strict-warning{{@selector expression formed with potentially direct…
[all …]
H A Dboxing-illegal.m33 id boxed = @(p); // expected-error {{illegal type 'point' used in a boxed expression}}
38 …boxed_null = @(null); // expected-error {{illegal type 'void *' used in a boxed expression}}
40 … boxed_numbers = @(numbers); // expected-error {{illegal type 'int *' used in a boxed expression}}
57 …= @(*(enum ForwE*)p); // expected-error {{incomplete type 'enum ForwE' used in a boxed expression}}
67 s = @(u"abc"); // expected-error {{illegal type 'unsigned short *' used in a boxed expression}}
68 s = @(U"abc"); // expected-error {{illegal type 'unsigned int *' used in a boxed expression}}
69 s = @(L"abc"); // expected-error-re {{illegal type {{.*}} used in a boxed expression}}
70 s = @("\pabc"); // expected-error {{illegal type 'unsigned char *' used in a boxed expression}}
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/objc/
H A Dmain.m45 // expression [str length]
46 // expression [str_id length]
47 // expression [str description]
48 // expression [str_id description]
49 // expression str.length
50 // expression str.description
51 // expression str = @"new"
66 // expression [array1 count]
67 // expression array1.count
68 // expression [array2 count]
[all …]
/llvm-project-15.0.7/lldb/test/API/lang/objc/foundation/
H A Dmain.m77 // expression [str length]
78 // expression [str_id length]
79 // expression [str description]
80 // expression [str_id description]
81 // expression str.length
82 // expression str.description
83 // expression str = @"new"
109 // expression [array1 count]
110 // expression array1.count
111 // expression [array2 count]
[all …]
/llvm-project-15.0.7/llvm/test/MC/RISCV/
H A Dexpressions.s7 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
9 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
11 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
13 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
15 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
17 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
19 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
21 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
23 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
25 # CHECK: :[[#@LINE-1]]:2: error: expected relocatable expression
[all …]
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dcxx2a-constraint-exprs.cpp30 …expected-error@-1{{substitution into constraint expression resulted in a non-constant expression}}…
37 … expected-error@-1{{substitution into constraint expression resulted in a non-constant expression}}
44 …expected-error@-1{{substitution into constraint expression resulted in a non-constant expression}}…
50 … expected-error@-1{{substitution into constraint expression resulted in a non-constant expression}}
/llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/
H A Dstmt-failure.pdll20 // CHECK: expected expression
27 // CHECK: expected `Op` expression
52 // CHECK: expected expression
59 // CHECK: expected expression of `Type` in type constraint
101 // CHECK: expected expression
108 // CHECK: expected expression of `Type` in type constraint
129 // CHECK: expected expression
189 // CHECK: expected expression
280 // CHECK: expected `Op` expression
294 // CHECK: expected `Op`, `Value` or `ValueRange` expression
[all …]
/llvm-project-15.0.7/lldb/test/API/commands/expression/ir-interpreter/
H A DTestIRInterpreter.py65 for expression in set_up_expressions:
66 self.frame().EvaluateExpression(expression, options)
68 for expression in expressions:
69 interp_expression = expression
70 jit_expression = "(int)getpid(); " + expression
81 expression)
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Dusm-address-spaces-conversions.cl47 …// expected-error@+15{{initializing '__constant int *__private' with an expression of type '__glob…
48 …// expected-error@+15{{initializing '__constant int *__private' with an expression of type '__glob…
49 …// expected-error@+16{{initializing '__constant int *__private' with an expression of type '__glob…
51 …// expected-error@+10{{initializing '__local int *__private' with an expression of type '__global_…
52 …// expected-error@+10{{initializing '__local int *__private' with an expression of type '__global_…
53 …// expected-error@+10{{initializing '__local int *__private' with an expression of type '__global_…
54 …// expected-error@+11{{initializing '__local int *__private' with an expression of type '__global_…
56 …// expected-error@+5{{initializing '__private int *__private' with an expression of type '__global…
57 …// expected-error@+5{{initializing '__private int *__private' with an expression of type '__global…
58 …// expected-error@+5{{initializing '__private int *__private' with an expression of type '__global…
[all …]
H A Dintel-subgroup-avc-ext-types.cl35 …4 {{initializing '__private intel_sub_group_avc_mce_payload_t' with an expression of incompatible …
36 …4 {{initializing '__private intel_sub_group_avc_ime_payload_t' with an expression of incompatible …
37 …4 {{initializing '__private intel_sub_group_avc_ref_payload_t' with an expression of incompatible …
38 …4 {{initializing '__private intel_sub_group_avc_sic_payload_t' with an expression of incompatible …
39 …14 {{initializing '__private intel_sub_group_avc_mce_result_t' with an expression of incompatible …
40 …14 {{initializing '__private intel_sub_group_avc_ime_result_t' with an expression of incompatible …
41 …14 {{initializing '__private intel_sub_group_avc_ref_result_t' with an expression of incompatible …
42 …14 {{initializing '__private intel_sub_group_avc_sic_result_t' with an expression of incompatible …
46 …__private intel_sub_group_avc_ime_single_reference_streamin_t' with an expression of incompatible …
47 … '__private intel_sub_group_avc_ime_dual_reference_streamin_t' with an expression of incompatible …
[all …]
/llvm-project-15.0.7/libcxx/include/
H A D__assert45 # define _LIBCPP_ASSERT(expression, message) \
46 (__builtin_expect(static_cast<bool>(expression), 1) ? \
48 …__libcpp_verbose_abort("%s:%d: assertion %s failed: %s", __FILE__, __LINE__, #expression, message))
50 # define _LIBCPP_ASSERT(expression, message) \
53 __builtin_assume(static_cast<bool>(expression)) \
56 # define _LIBCPP_ASSERT(expression, message) ((void)0)
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/
H A DDefaultController.py18 def __init__(self, on_line, hit_count, expression, values): argument
21 self.expression = expression
49 expression=fc.expression,
57 exit_condition_hit = condition.expression is None
58 if condition.expression is not None:
H A DConditionalController.py39 def __init__(self, expression: str, path: str, range_from: int, range_to: int,
41 self.expression = expression
51 return self.expression != None
57 conditional_expression = '({}) == ({})'.format(self.expression, value)
89 lc.expression,
103 ic.expression,
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/command/commands/
H A DDexDeclareAddress.py16 def __init__(self, addr_name, expression, **kwargs): argument
22 self.expression = expression
35 … return [StepExpectInfo(self.expression, self.path, 0, range(self.on_line, self.on_line + 1))]
52 watch = step.program_state.frames[0].watches[self.expression]
/llvm-project-15.0.7/lldb/test/Shell/Watchpoint/
H A DSetErrorCases.test15 # CHECK: Set a watchpoint on an address by supplying an expression.
21 watchpoint set expression -w write --
22 # CHECK: error: expression evaluation of address to watch failed
24 watchpoint set expression MyAggregateDataType
25 # CHECK: error: expression did not evaluate to an address
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/AArch64/
H A DmirCanonCopyCopyProp.mir10 local-offset: -4, debug-info-variable: '', debug-info-expression: '',
14 local-offset: -16, debug-info-variable: '', debug-info-expression: '',
18 local-offset: -24, debug-info-variable: '', debug-info-expression: '',
22 local-offset: -32, debug-info-variable: '', debug-info-expression: '',
26 local-offset: -40, debug-info-variable: '', debug-info-expression: '',
30 local-offset: -48, debug-info-variable: '', debug-info-expression: '',
34 local-offset: -56, debug-info-variable: '', debug-info-expression: '',
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/dextIR/
H A DValueIR.py13 expression: str,
20 self.expression = expression
29 prefix = '"{}": '.format(self.expression)
/llvm-project-15.0.7/clang/test/Sema/
H A Dtautological-objc-bool-compare.m12 …r = B > 1; // expected-warning {{result of comparison of constant 1 with expression of type 'BOOL'…
14 …r = B < 0; // expected-warning {{result of comparison of constant 0 with expression of type 'BOOL'…
15 …r = B >= 0; // expected-warning {{result of comparison of constant 0 with expression of type 'BOOL…
18 …r = B > YES; // expected-warning {{result of comparison of constant YES with expression of type 'B…
20 …r = B < NO; // expected-warning {{result of comparison of constant NO with expression of type 'BOO…
22 …r = B >= NO; // expected-warning {{result of comparison of constant NO with expression of type 'BO…
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticASTKinds.td51 "in a constant expression">;
74 "in a constant expression">;
115 "expression">;
132 "constant expression">;
160 "in a constant expression">;
169 "a constant expression">;
196 "in a constant expression">;
216 "is not allowed in a constant expression outside the expression that "
230 "that expression">;
233 "constant expression">;
[all …]
/llvm-project-15.0.7/llvm/test/FileCheck/
H A Dnumeric-expression.txt45 INVALID-FMT-SPEC-MSG1: numeric-expression.txt:[[#@LINE-2]]:37: error: invalid format specifier in e…
48 INVALID-FMT-SPEC-MSG2: numeric-expression.txt:[[#@LINE-4]]:37: error: invalid format specifier in e…
371 ; Numeric expression using a variable defined from a numeric expression.
376 ; Empty numeric expression.
390 PAREN-OP-MSG: numeric-expression.txt:[[#@LINE-1]]:36: error: missing ')' at end of nested expression
503 ; Verify that when a variable is set to an expression the expression is still
520 ; input or from an expression) is rejected.
560 ; Numeric expression with overflow.
569 OVERFLOW-MSG: numeric-expression.txt:[[#@LINE-1]]:27: error: unable to substitute variable or numer…
573 ; Numeric expression with underflow.
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dldst-nopreidx-sp-redzone.mir112 local-offset: -8, debug-info-variable: '', debug-info-expression: '',
116 local-offset: -448, debug-info-variable: '', debug-info-expression: '',
120 local-offset: -456, debug-info-variable: '', debug-info-expression: '',
124 local-offset: -464, debug-info-variable: '', debug-info-expression: '',
128 local-offset: -472, debug-info-variable: '', debug-info-expression: '',
132 local-offset: -480, debug-info-variable: '', debug-info-expression: '',
225 local-offset: -8, debug-info-variable: '', debug-info-expression: '',
229 local-offset: -448, debug-info-variable: '', debug-info-expression: '',
233 local-offset: -456, debug-info-variable: '', debug-info-expression: '',
237 local-offset: -464, debug-info-variable: '', debug-info-expression: '',
[all …]
/llvm-project-15.0.7/mlir/test/IR/
H A Dinvalid-affinemap.mlir5 #hello_world = affine_map<(i, j) -> ((), j)> // expected-error {{no expression inside parentheses}}
8 #hello_world = affine_map<(i, j) -> (->, j) // expected-error {{expected affine expression}}
11 #hello_world = affine_map<(i, j) -> (:) // expected-error {{expected affine expression}}
14 #hello_world = affine_map<(i, j) -> (, j)> // expected-error {{expected affine expression}}
67 // expected-error@-1 {{no expression inside parentheses}}
83 #hello_world = affine_map<(i, j) [s0, s1] -> (i*j, j)> // expected-error {{non-affine expression: a…
86 … (i, j + j ceildiv 128 mod 16 * i - 4)> // expected-error {{non-affine expression: at least one of…
89 …p<(i, j) [s0, s1] -> (i, j floordiv i)> // expected-error {{non-affine expression: right operand o…
92 …i, j) [s0, s1] -> (i, i*2 ceildiv j*5)> // expected-error {{non-affine expression: right operand o…
95 …ap<(i, j) [s0, s1] -> (i, i mod (2+i))> // expected-error {{non-affine expression: right operand o…
/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Darm-elf-relocation-diagnostics.s7 @ CHECK: error: relocated expression must be 32-bit
12 @ CHECK: error: relocated expression must be 32-bit
17 @ CHECK: error: relocated expression must be 32-bit
22 @ CHECK: error: relocated expression must be 32-bit

12345678910>>...42