| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/ |
| H A D | Checker.h | 65 static void _checkEndOfTranslationUnit(void *checker, in _checkEndOfTranslationUnit() argument 168 ((const CHECKER *)checker)->checkPreCall(msg, C); in _checkCall() 196 static void _checkLocation(void *checker, in _checkLocation() argument 212 static void _checkBind(void *checker, in _checkBind() argument 251 checker, _checkBeginFunction<CHECKER>)); in _register() 319 static void _checkDeadSymbols(void *checker, in _checkDeadSymbols() argument 335 _checkRegionChanges(void *checker, in _checkRegionChanges() argument 460 static ProgramStateRef _evalAssume(void *checker, in _evalAssume() argument 521 CHECK1::_register(checker, mgr); in _register() 522 Checker<CHECKs...>::_register(checker, mgr); in _register() [all …]
|
| /llvm-project-15.0.7/openmp/runtime/test/tasking/ |
| H A D | omp51_task_dep_inoutset.c | 67 ++checker; in thunk_m() 79 --checker; in thunk_m() 86 ++checker; in thunk_s() 98 --checker; in thunk_s() 135 ++checker; in main() 146 --checker; in main() 152 ++checker; in main() 163 --checker; in main() 187 ++checker; in main() 198 --checker; in main() [all …]
|
| H A D | kmp_task_depend_all.c | 35 static int checker = 0; variable 71 lcheck = ++checker; in thunk_m() 86 --checker; in thunk_m() 93 lcheck = ++checker; // 1 in thunk_s() 108 --checker; in thunk_s() 160 --checker; in main() 181 --checker; in main() 225 --checker; in main() 246 --checker; in main() 281 lcheck = checker; in main() [all …]
|
| H A D | kmp_taskwait_depend_all.c | 39 static int checker = 0; variable 77 lcheck = ++checker; in thunk_m() 92 --checker; in thunk_m() 99 lcheck = ++checker; // 1 in thunk_s() 114 --checker; in thunk_s() 187 --checker; in main() 208 --checker; in main() 252 --checker; in main() 273 --checker; in main() 308 lcheck = checker; in main() [all …]
|
| H A D | omp50_task_depend_mtx3.c | 25 static int checker = 0; // to check if two tasks run simultaneously variable 34 ++checker; in mutex_task() 36 if (checker != 1) { in mutex_task() 38 printf("Error1, checker %d != 1\n", checker); in mutex_task() 41 if (checker != 1) { in mutex_task() 43 printf("Error2, checker %d != 1\n", checker); in mutex_task() 46 --checker; in mutex_task()
|
| H A D | omp50_task_depend_mtx2.c | 28 static int checker = 0; // to check if two tasks run simultaneously variable 54 ++checker; in thunk() 56 if (checker != 1) { in thunk() 58 printf("Error1, checker %d != 1\n", checker); in thunk() 61 if (checker != 1) { in thunk() 63 printf("Error2, checker %d != 1\n", checker); in thunk() 66 --checker; in thunk()
|
| H A D | omp50_task_depend_mtx.c | 28 static int checker = 0; // to check if two tasks run simultaneously variable 54 ++checker; in thunk() 56 if (checker != 1) { in thunk() 58 printf("Error1, checker %d != 1\n", checker); in thunk() 61 if (checker != 1) { in thunk() 63 printf("Error2, checker %d != 1\n", checker); in thunk() 66 --checker; in thunk()
|
| H A D | kmp_detach_tasks_t1.c | 68 int volatile checker; variable 72 checker = 1; in task_entry() 81 checker = 0; in main() 106 if (checker == 1) { in main()
|
| H A D | kmp_detach_tasks_t2.c | 69 int volatile checker; variable 74 checker = 1; in task_entry() 83 checker = 0; in main() 109 if (checker == 1) { in main()
|
| H A D | bug_taskwait_detach.cpp | 72 int volatile checker; variable 76 checker = 1; in target() 89 checker = 0; in main() 109 if (checker == 1) { in main()
|
| H A D | kmp_detach_tasks_t3.c | 79 int volatile checker; variable 83 checker = 1; in task_entry() 92 checker = 0; in main() 131 if (checker == 1) { in main()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/ |
| H A D | gen-static-analyzer-docs.py | 31 checker = table_entries[checker_] 32 checker_name = checker["CheckerName"] 33 package_ = checker["ParentPackage"]["def"] 51 checker["AnchorUrl"] = anchor_url 52 documentable_checkers.append(checker) 75 f.write("%s\n" % checker["HelpText"]) 92 for checker in checkers: 138 for checker in checkers: 140 if(checker["Documentation"][1] == 0 and checker["Documentation"][0] == 0): 141 generate_documentation(checker, True) [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | nullability-notes.m | 1 // RUN: %clang_analyze_cc1 -fblocks -analyzer-checker=core \ 2 // RUN: -analyzer-checker=nullability.NullPassedToNonnull \ 3 // RUN: -analyzer-checker=nullability.NullReturnedFromNonnull \ 4 // RUN: -analyzer-checker=nullability.NullablePassedToNonnull \ 6 // RUN: -analyzer-checker=nullability.NullableDereferenced \ 7 // RUN: -analyzer-checker=debug.ExprInspection \ 9 // RUN: %clang_analyze_cc1 -fblocks -analyzer-checker=core \ 10 // RUN: -analyzer-checker=nullability.NullPassedToNonnull \ 11 // RUN: -analyzer-checker=nullability.NullReturnedFromNonnull \ 12 // RUN: -analyzer-checker=nullability.NullablePassedToNonnull \ [all …]
|
| H A D | security-syntax-checks-nscoder.m | 2 // RUN: -analyzer-checker=security.insecureAPI.decodeValueOfObjCType %s 4 // RUN: -analyzer-checker=security.insecureAPI.decodeValueOfObjCType %s 6 // RUN: -analyzer-checker=security.insecureAPI.decodeValueOfObjCType %s 8 // RUN: -analyzer-checker=security.insecureAPI.decodeValueOfObjCType %s 10 // RUN: -analyzer-checker=security.insecureAPI.decodeValueOfObjCType %s 12 // RUN: -analyzer-checker=security.insecureAPI.decodeValueOfObjCType %s 14 // RUN: -analyzer-checker=security.insecureAPI.decodeValueOfObjCType %s 16 // RUN: -analyzer-checker=security.insecureAPI.decodeValueOfObjCType %s
|
| H A D | nullability.mm | 1 // RUN: %clang_analyze_cc1 -fblocks -verify %s -analyzer-checker=core \ 2 // RUN: -analyzer-checker=nullability.NullPassedToNonnull \ 3 // RUN: -analyzer-checker=nullability.NullReturnedFromNonnull \ 4 // RUN: -analyzer-checker=nullability.NullablePassedToNonnull \ 6 // RUN: -analyzer-checker=nullability.NullableDereferenced \ 10 // RUN: -analyzer-checker=nullability.NullPassedToNonnull \ 14 // RUN: -analyzer-checker=nullability.NullableDereferenced \ 19 // RUN: -analyzer-checker=nullability.NullPassedToNonnull\ 23 // RUN: -analyzer-checker=nullability.NullableDereferenced\ 27 // RUN: -analyzer-checker=nullability.NullPassedToNonnull\ [all …]
|
| H A D | NewDelete-intersections.mm | 3 // RUN: -analyzer-checker=core \ 4 // RUN: -analyzer-checker=cplusplus.NewDelete 8 // RUN: -analyzer-checker=core \ 9 // RUN: -analyzer-checker=cplusplus.NewDeleteLeaks 15 // RUN: -analyzer-checker=core \ 16 // RUN: -analyzer-checker=unix.MismatchedDeallocator
|
| H A D | incorrect-checker-names.mm | 2 // RUN: -analyzer-checker=core \ 3 // RUN: -analyzer-checker=alpha.core.StackAddressAsyncEscape \ 4 // RUN: -analyzer-checker=nullability \ 5 // RUN: -analyzer-checker=osx 46 // FIXME: None of these should be tied to a modeling checker. 85 // FIXME: This shouldn't be tied to a modeling checker. 90 // FIXME: This shouldn't be tied to a modeling checker. 109 // FIXME: This shouldn't be tied to a modeling checker. 127 // FIXME: This shouldn't be tied to a modeling checker.
|
| H A D | dispatch-once.m | 2 // RUN: -analyzer-checker=core \ 3 // RUN: -analyzer-checker=osx.API \ 4 // RUN: -analyzer-checker=unix.Malloc \ 5 // RUN: -analyzer-config display-checker-name=false 8 // RUN: -analyzer-checker=core \ 9 // RUN: -analyzer-checker=osx.API \ 10 // RUN: -analyzer-checker=unix.Malloc \ 11 // RUN: -analyzer-config display-checker-name=false
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | BugType.h | 71 BuiltinBug(class CheckerNameRef checker, const char *name, in BuiltinBug() argument 73 : BugType(checker, name, categories::LogicError), desc(description) {} in BuiltinBug() 75 BuiltinBug(const CheckerBase *checker, const char *name, in BuiltinBug() argument 77 : BugType(checker, name, categories::LogicError), desc(description) {} in BuiltinBug() 79 BuiltinBug(class CheckerNameRef checker, const char *name) in BuiltinBug() argument 80 : BugType(checker, name, categories::LogicError), desc(name) {} in BuiltinBug() 82 BuiltinBug(const CheckerBase *checker, const char *name) in BuiltinBug() argument 83 : BugType(checker, name, categories::LogicError), desc(name) {} in BuiltinBug()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | CheckerBase.td | 13 /// Describes a checker or package option type. This is important for validating 40 /// -analyzer-checker-option-help. 47 /// Describes an option for a checker or a package. 64 /// Describes a package. Every checker is a part of a package, for example, 88 /// Describes what kind of documentation exists for the checker. 99 /// Describes a checker. Every builtin checker has to be registered with the use 101 /// Note that a checker has a name (e.g.: 'NullDereference'), and a fullname, 121 /// Describes a list of checker options. 128 /// string operations, so it depends on CStringBase. A checker may only be 130 /// are always registered before the dependent checker, and its checker [all …]
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | check-each-file | 49 checker="$4" 101 if [ -z "$checker" ] 106 if [ ! -x "$checker" ] 108 echo "ERROR: $checker not found or not executable" 121 if $checker 133 if $checker
|
| /llvm-project-15.0.7/polly/lib/External/isl/cpp/ |
| H A D | cpp-checked.h.top | 39 struct checker { 41 ~checker() { 48 mutable std::shared_ptr<checker> check = std::make_shared<checker>(); 116 mutable std::shared_ptr<checker> check = std::make_shared<checker>(); 154 mutable std::shared_ptr<checker> check = std::make_shared<checker>();
|
| /llvm-project-15.0.7/llvm/docs/CommandGuide/ |
| H A D | llvm-tli-checker.rst | 1 llvm-tli-checker - TargetLibraryInfo vs library checker 4 .. program:: llvm-tli-checker 9 :program:`llvm-tli-checker` [*options*] [*library-file...*] 14 :program:`llvm-tli-checker` compares TargetLibraryInfo's opinion of the 27 $ llvm-tli-checker --triple x86_64-scei-ps4 example.so 83 :program:`llvm-tli-checker` returns 0 even if there are mismatches. It returns a
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-tli-checker/ |
| H A D | error-cases.test | 2 # RUN: not llvm-tli-checker 2>&1 | FileCheck %s --check-prefix=NOFILES 6 # RUN: llvm-tli-checker %t0.txt 2>&1 | FileCheck %s -DFILE=%t0.txt --check-prefixes=FILE-NOT-FOUND,… 10 # RUN: llvm-tli-checker %t1.o 2>&1 | FileCheck %s --check-prefixes=INVALID-FILE,NOSYMBOLS-AT-ALL 14 # RUN: llvm-tli-checker %t2.o 2>&1 | FileCheck %s -DFILE=%t2.o --check-prefixes=NOSYMBOLS-IN-FILE,N…
|
| /llvm-project-15.0.7/clang/test/Analysis/scan-build/ |
| H A D | silence-core-checkers.test | 11 RUN: -disable-checker core.DivideZero \ 17 RUN: -disable-checker core.NullDereference \ 23 RUN: -disable-checker core.NullDereference \ 24 RUN: -disable-checker core.DivideZero \
|