/llvm-project/libcxx/include/ |
H A D | __assert | 20 #define _LIBCPP_ASSERT(expression, message) \ 21 (__builtin_expect(static_cast<bool>(expression), 1) \ 24 expression) " failed: " message "\n")) 30 # define _LIBCPP_ASSUME(expression) \ 32 __builtin_assume(static_cast<bool>(expression)) _LIBCPP_DIAGNOSTIC_POP) 34 # define _LIBCPP_ASSUME(expression) ((void)0) 43 # define _LIBCPP_ASSERT_VALID_INPUT_RANGE(expression, message) _LIBCPP_ASSERT(expression, message) 44 # define _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(expression, message) _LIBCPP_ASSERT(expression, messag [all...] |
/llvm-project/lldb/test/API/commands/expression/test/ |
H A D | main.cpp | 18 …expression 'a' // make sure character constant makes it down (this is broken: <rdar://probl… in main() 19 expression 2 // Test int in main() 20 expression 2ull // Test unsigned long long in main() 21 expression 2.234f // Test float constants in main() 22 expression 2.234 // Test double 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() [all …]
|
/llvm-project/clang-tools-extra/pseudo/lib/cxx/ |
H A D | cxx.bnf |
|
/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/Inputs/ |
H A D | local-variables.lldbinit | 3 expression argc 5 expression SomeLocal 7 expression Param1 8 expression Param2 10 expression Param1 11 expression Param2 12 expression Local1 14 expression Param1 15 expression Param2 16 expression Local1 [all …]
|
/llvm-project/clang/test/SemaObjC/ |
H A D | potentially-direct-selector.m | 68 …(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… 71 …(void)@selector(inBaseCatImpl); // expected-warning{{@selector expression formed with potentially … 72 …(void)@selector(inDerived); // expected-warning{{@selector expression formed with potentially dire… 73 …(void)@selector(inDerivedImpl); // expected-warning{{@selector expression formed with potentially … 74 …(void)@selector(inDerivedCat); // expected-warning{{@selector expression formed with potentially d… 75 …(void)@selector(inDerivedCatImpl); // expected-warning{{@selector expression formed with potential… 76 …(void)@selector(inDerivedClass); // expected-warning{{@selector expression formed with potentially… 77 …(void)@selector(inBaseClass); // expected-warning{{@selector expression formed with potentially di… [all …]
|
H A D | boxing-illegal.m | 33 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/lldb/test/API/functionalities/breakpoint/objc/ |
H A D | main.m | 27 // expression (char *)sel_getName(sel) 28 // The expression above should return "sel" as it should be just 44 // expression (char *)sel_getName(sel) 45 // 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" [all …]
|
/llvm-project/lldb/test/API/lang/objc/foundation/ |
H A D | main.m | 42 // expression (char *)sel_getName(_cmd) 59 // expression (char *)sel_getName(sel) 60 // The expression above should return "sel" as it should be just 76 // expression (char *)sel_getName(sel) 77 // 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 [all …]
|
/llvm-project/lldb/tools/lldb-fuzzer/lldb-expression-fuzzer/ |
H A D | CMakeLists.txt | 6 add_llvm_fuzzer(lldb-expression-fuzzer 8 lldb-expression-fuzzer.cpp 11 if(TARGET lldb-expression-fuzzer) 12 target_include_directories(lldb-expression-fuzzer PRIVATE ..) 31 target_link_libraries(lldb-expression-fuzzer 41 add_custom_command(TARGET lldb-expression-fuzzer PRE_BUILD 42 …COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/fuzzer-artifacts/expression-artifac… 44 # needed because LLDB's expression evaluator needs a legitmate target 53 add_custom_target(fuzz-lldb-expression 54 COMMENT "Running the LLDB expression evaluator fuzzer..." [all …]
|
/llvm-project/llvm/test/MC/RISCV/ |
H A D | expressions.s | 7 # 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/lldb/test/Shell/SymbolFile/PDB/ |
H A D | expressions.test | 5 // Check the variable value through `expression` 6 CHECK: (lldb) expression result 10 CHECK: (lldb) expression N0::N1::sum(N0::N1::buf1, sizeof(N0::N1::buf1)) 14 CHECK: (lldb) expression N1::sum(N1::buf1, sizeof(N1::buf1)) 18 CHECK: (lldb) expression sum(buf1, sizeof(buf1)) 21 // Make a crash during expression calculation 22 CHECK: (lldb) expression sum(buf1, 1000000000) 23 CHECK: The process has been returned to the state before expression evaluation. 26 CHECK: (lldb) expression sum(buf0, 1) 27 CHECK: The process has been returned to the state before expression evaluatio [all...] |
/llvm-project/clang/test/Headers/ |
H A D | stddefneeds.c | 28 …t'}} c23-error{{undeclared identifier 'offsetof'}} c23-error{{expected expression}} c23-error{{use… 29 …} c99-modules-error{{undeclared function}} c99-modules-error{{expected expression}} c99-modules-er… 30 …c23-modules-error{{undeclared identifier}} c23-modules-error{{expected expression}} c23-modules-er… 58 …{unknown type}} c23-error{{undeclared identifier}} c23-error{{expected expression}} c23-error{{und… 59 … c99-modules-error{{expected expression}} c99-modules-error{{undeclared identifier}} \ 60 …c23-modules-error{{undeclared identifier}} c23-modules-error{{expected expression}} c23-modules-er… 87 …c23-error{{undeclared identifier}} c23-error{{expected expression}} c23-error{{undeclared identifi… 88 … c99-modules-error{{expected expression}} c99-modules-error{{undeclared identifier}} \ 89 …c23-modules-error{{undeclared identifier}} c23-modules-error{{expected expression}} c23-modules-er… 108 …c23-error{{undeclared identifier}} c23-error{{expected expression}} c23-error{{undeclared identifi… [all …]
|
/llvm-project/clang/test/SemaCXX/ |
H A D | vla-ext-diag.cpp | 20 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} \ in func() 21 … off-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in func() 27 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in old_style_static_assert() 30 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in old_style_static_assert() 32 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} \ in old_style_static_assert() 33 … off-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in old_style_static_assert() 36 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in old_style_static_assert() 38 … cxx11-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} \ in old_style_static_assert() 39 … off-note {{function parameter 'n' with unknown value cannot be used in a constant expression}} in old_style_static_assert()
|
/llvm-project/llvm/test/MC/ELF/ |
H A D | leb128-err.s | 4 # CHECK: :[[#@LINE+1]]:16: error: .uleb128 expression is not absolute 6 # CHECK: :[[#@LINE+1]]:11: error: .uleb128 expression is not absolute 8 # CHECK: :[[#@LINE+1]]:11: error: .uleb128 expression is not absolute 14 # CHECK: :[[#@LINE+1]]:11: error: .sleb128 expression is not absolute 17 # CHECK: :[[#@LINE+1]]:11: error: .sleb128 expression is not absolute 21 # CHECK: :[[#@LINE+1]]:12: error: .sleb128 expression is not absolute 24 # CHECK: :[[#@LINE+1]]:12: error: .sleb128 expression is not absolute
|
/llvm-project/llvm/test/MC/MSP430/ |
H A D | directive-byte-word-long-invalid.s | 3 # CHECK: [[#@LINE+3]]:6: error: unknown token in expression 4 # CHECK: [[#@LINE+3]]:6: error: unknown token in expression 5 # CHECK: [[#@LINE+3]]:6: error: unknown token in expression 10 # CHECK: [[#@LINE+3]]:10: error: unknown token in expression 11 # CHECK: [[#@LINE+3]]:10: error: unknown token in expression 12 # CHECK: [[#@LINE+3]]:10: error: unknown token in expression
|
/llvm-project/mlir/test/mlir-pdll/Parser/ |
H A D | stmt-failure.pdll | 20 // 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 136 // CHECK: expected expression of `TypeRange` in type constraint 189 // CHECK: expected expression 211 // CHECK: unable to convert expression of type `Attr` to the expected type of `Value` [all …]
|
/llvm-project/lldb/test/Shell/SymbolFile/PDB/Inputs/ |
H A D | ExpressionsTest0.script | 3 expression result 4 expression N0::N1::sum(N0::N1::buf1, sizeof(N0::N1::buf1)) 5 expression N1::sum(N1::buf1, sizeof(N1::buf1)) 6 expression sum(buf1, sizeof(buf1)) 7 expression sum(buf1, 1000000000)
|
/llvm-project/lldb/test/Shell/Expr/ |
H A D | TestObjCInCXXContext.test | 9 // RUN: -o "expression --language objective-c -- NSString * a; a" \ 10 // RUN: -o "expression --language objective-c++ -- NSString * b; b" \ 11 // RUN: -o "expression NSString" \ 14 // CHECK: (lldb) expression --language objective-c -- NSString * a; a 17 // CHECK: (lldb) expression --language objective-c++ -- NSString * b; b 20 // CHECK: (lldb) expression NSString
|
/llvm-project/clang/test/SemaOpenCL/ |
H A D | usm-address-spaces-conversions.cl | 46 …// expected-error@+15{{initializing '__constant int *__private' with an expression of type '__glob… 47 …// 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… [all …]
|
/llvm-project/llvm/test/CodeGen/PowerPC/ |
H A D | aix-csr.ll | 25 ; MIR64-NEXT: debug-info-expression: '', debug-info-location: '' } 28 ; MIR64-NEXT: debug-info-expression: '', debug-info-location: '' } 31 ; MIR64-NEXT: debug-info-expression: '', debug-info-location: '' } 34 ; MIR64-NEXT: debug-info-expression: '', debug-info-location: '' } 37 ; MIR64-NEXT: debug-info-expression: '', debug-info-location: '' } 40 ; MIR64-NEXT: debug-info-expression: '', debug-info-location: '' } 43 ; MIR64-NEXT: debug-info-expression: '', debug-info-location: '' } 46 ; MIR64-NEXT: debug-info-expression: '', debug-info-location: '' } 49 ; MIR64-NEXT: debug-info-expression: '', debug-info-location: '' } 52 ; MIR64-NEXT: debug-info-expression: '', debug-info-location: '' } [all …]
|
H A D | aix-csr-vector-extabi.ll | 29 ; MIR32-NEXT: debug-info-expression: '', debug-info-location: '' } 32 ; MIR32-NEXT: debug-info-expression: '', debug-info-location: '' } 35 ; MIR32-NEXT: debug-info-expression: '', debug-info-location: '' } 38 ; MIR32-NEXT: debug-info-expression: '', debug-info-location: '' } 41 ; MIR32-NEXT: debug-info-expression: '', debug-info-location: '' } 44 ; MIR32-NEXT: debug-info-expression: '', debug-info-location: '' } 47 ; MIR32-NEXT: debug-info-expression: '', debug-info-location: '' } 50 ; MIR32-NEXT: debug-info-expression: '', debug-info-location: '' } 53 ; MIR32-NEXT: debug-info-expression: '', debug-info-location: '' } 56 ; MIR32-NEXT: debug-info-expression: '', debug-info-location: '' } [all …]
|
/llvm-project/llvm/test/MC/AsmParser/ |
H A D | assembler-expressions.s | 10 # ASM-ERR: :[[#@LINE+1]]:5: error: expected absolute expression 19 # ASM-ERR: :[[#@LINE+1]]:5: error: expected absolute expression 28 # ASM-ERR: [[@LINE+1]]:5: error: expected absolute expression 38 # ASM-ERR: :[[#@LINE+1]]:5: error: expected absolute expression 55 # ASM-ERR: [[@LINE+1]]:5: error: expected absolute expression 62 # ASM-ERR: [[@LINE+1]]:5: error: expected absolute expression
|
/llvm-project/lldb/test/Shell/SymbolFile/DWARF/ |
H A D | debug-types-expressions.test | 43 expression a->f() 44 # CHECK-LABEL: expression a->f() 47 expression ns::A() 48 # CHECK-LABEL: expression ns::A() 51 expression ns::A().i + a->i 52 # CHECK-LABEL: expression ns::A().i + a->i 55 expression ns::A().getA()
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/command/commands/ |
H A D | DexDeclareAddress.py | 17 def __init__(self, addr_name, expression, **kwargs): argument 22 self.expression = expression 37 self.expression, self.path, 0, range(self.on_line, self.on_line + 1) 59 watch = step.program_state.frames[0].watches[self.expression]
|
/llvm-project/llvm/test/CodeGen/AArch64/ |
H A D | ldst-nopreidx-sp-redzone.mir | 112 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: '', 136 debug-info-variable: '', debug-info-expression: '', debug-info-location: '' } 139 debug-info-variable: '', debug-info-expression: '', debug-info-location: '' } 142 debug-info-variable: '', debug-info-expression: '', debug-info-location: '' } 145 debug-info-variable: '', debug-info-expression: '', debug-info-location: '' } [all …]
|