/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
H A D | note-llvmompoffload.test | 1 ## Test that llvm-readobj is able to recognize LLVMOMPOFFLOAD ELF notes. 4 # RUN: llvm-readobj --notes %t.64le | FileCheck %s --match-full-lines --check-prefix=NOTES 5 # RUN: llvm-readelf --notes %t.64le | FileCheck %s --match-full-lines --check-prefix=NOTES-GNU 7 # RUN: llvm-readobj --notes %t.64be | FileCheck %s --match-full-lines --check-prefix=NOTES 8 # RUN: llvm-readelf --notes %t.64be | FileCheck %s --match-full-lines --check-prefix=NOTES-GNU 10 # RUN: llvm-readobj --notes %t.32le | FileCheck %s --match-full-lines --check-prefix=NOTES 11 # RUN: llvm-readelf --notes %t.32le | FileCheck %s --match-full-lines --check-prefix=NOTES-GNU 13 # RUN: llvm-readobj --notes %t.32be | FileCheck %s --match-full-lines --check-prefix=NOTES 14 # RUN: llvm-readelf --notes %t.32be | FileCheck %s --match-full-lines --check-prefix=NOTES-GNU 16 # NOTES: NoteSections [ [all …]
|
H A D | note-core.test | 5 # RUN: llvm-readelf --notes %t_nt_prstatus.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_PRSTATUS (prstatus structure)" 6 # RUN: llvm-readobj --notes %t_nt_prstatus.o | FileCheck %s --check-prefix=CHECK-LLVM -DDESC="NT_PRSTATUS (prstatus structure)" 10 # RUN: llvm-readelf --notes %t_nt_fpregset.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_FPREGSET (floating point registers)" 11 # RUN: llvm-readobj --notes %t_nt_fpregset.o | FileCheck %s --check-prefix=CHECK-LLVM -DDESC="NT_FPREGSET (floating point registers)" 15 # RUN: llvm-readelf --notes %t_nt_prpsinfo.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_PRPSINFO (prpsinfo structure)" 16 # RUN: llvm-readobj --notes %t_nt_prpsinfo.o | FileCheck %s --check-prefix=CHECK-LLVM -DDESC="NT_PRPSINFO (prpsinfo structure)" 20 # RUN: llvm-readelf --notes %t_nt_taskstruct.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_TASKSTRUCT (task structure)" 21 # RUN: llvm-readobj --notes %t_nt_taskstruct.o | FileCheck %s --check-prefix=CHECK-LLVM -DDESC="NT_TASKSTRUCT (task structure)" 25 # RUN: llvm-readelf --notes %t_nt_auxv.o | FileCheck %s --check-prefix=CHECK-GNU -DDESC="NT_AUXV (auxiliary vector)" 26 # RUN: llvm-readobj --notes [all...] |
H A D | gnu-notes.test | 1 ## Test tools are able to dump different types of notes. 4 # RUN: llvm-readelf --notes %t1.so | FileCheck %s --check-prefix=GNU --strict-whitespace --match-fu… 5 # RUN: llvm-readobj --notes %t1.so | FileCheck %s --check-prefix=LLVM 7 # RUN: llvm-readelf --notes %t1.stripped.so | FileCheck %s --check-prefix=GNU-STRIPPED --strict-whi… 8 # RUN: llvm-readobj --notes %t1.stripped.so | FileCheck %s --check-prefix=LLVM-STRIPPED 10 # GNU:Displaying notes found in: .note.ABI-tag 15 # GNU-NEXT:Displaying notes found in: .note.gnu.build-id 20 # GNU-NEXT:Displaying notes found in: .note.gnu.gold-version 25 # GNU-NEXT:Displaying notes found in: .note.gnu.unknown 36 # LLVM-NEXT: Notes [ [all …]
|
H A D | note-amd-invalid-v2.test | 5 # RUN: llvm-readobj --notes %t.o | FileCheck %s --match-full-lines --check-prefix=LLVM 6 # RUN: llvm-readelf --notes %t.o | FileCheck %s --match-full-lines --check-prefix=GNU 13 # LLVM-NEXT: Notes [ 26 # LLVM-NEXT: Notes [ 39 # LLVM-NEXT: Notes [ 52 # LLVM-NEXT: Notes [ 65 # LLVM-NEXT: Notes [ 78 # LLVM-NEXT: Notes [ 91 # LLVM-NEXT: Notes [ 104 # LLVM-NEXT: Notes [ [all …]
|
H A D | note-amd-valid-v2.test | 5 # RUN: llvm-readobj --notes %t.o | FileCheck %s --match-full-lines --check-prefix=LLVM 6 # RUN: llvm-readelf --notes %t.o | FileCheck %s --match-full-lines --check-prefix=GNU 13 # LLVM-NEXT: Notes [ 26 # LLVM-NEXT: Notes [ 39 # LLVM-NEXT: Notes [ 52 # LLVM-NEXT: Notes [ 65 # LLVM-NEXT: Notes [ 78 # LLVM-NEXT: Notes [ 91 # LLVM-NEXT: Notes [ 104 # LLVM-NEXT: Notes [ [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/ |
H A D | function-cognitive-complexity.cpp | 60 // CHECK-NOTES in each function 78 // CHECK-NOTES: :[[@LINE-1]]:6: warning: function 'unittest_b1_00' has cognitive complexity of 33 (threshold 0) [readability-function-cognitive-complexity] in unittest_b1_00() 82 // CHECK-NOTES: :[[@LINE-1]]:3: note: +1, including nesting penalty of 0, nesting level increased to 1{{$}} in unittest_b1_00() 83 // CHECK-NOTES: :[[@LINE-2]]:9: note: +1, including nesting penalty of 0, nesting level increased to 1{{$}} in unittest_b1_00() 86 // CHECK-NOTES: :[[@LINE-1]]:5: note: +2, including nesting penalty of 1, nesting level increased to 2{{$}} in unittest_b1_00() 87 // CHECK-NOTES: :[[@LINE-2]]:11: note: +2, including nesting penalty of 1, nesting level increased to 2{{$}} in unittest_b1_00() 89 // CHECK-NOTES: :[[@LINE-1]]:12: note: +1, nesting level increased to 2{{$}} in unittest_b1_00() 90 // CHECK-NOTES: :[[@LINE-2]]:18: note: +3, including nesting penalty of 2, nesting level increased to 3{{$}} in unittest_b1_00() 92 // CHECK-NOTES: :[[@LINE-1]]:7: note: +1, nesting level increased to 2{{$}} in unittest_b1_00() 95 // CHECK-NOTES in unittest_b1_00() [all...] |
H A D | inconsistent-declaration-parameter-name-macros.cpp | 9 …// CHECK-NOTES: :[[@LINE-1]]:3: warning: function 'S1::f' has a definition with different paramete… 10 // CHECK-NOTES: :[[@LINE-5]]:8: note: expanded from macro 'MACRO' 11 // CHECK-NOTES: :[[@LINE+4]]:10: note: the definition seen here 12 …// CHECK-NOTES: :[[@LINE-4]]:3: note: differing parameters are named here: ('x'), in definition: (… 13 // CHECK-NOTES: :[[@LINE-8]]:8: note: expanded from macro 'MACRO' 20 …// CHECK-NOTES: :[[@LINE-1]]:8: warning: function 'S2::set_g' has a definition with different para… 21 // CHECK-NOTES: :[[@LINE+14]]:1: note: the definition seen here 22 // CHECK-NOTES: :[[@LINE+9]]:12: note: expanded from macro 'DEFINITION' 25 // CHECK-NOTES: {{^}}note: expanded from here{{$}} 26 …// CHECK-NOTES: :[[@LINE-7]]:8: note: differing parameters are named here: ('g'), in definition: (… [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | implicit-widening-of-multiplication-result-int.cpp | 15 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: performing an implicit widening conversion to type '… in t0() 16 // CHECK-NOTES-ALL: :[[@LINE-2]]:10: note: make conversion explicit to silence this warning in t0() 17 // CHECK-NOTES-C: (long)( ) in t0() 18 // CHECK-NOTES-CXX: static_cast<long>( ) in t0() 19 // CHECK-NOTES-ALL: :[[@LINE-5]]:10: note: perform multiplication in a wider type in t0() 20 // CHECK-NOTES-C: (long) in t0() 21 // CHECK-NOTES-CXX: static_cast<long>( ) in t0() 25 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: performing an implicit widening conversion to type '… in t1() 26 // CHECK-NOTES-ALL: :[[@LINE-2]]:10: note: make conversion explicit to silence this warning in t1() 27 // CHECK-NOTES-C: (unsigned long)( ) in t1() [all …]
|
H A D | implicit-widening-of-multiplication-result-char.cpp | 12 …// CHECK-NOTES: :[[@LINE-1]]:10: warning: performing an implicit widening conversion to type 'long… in t0() 13 // CHECK-NOTES: :[[@LINE-2]]:10: note: make conversion explicit to silence this warning in t0() 14 // CHECK-NOTES: :[[@LINE-3]]:10: note: perform multiplication in a wider type in t0() 18 …// CHECK-NOTES: :[[@LINE-1]]:10: warning: performing an implicit widening conversion to type 'unsi… in t1() 19 // CHECK-NOTES: :[[@LINE-2]]:10: note: make conversion explicit to silence this warning in t1() 20 // CHECK-NOTES: :[[@LINE-3]]:10: note: perform multiplication in a wider type in t1() 25 …// CHECK-NOTES: :[[@LINE-1]]:10: warning: performing an implicit widening conversion to type 'long… in t2() 26 // CHECK-NOTES: :[[@LINE-2]]:10: note: make conversion explicit to silence this warning in t2() 27 // CHECK-NOTES: :[[@LINE-3]]:10: note: perform multiplication in a wider type in t2() 31 …// CHECK-NOTES: :[[@LINE-1]]:10: warning: performing an implicit widening conversion to type 'unsi… in t3() [all …]
|
H A D | implicit-widening-of-multiplication-result-pointer-offset.cpp | 15 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'int' is used as a … in t0() 16 // CHECK-NOTES-ALL: :[[@LINE-2]]:17: note: make conversion explicit to silence this warning in t0() 17 // CHECK-NOTES-C: (ptrdiff_t)( ) in t0() 18 // CHECK-NOTES-CXX: static_cast<ptrdiff_t>( ) in t0() 19 // CHECK-NOTES-ALL: :[[@LINE-5]]:17: note: perform multiplication in a wider type in t0() 20 // CHECK-NOTES-C: (ptrdiff_t) in t0() 21 // CHECK-NOTES-CXX: static_cast<ptrdiff_t>( ) in t0() 25 …// CHECK-NOTES-ALL: :[[@LINE-1]]:10: warning: result of multiplication in type 'int' is used as a … in t1() 26 // CHECK-NOTES-ALL: :[[@LINE-2]]:10: note: make conversion explicit to silence this warning in t1() 27 // CHECK-NOTES-ALL: :[[@LINE-3]]:10: note: perform multiplication in a wider type in t1() [all …]
|
H A D | macro-repeated-side-effects.c | 6 …// CHECK-NOTES: :[[@LINE-1]]:14: warning: side effects in the 1st macro argument 'x' are repeated … in bad() 7 // CHECK-NOTES: :[[@LINE-4]]:9: note: macro 'badA' defined here in bad() 9 // CHECK-NOTES: :[[@LINE-1]]:14: warning: side effects in the 1st macro argument 'x' in bad() 10 // CHECK-NOTES: :[[@LINE-7]]:9: note: macro 'badA' defined here in bad() 12 // CHECK-NOTES: :[[@LINE-1]]:14: warning: side effects in the 1st macro argument 'x' in bad() 13 // CHECK-NOTES: :[[@LINE-10]]:9: note: macro 'badA' defined here in bad() 15 // CHECK-NOTES: :[[@LINE-1]]:14: warning: side effects in the 1st macro argument 'x' in bad() 16 // CHECK-NOTES: :[[@LINE-13]]:9: note: macro 'badA' defined here in bad() 18 // CHECK-NOTES: :[[@LINE-1]]:17: warning: side effects in the 2nd macro argument 'y' in bad() 19 // CHECK-NOTES: :[[@LINE-16]]:9: note: macro 'badA' defined here in bad() [all …]
|
H A D | use-after-move.cpp | 178 // CHECK-NOTES: [[@LINE-1]]:3: warning: 'a' used after it was moved in onlyFlagOneUseAfterMove() 179 // CHECK-NOTES: [[@LINE-3]]:15: note: move occurred here in onlyFlagOneUseAfterMove() 195 // CHECK-NOTES: [[@LINE-1]]:3: warning: 'a' used after it was moved in moveAfterMove() 196 // CHECK-NOTES: [[@LINE-3]]:15: note: move occurred here in moveAfterMove() 206 // CHECK-NOTES: [[@LINE-1]]:15: warning: 'a' used after it was moved in moveAfterMove() 207 // CHECK-NOTES: [[@LINE-3]]:5: note: move occurred here in moveAfterMove() 215 // CHECK-NOTES: [[@LINE-1]]:17: warning: 'a' used after it was moved in parameters() 216 // CHECK-NOTES: [[@LINE-2]]:7: note: move occurred here 217 // CHECK-NOTES: [[@LINE-3]]:17: note: the use happens in a later loop in standardSmartPtr() 226 // CHECK-NOTES in standardSmartPtr() [all...] |
H A D | argument-comment-gmock.cpp | 86 // CHECK-NOTES: [[@LINE-1]]:42: warning: argument name 'param_tw' in comment does not match paramet… in test_gmock_expectations() 87 // CHECK-NOTES: [[@LINE-18]]:42: note: 'param_two' declared here in test_gmock_expectations() 88 // CHECK-NOTES: [[@LINE-14]]:3: note: actual callee ('gmock_Method') is declared here in test_gmock_expectations() 89 // CHECK-NOTES: [[@LINE-32]]:30: note: expanded from macro 'MOCK_METHOD2' in test_gmock_expectations() 90 // CHECK-NOTES: [[@LINE-35]]:7: note: expanded from macro 'GMOCK_METHOD2_' in test_gmock_expectations() 91 // CHECK-NOTES: note: expanded from here in test_gmock_expectations() 94 // CHECK-NOTES: [[@LINE-1]]:26: warning: argument name 'p_on' in comment does not match parameter n… in test_gmock_expectations() 95 // CHECK-NOTES: [[@LINE-25]]:28: note: 'p_one' declared here in test_gmock_expectations() 96 // CHECK-NOTES: [[@LINE-21]]:3: note: actual callee ('gmock_Method2') is declared here in test_gmock_expectations() 97 // CHECK-NOTES: [[@LINE-39]]:36: note: expanded from macro 'MOCK_CONST_METHOD2' in test_gmock_expectations() [all …]
|
H A D | implicit-widening-of-multiplication-result-array-subscript-expression.cpp | 15 …// CHECK-NOTES-ALL: :[[@LINE-1]]:11: warning: result of multiplication in type 'int' is used as a … in t0() 16 // CHECK-NOTES-ALL: :[[@LINE-2]]:16: note: make conversion explicit to silence this warning in t0() 17 // CHECK-NOTES-C: (ptrdiff_t)( ) in t0() 18 // CHECK-NOTES-CXX: static_cast<ptrdiff_t>( ) in t0() 19 // CHECK-NOTES-ALL: :[[@LINE-5]]:16: note: perform multiplication in a wider type in t0() 20 // CHECK-NOTES-C: (ptrdiff_t) in t0() 21 // CHECK-NOTES-CXX: static_cast<ptrdiff_t>( ) in t0() 25 …// CHECK-NOTES-ALL: :[[@LINE-1]]:12: warning: result of multiplication in type 'int' is used as a … in t1() 26 // CHECK-NOTES-ALL: :[[@LINE-2]]:13: note: make conversion explicit to silence this warning in t1() 27 // CHECK-NOTES-ALL: :[[@LINE-3]]:13: note: perform multiplication in a wider type in t1() [all …]
|
H A D | signal-handler.c | 21 …// CHECK-NOTES: :[[@LINE-1]]:3: warning: standard function 'printf' may not be asynchronous-safe; … in handler_printf() 22 // CHECK-NOTES: :[[@LINE+4]]:18: note: function 'handler_printf' registered here as signal handler in handler_printf() 31 …// CHECK-NOTES: :[[@LINE-1]]:3: warning: cannot verify that external function 'f_extern' is asynch… in handler_extern() 32 // CHECK-NOTES: :[[@LINE+4]]:18: note: function 'handler_extern' registered here as signal handler in handler_extern() 53 …// CHECK-NOTES: :[[@LINE-1]]:3: warning: standard function 'printf' may not be asynchronous-safe; … in f_bad() 54 // CHECK-NOTES: :[[@LINE+5]]:3: note: function 'f_bad' called here from 'handler_bad' in f_bad() 55 // CHECK-NOTES: :[[@LINE+8]]:18: note: function 'handler_bad' registered here as signal handler in f_bad() 68 …// CHECK-NOTES: :[[@LINE-1]]:3: warning: standard function 'printf' may not be asynchronous-safe; … in f_bad1() 69 // CHECK-NOTES: :[[@LINE+6]]:3: note: function 'f_bad1' called here from 'f_bad2' in f_bad1() 70 // CHECK-NOTES: :[[@LINE+9]]:3: note: function 'f_bad2' called here from 'handler_bad1' in f_bad1() [all …]
|
H A D | forward-declaration-namespace.cpp | 6 // CHECK-NOTES: :[[@LINE-1]]:7: warning: declaration 'T_A' is never referenced, but a declaration w… 7 // CHECK-NOTES: note: a declaration of 'T_A' is found here 8 // CHECK-NOTES: :[[@LINE-3]]:7: warning: no definition found for 'T_A', but a definition with the s… 9 // CHECK-NOTES: note: a definition of 'T_A' is found here 15 // CHECK-NOTES: :[[@LINE-1]]:7: warning: declaration 'T_A' is never referenced, but a declaration w… 16 // CHECK-NOTES: note: a declaration of 'T_A' is found here 17 // CHECK-NOTES: :[[@LINE-3]]:7: warning: no definition found for 'T_A', but a definition with the s… 18 // CHECK-NOTES: note: a definition of 'T_A' is found here 28 // CHECK-NOTES: :[[@LINE-1]]:7: warning: no definition found for 'NESTED', but a definition with th… 29 // CHECK-NOTES: note: a definition of 'NESTED' is found here [all …]
|
H A D | forwarding-reference-overload.cpp | 23 // CHECK-NOTES: [[@LINE-1]]:25: warning: constructor accepting a forwarding reference can hide the copy and move constructors [bugprone-forwarding-reference-overload] 24 // CHECK-NOTES: 48:3: note: copy constructor declared here 25 // CHECK-NOTES: 49:3: note: copy constructor declared here 26 // CHECK-NOTES: 50:3: note: move constructor declared here 29 // CHECK-NOTES: :[[@LINE-1]]:25: warning: constructor accepting a forwarding reference can hide the copy and move constructors 30 // CHECK-NOTES: 48:3: note: copy constructor declared here 31 // CHECK-NOTES: 49:3: note: copy constructor declared here 32 // CHECK-NOTES: 50:3: note: move constructor declared here 36 // CHECK-NOTES: :[[@LINE-1]]:3: warning: constructor accepting a forwarding reference can hide the copy and move constructors 37 // CHECK-NOTES [all...] |
H A D | argument-comment.cpp | 10 …// CHECK-NOTES: [[@LINE+4]]:5: warning: argument name 'y' in comment does not match parameter name… in g() 11 // CHECK-NOTES: [[@LINE-3]]:12: note: 'x' declared here in g() 12 …// CHECK-NOTES: [[@LINE+2]]:14: warning: argument name 'z' in comment does not match parameter nam… in g() 13 // CHECK-NOTES: [[@LINE-5]]:19: note: 'y' declared here in g() 49 …// CHECK-NOTES: [[@LINE-1]]:13: warning: argument name 'zzU' in comment does not match parameter n… in templates() 50 // CHECK-NOTES: :[[@LINE-6]]:20: note: 'zzz' declared here in templates() 57 // CHECK-NOTES: [[@LINE-1]]:17: warning: argument name 'bbb' in comment does not match parameter na… 58 // CHECK-NOTES: [[@LINE-3]]:15: note: 'aaa' declared here 91 // CHECK-NOTES: [[@LINE-1]]:15: warning: argument name 'xyz' in comment does not match parameter na… 92 // CHECK-NOTES: [[@LINE-3]]:13: note: 'xxx' declared here [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/ |
H A D | no-recursion.cpp | 22 // CHECK-NOTES: :[[@LINE-4]]:6: warning: function 'endless_recursion' is within a recursive call ch… 23 // CHECK-NOTES: :[[@LINE-5]]:6: note: example recursive call chain, starting from function 'endless… 24 // CHECK-NOTES: :[[@LINE-5]]:3: note: Frame #1: function 'endless_recursion' calls function 'endles… 25 // CHECK-NOTES: :[[@LINE-6]]:3: note: ... which was the starting point of the recursive call chain;… 36 // CHECK-NOTES: :[[@LINE-5]]:6: warning: function 'maybe_endless_recursion' is within a recursive c… 37 // CHECK-NOTES: :[[@LINE-6]]:6: note: example recursive call chain, starting from function 'maybe_e… 38 // CHECK-NOTES: :[[@LINE-5]]:5: note: Frame #1: function 'maybe_endless_recursion' calls function '… 39 // CHECK-NOTES: :[[@LINE-6]]:5: note: ... which was the starting point of the recursive call chain;… 48 // CHECK-NOTES: :[[@LINE-6]]:6: warning: function 'recursive_countdown' is within a recursive call … 49 // CHECK-NOTES: :[[@LINE-7]]:6: note: example recursive call chain, starting from function 'recursi… [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/hicpp/ |
H A D | exception-baseclass.cpp | 24 …// CHECK-NOTES: [[@LINE-1]]:11: warning: throwing an exception whose type 'int' is not derived fro… in problematic() 28 …// CHECK-NOTES: [[@LINE-1]]:9: warning: throwing an exception whose type 'int' is not derived from… in problematic() 32 …// CHECK-NOTES: [[@LINE-1]]:11: warning: throwing an exception whose type 'int' is not derived fro… in problematic() 39 …// CHECK-NOTES: [[@LINE-1]]:11: warning: throwing an exception whose type 'non_derived_exception' … in problematic() 40 // CHECK-NOTES: 10:1: note: type defined here in problematic() 44 …// CHECK-NOTES: [[@LINE-1]]:9: warning: throwing an exception whose type 'non_derived_exception' i… in problematic() 45 // CHECK-NOTES: 10:1: note: type defined here in problematic() 53 …// CHECK NOTES: [[@LINE-1]]:11: warning: throwing an exception whose type 'bad_inheritance' is not… in problematic() 54 // CHECK NOTES: 11:1: note: type defined here in problematic() 56 …// CHECK NOTES: [[@LINE-1]]:11: warning: throwing an exception whose type 'no_good_inheritance' is… in problematic() [all …]
|
/llvm-project/clang/include/clang/APINotes/ |
H A D | APINotesManager.h | 1 //===--- APINotesManager.h - Manage API Notes Files -------------*- C++ -*-===// 33 /// The API notes manager helps find API notes associated with declarations. 35 /// API notes are externally-provided annotations for declarations that can 40 /// The API notes manager is responsible for finding and loading the 41 /// external API notes files that correspond to a given header. Its primary 42 /// operation is \c findAPINotes(), which finds the API notes reader that 49 /// Whether to implicitly search for API notes files based on the 53 /// The Swift version to use when interpreting versioned API notes. 58 /// API notes readers for the current module. 67 /// A mapping from header file directories to the API notes reader for [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
H A D | owning-memory.cpp | 39 …// CHECK-NOTES: [[@LINE-1]]:3: warning: returning a newly created resource of type 'int *' or 'gsl… in returns_no_owner2() 43 …// CHECK-NOTES: [[@LINE-1]]:3: warning: initializing non-owner 'int *' with a newly created 'gsl::… in returns_no_owner3() 49 …// CHECK-NOTES: [[@LINE-1]]:3: warning: returning a newly created resource of type 'int *' or 'gsl… in returns_no_owner4() 74 …// CHECK-NOTES: [[@LINE-1]]:3: warning: expected initialization with value of type 'gsl::owner<>';… in test_assignment_and_initialization() 78 …// CHECK-NOTES: [[@LINE-1]]:3: warning: expected assignment source to be of type 'gsl::owner<>'; g… in test_assignment_and_initialization() 100 …// CHECK-NOTES: [[@LINE-1]]:3: warning: initializing non-owner 'int *' with a newly created 'gsl::… in test_assignment_and_initialization() 107 …// CHECK-NOTES: [[@LINE-1]]:3: warning: assigning newly created 'gsl::owner<>' to non-owner 'int *' in test_assignment_and_initialization() 110 …// CHECK-NOTES: [[@LINE-1]]:3: warning: expected initialization with value of type 'gsl::owner<>';… in test_assignment_and_initialization() 114 …// CHECK-NOTES: [[@LINE-1]]:3: warning: expected assignment source to be of type 'gsl::owner<>'; g… in test_assignment_and_initialization() 121 …// CHECK-NOTES: [[@LINE-1]]:3: warning: initializing non-owner 'int *' with a newly created 'gsl::… in test_assignment_and_initialization() [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/openmp/ |
H A D | use-default-none.cpp | 26 …// CHECK-NOTES: :[[@LINE-2]]:1: warning: OpenMP directive 'parallel' does not specify 'default' cl… in p0_0() 41 …// CHECK-NOTES: :[[@LINE-2]]:1: warning: OpenMP directive 'parallel' specifies 'default(shared)' c… in p0_2() 42 // CHECK-NOTES: :[[@LINE-3]]:22: note: existing 'default' clause specified here in p0_2() 50 …// CHECK-NOTES: :[[@LINE-2]]:1: warning: OpenMP directive 'parallel' specifies 'default(firstpriva… in p0_3() 51 // CHECK-NOTES: :[[@LINE-3]]:22: note: existing 'default' clause specified here in p0_3() 61 …// CHECK-NOTES: :[[@LINE-2]]:1: warning: OpenMP directive 'task' does not specify 'default' clause… in p1_0() 76 …// CHECK-NOTES: :[[@LINE-2]]:1: warning: OpenMP directive 'task' specifies 'default(shared)' claus… in p1_2() 77 // CHECK-NOTES: :[[@LINE-3]]:18: note: existing 'default' clause specified here in p1_2() 85 …// CHECK-NOTES: :[[@LINE-2]]:1: warning: OpenMP directive 'task' specifies 'default(firstprivate)'… in p1_3() 86 // CHECK-NOTES: :[[@LINE-3]]:18: note: existing 'default' clause specified here in p1_3() [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/altera/ |
H A D | id-dependent-backward-branch.cpp | 7 // CHECK-NOTES: :[[@LINE-1]]:19: warning: backward branch (for loop) is ID-dependent due to ID function call and may cause performance degradation [altera-id-dependent-backward-branch] in error() 13 // CHECK-NOTES: :[[@LINE-1]]:10: warning: backward branch (while loop) is ID-dependent due to ID function call and may cause performance degradation [altera-id-dependent-backward-branch] in error() 20 // CHECK-NOTES: :[[@LINE-1]]:12: warning: backward branch (do loop) is ID-dependent due to ID function call and may cause performance degradation [altera-id-dependent-backward-branch] in error() 26 // CHECK-NOTES: :[[@LINE-1]]:10: warning: backward branch (while loop) is ID-dependent due to variable reference to 'ThreadID' and may cause performance degradation [altera-id-dependent-backward-branch] in error() 27 // CHECK-NOTES: :[[@LINE-4]]:3: note: assignment of ID-dependent variable ThreadID in error() 34 // CHECK-NOTES: :[[@LINE-1]]:12: warning: backward branch (do loop) is ID-dependent due to variable reference to 'ThreadID' and may cause performance degradation [altera-id-dependent-backward-branch] in error() 35 // CHECK-NOTES: :[[@LINE-12]]:3: note: assignment of ID-dependent variable ThreadID in error() 41 // CHECK-NOTES: :[[@LINE-1]]:19: warning: backward branch (for loop) is ID-dependent due to member reference to 'IDDepField' and may cause performance degradation [altera-id-dependent-backward-branch] in error() 42 // CHECK-NOTES: :[[@LINE-4]]:3: note: assignment of ID-dependent field IDDepField in error() 47 // CHECK-NOTES in error() [all...] |
/llvm-project/llvm/test/tools/yaml2obj/ELF/ |
H A D | note-section.yaml | 3 ## Check we can describe SHT_NOTE using the "Notes" tag. We can define 4 ## notes using names, descriptions and types. 47 Notes: 69 Notes: 99 Notes: 112 Notes: 130 Notes: 152 Notes: 175 ## Check we emit an empty section if neither "Content", "Size" nor "Notes" were set. 192 ## "Content" and "Notes" canno [all...] |