Home
last modified time | relevance | path

Searched refs:OK (Results 1 – 25 of 408) sorted by relevance

12345678910>>...17

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DIterator.cpp72 return OK == OO_EqualEqual || OK == OO_ExclaimEqual || OK == OO_Less || in isComparisonOperator()
73 OK == OO_LessEqual || OK == OO_Greater || OK == OO_GreaterEqual; in isComparisonOperator()
127 return isDereferenceOperator(OK) || isIncrementOperator(OK) || in isAccessOperator()
128 isDecrementOperator(OK) || isRandomIncrOrDecrOperator(OK); in isAccessOperator()
132 return isDereferenceOperator(OK) || isIncrementOperator(OK) || in isAccessOperator()
141 return OK == OO_Star || OK == OO_Arrow || OK == OO_ArrowStar || in isDereferenceOperator()
158 return OK == UO_PreInc || OK == UO_PostInc; in isIncrementOperator()
166 return OK == UO_PreDec || OK == UO_PostDec; in isDecrementOperator()
170 return OK == OO_Plus || OK == OO_PlusEqual || OK == OO_Minus || in isRandomIncrOrDecrOperator()
175 return OK == BO_Add || OK == BO_AddAssign || in isRandomIncrOrDecrOperator()
[all …]
H A DIterator.h145 bool isComparisonOperator(OverloadedOperatorKind OK);
150 bool isAccessOperator(OverloadedOperatorKind OK);
151 bool isAccessOperator(UnaryOperatorKind OK);
152 bool isAccessOperator(BinaryOperatorKind OK);
153 bool isDereferenceOperator(OverloadedOperatorKind OK);
154 bool isDereferenceOperator(UnaryOperatorKind OK);
155 bool isDereferenceOperator(BinaryOperatorKind OK);
156 bool isIncrementOperator(OverloadedOperatorKind OK);
157 bool isIncrementOperator(UnaryOperatorKind OK);
158 bool isDecrementOperator(OverloadedOperatorKind OK);
[all …]
H A DMoveChecker.cpp115 bool shouldBeTracked(ObjectKind OK) const { in shouldBeTracked()
131 OK.StdKind == SK_Unsafe || OK.StdKind == SK_SmartPtr; in shouldBeTracked()
139 return shouldBeTracked(OK) && in shouldWarnAbout()
300 ObjectKind OK = Chk.classifyObject(Region, RD); in VisitNode() local
301 switch (OK.StdKind) { in VisitNode()
354 ObjectKind OK = classifyObject(Region, RD); in modelUse() local
361 if (!RS || !shouldWarnAbout(OK, MK) in modelUse()
482 ObjectKind OK = classifyObject(ArgRegion, RD); in checkPostCall() local
483 if (shouldBeTracked(OK)) { in checkPostCall()
580 ObjectKind OK = classifyObject(MR, RD); in explainObject() local
[all …]
H A DIteratorModeling.cpp160 bool isSimpleComparisonOperator(OverloadedOperatorKind OK);
161 bool isSimpleComparisonOperator(BinaryOperatorKind OK);
252 UnaryOperatorKind OK = UO->getOpcode(); in checkPostStmt() local
253 if (!isIncrementOperator(OK) && !isDecrementOperator(OK)) in checkPostStmt()
265 const BinaryOperatorKind OK = BO->getOpcode(); in checkPostStmt() local
275 } else if (isRandomIncrOrDecrOperator(OK)) { in checkPostStmt()
648 if (OK == OO_Plus || OK == OO_PlusEqual) { in handlePtrIncrOrDecr()
769 bool isSimpleComparisonOperator(OverloadedOperatorKind OK) { in isSimpleComparisonOperator() argument
770 return OK == OO_EqualEqual || OK == OO_ExclaimEqual; in isSimpleComparisonOperator()
773 bool isSimpleComparisonOperator(BinaryOperatorKind OK) { in isSimpleComparisonOperator() argument
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/fuzzing/
H A Drandom.pass.cpp51 OK = false; in DispatchAndCreate()
54 OK = true; in DispatchAndCreate()
68 OK = true; in DispatchAndCreate()
78 OK = false; in DispatchAndCreate()
81 OK = true; in DispatchAndCreate()
99 OK = true; in Create()
115 OK = true; in Create()
131 OK = true; in Create()
147 OK = true; in Create()
156 bool OK; in helper() local
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dif.td101 // CHECK: Result1a = "OK"
102 // CHECK: Result1b = "OK"
114 string Result1a = !if(True, "OK", "not OK");
115 string Result1b = !if(!not(True), "not OK", "OK");
118 string Result1c = !if(False, "not OK", "OK");
119 string Result1d = !if(!not(False), "OK", "not OK");
120 string Result1e = !if(!not(!not(False)), "not OK", "OK");
125 string Result2a = !if(one, "OK", "not OK");
126 string Result2b = !if(!not(one), "not OK", "OK");
129 string Result2c = !if(zero, "not OK", "OK");
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DVFABIDemangling.cpp18 OK, // Found. enumerator
44 return ParseRet::OK; in tryParseISA()
53 return ParseRet::OK; in tryParseMask()
58 return ParseRet::OK; in tryParseMask()
76 return ParseRet::OK; in tryParseVLEN()
87 return ParseRet::OK; in tryParseVLEN()
109 return ParseRet::OK; in tryParseLinearTokenWithRuntimeStep()
194 ParseRet::OK) in tryParseLinearWithCompileTimeStep()
199 ParseRet::OK) in tryParseLinearWithCompileTimeStep()
204 ParseRet::OK) in tryParseLinearWithCompileTimeStep()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/AArch64/
H A Dnote-android-memtag.test2 # RUN: llvm-readelf --notes %t | FileCheck %s --check-prefixes=GNU,GNU-OK,ASYNC,HEAP,STACK
3 # RUN: llvm-readobj --notes %t | FileCheck %s --check-prefixes=LLVM,LLVM-OK,ASYNC,HEAP,STACK
6 # RUN: llvm-readelf --notes %t | FileCheck %s --check-prefixes=GNU,GNU-OK,SYNC,HEAP,STACK
7 # RUN: llvm-readobj --notes %t | FileCheck %s --check-prefixes=LLVM,LLVM-OK,SYNC,HEAP,STACK
10 # RUN: llvm-readelf --notes %t | FileCheck %s --check-prefixes=GNU,GNU-OK,ASYNC,HEAP,NOSTACK
11 # RUN: llvm-readobj --notes %t | FileCheck %s --check-prefixes=LLVM,LLVM-OK,ASYNC,HEAP,NOSTACK
14 # RUN: llvm-readelf --notes %t | FileCheck %s --check-prefixes=GNU,GNU-OK,SYNC,HEAP,NOSTACK
18 # RUN: llvm-readelf --notes %t | FileCheck %s --check-prefixes=GNU,GNU-OK,ASYNC,NOHEAP,STACK
22 # RUN: llvm-readelf --notes %t | FileCheck %s --check-prefixes=GNU,GNU-OK,SYNC,NOHEAP,STACK
46 # LLVM-OK-NEXT: Size: 0x18
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dlegalizer-info-validation.mir17 # DEBUG-NEXT: .. the first uncovered type index: 1, OK
18 # DEBUG-NEXT: .. the first uncovered imm index: 0, OK
22 # DEBUG-NEXT: .. the first uncovered type index: 1, OK
23 # DEBUG-NEXT: .. the first uncovered imm index: 0, OK
27 # DEBUG-NEXT: .. the first uncovered type index: 1, OK
28 # DEBUG-NEXT: .. the first uncovered imm index: 0, OK
31 # DEBUG-NEXT: .. the first uncovered type index: 1, OK
32 # DEBUG-NEXT: .. the first uncovered imm index: 0, OK
37 # DEBUG-NEXT: .. the first uncovered imm index: 0, OK
41 # DEBUG-NEXT: .. the first uncovered imm index: 0, OK
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Ddefinitions-in-headers.rst14 extern int d; // OK: extern variable.
23 // OK: internal linkage variable definitions are ignored for now.
36 // OK: inline function definition is allowed to be defined multiple times.
43 int f1() { return 1; } // OK: implicitly inline member function definition is allowed.
52 // OK: class static data member declaration is allowed.
55 // OK: function template is allowed.
74 // OK: member function definition of a class template is allowed.
79 constexpr static int i = 5; // OK: inline variable definition.
82 inline int i = 5; // OK: inline variable definition.
84 constexpr int f10() { return 0; } // OK: constexpr function implies inline.
[all …]
/llvm-project-15.0.7/openmp/libomptarget/plugins/remote/server/
H A DServer.cpp31 return Status::OK; in Shutdown()
52 return Status::OK; in RegisterLib()
59 return Status::OK; in UnregisterLib()
68 return Status::OK; in UnregisterLib()
87 return Status::OK; in IsValidBinary()
104 return Status::OK; in GetNumberOfDevices()
113 return Status::OK; in InitDevice()
124 return Status::OK; in InitRequires()
139 return Status::OK; in LoadBinary()
154 return Status::OK; in IsDataExchangeable()
[all …]
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Ddev-null.txt5 # CHECK1: OK
8 # CHECK2: OK
11 # CHECK3: OK
14 # CHECK4: OK
/llvm-project-15.0.7/lldb/examples/test/
H A Dlldbtest-stderr12 OK
21 OK
30 OK
39 OK
/llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/
H A Dshlink.yaml25 # RUN: llvm-readobj -S %t2.o | FileCheck %s --check-prefix=OK
27 # OK: Name: .test
28 # OK: Link:
29 # OK-SAME: 1
45 # RUN: llvm-readobj -S %t3.o | FileCheck %s --check-prefix=OK
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/X86/
H A Ddebug_line_short_prologue_v4.s20 # RUN: llvm-dwarfdump -debug-line %t5 2>&1 | FileCheck %s --check-prefixes=ALL,OK
37 # OK: file_names[ 2]:
38 # OK-NEXT: name: "file2"
39 # OK-NEXT: dir_index: 1
40 # OK-NEXT: mod_time: 0x00000005
41 # OK-NEXT: length: 0x00000006
/llvm-project-15.0.7/lldb/examples/test/tmp/
H A Dlldb_log-x86_64-clang-TestBreakpointCommand.BreakpointCommandTestCase.test_with_dsym.txt17 com.apple.main-thread < 6> read packet: $OK#9a
20 com.apple.main-thread < 6> read packet: $OK#00
22 com.apple.main-thread < 6> read packet: $OK#00
28 com.apple.main-thread < 6> read packet: $OK#00
42 com.apple.main-thread < 6> read packet: $OK#00
44 com.apple.main-thread < 6> read packet: $OK#00
46 com.apple.main-thread < 6> read packet: $OK#00
H A Dlldb_log-x86_64-clang-TestBreakpointCommand.BreakpointCommandTestCase.test_with_dwarf.txt17 com.apple.main-thread < 6> read packet: $OK#9a
20 com.apple.main-thread < 6> read packet: $OK#00
22 com.apple.main-thread < 6> read packet: $OK#00
28 com.apple.main-thread < 6> read packet: $OK#00
42 com.apple.main-thread < 6> read packet: $OK#00
44 com.apple.main-thread < 6> read packet: $OK#00
46 com.apple.main-thread < 6> read packet: $OK#00
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dnoexcept-move-constructor.cpp16 class OK {}; class
19 OK a; in f()
20 a = OK(); in f()
/llvm-project-15.0.7/llvm/test/Transforms/SCCP/
H A Dreturn-constant.ll34 ; CHECK-NEXT: to label [[OK:%.*]] unwind label [[FAIL:%.*]]
35 ; CHECK: OK:
42 %X = invoke i32 @foo( i1 %C ) to label %OK unwind label %FAIL ; <i32> [#uses=1]
43 OK:
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/
H A Dp5-cxx0x.cpp93 template<int N, bool OK> struct S {
94 static_assert(OK, "boom!"); // expected-error 2{{boom!}}
98 template<int N, bool OK> S<N, OK> make();
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dprovisional-ivar-lookup.m23 _foo = foo1; // OK
31 _foo = foo3; // OK
39 PROP = value; // OK
H A Dunguarded-availability-maccatalyst.m48 willBeAvailabile(); // OK
50 willBeAvailabile(); // Also OK
52 willBeAvailabile(); // OK
71 willBeAvailabileIOS(); // OK
73 willBeAvailabile(); // Also OK
H A Dno-ivar-access-control.m54 protected_ivar = 1; // OK
55 return private_ivar; // OK
65 protected_ivar = 1; // OK
/llvm-project-15.0.7/clang/test/Parser/
H A Dobjcxx11-attributes.mm12 // An array size which is computed by a message send is OK.
20 // An array size which is computed by a lambda is not OK.
23 // A message send which contains a message send is OK.
27 // A message send which contains a lambda is OK.
32 // An attribute is OK.
/llvm-project-15.0.7/llvm/test/FileCheck/dump-input/
H A Denable.txt135 ; RUN: | FileCheck %s -match-full-lines -check-prefixes=NOTRACE,DUMP-OK
182 ; RUN: | FileCheck %s -match-full-lines -check-prefixes=NOTRACE,DUMP-OK
201 ; RUN: | FileCheck %s -match-full-lines -check-prefixes=NOTRACE,DUMP-OK
211 ; RUN: | FileCheck %s -match-full-lines -check-prefixes=NOTRACE,DUMP-OK
239 ; DUMP-OK: Input was:
240 ; DUMP-OK-NEXT: <<<<<<
241 ; DUMP-OK-NEXT: 1: hello
242 ; DUMP-OK-NEXT: check:1 ^~~~~
243 ; DUMP-OK-NEXT: 2: world
244 ; DUMP-OK-NEXT: next:2 ^~~~~
[all …]

12345678910>>...17