Home
last modified time | relevance | path

Searched refs:errors (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/llvm-project-15.0.7/clang/test/Modules/
H A Dload-module-with-errors.m4 // pcherror-error@* {{PCH file contains compiler errors}}
19 // RUN: %clang_cc1 -fmodules -fallow-pcm-with-compiler-errors \
22 // RUN: %clang_cc1 -fmodules -fallow-pcm-with-compiler-errors \
26 // RUN: %clang_cc1 -fmodules -fallow-pcm-with-compiler-errors \
32 // RUN: %clang_cc1 -fsyntax-only -fmodules -fallow-pcm-with-compiler-errors \
64 // RUN: grep "PCH file contains compiler errors"
66 // Shouldn't build the cached modules (that have errors) when not allowing
67 // errors
73 // Should build the cached modules when allowing errors
92 // allow-pcm-with-compiler-errors should also allow errors in PCH
[all …]
/llvm-project-15.0.7/lld/test/MachO/
H A Derror-limit.test1 ## We're intentionally testing fatal errors, which isn't supported for testing
5 ## Check that we only see 20 (the default error-limit) "cannot open" errors
12 DEFAULT-NEXT: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
14 ## Check that we only see 5 "cannot open" errors when --error-limit=5
21 LIMIT5-NEXT: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
23 ## Check that we see all "cannot open" errors when --error-limit=0 (unimited)
32 UNLIMITED-NOT: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
/llvm-project-15.0.7/openmp/libomptarget/test/api/
H A Dis_initial_device.c11 int errors = 0; in main() local
21 errors++; in main()
25 errors++; in main()
30 printf("%s\n", errors ? "FAIL" : "PASS"); in main()
32 return errors; in main()
/llvm-project-15.0.7/lld/test/ELF/
H A Derror-limit.test6 DEFAULT-NEXT: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
16 LIMIT5-NEXT: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
26 UNLIMITED-NOT: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
/llvm-project-15.0.7/mlir/utils/jupyter/mlir_opt_kernel/
H A Dkernel.py141 output, errors = pipe.communicate()
151 errors = errors.replace(fname, b"<<input>>")
152 return output, errors, exitcode
159 output, errors, exitcode = run(code)
172 errors = repr(error).encode("utf-8")
178 self.process_error(errors.decode("utf-8"))
194 self.process_error(errors.decode("utf-8"))
/llvm-project-15.0.7/lld/test/COFF/
H A Derror-limit.test6 DEFAULT-NEXT: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
14 LIMIT5-NEXT: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
24 UNLIMITED-NOT: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
/llvm-project-15.0.7/openmp/runtime/tools/
H A Dcheck-instruction-set.pl126 my $errors = 0;
155 if ( $errors == 0 ) {
162 ++ $errors;
166 if ( $errors >= $max_instructions ) {
167 info( "$errors invalid instructions found; scanning stopped." );
176 return $errors;
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_setups.py50 self.assertEqual(len(result.errors), 0)
71 self.assertEqual(len(result.errors), 0)
107 self.assertEqual(len(result.errors), 0)
125 self.assertEqual(len(result.errors), 1)
126 error, _ = result.errors[0]
161 self.assertEqual(len(result.errors), 2)
165 error, _ = result.errors[0]
297 self.assertEqual(len(result.errors), 0)
329 self.assertEqual(len(result.errors), 0)
381 error, _ = result.errors[0]
[all …]
H A Dtest_result.py24 self.assertEqual(len(result.errors), 0)
56 self.assertEqual(len(result.errors), 0)
78 self.assertEqual(len(result.errors), 0)
87 self.assertEqual(len(result.errors), 0)
132 self.assertEqual(len(result.errors), 0)
176 self.assertEqual(len(result.errors), 0)
225 self.assertEqual(len(result.errors), 1)
230 test_case, formatted_exc = result.errors[0]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-typed-test.cc67 Message errors; in VerifyRegisteredTestNames() local
74 errors << "Test " << name << " is listed more than once.\n"; in VerifyRegisteredTestNames()
91 errors << "No test named " << name in VerifyRegisteredTestNames()
100 errors << "You forgot to list test " << it->first << ".\n"; in VerifyRegisteredTestNames()
104 const std::string& errors_str = errors.GetString(); in VerifyRegisteredTestNames()
/llvm-project-15.0.7/flang/test/Semantics/
H A Dtest_errors.py50 errors = [] variable
54 errors.append(m.group(1))
56 if errors:
57 for x in errors:
59 errors = [] variable
H A Dtest_modfile.py49 with open(src, 'r', encoding="utf-8", errors="strict") as f:
65 with open(mod, 'r', encoding="utf-8", errors="strict") as f:
71 with open(src, 'r', encoding="utf-8", errors="strict") as f:
/llvm-project-15.0.7/llvm/utils/
H A Ddemangle_tree.py41 self.errors = set()
70 r.errors.add(mangled)
75 r1.errors.update(r2.errors)
81 result.nfiles, len(result.crashed), len(result.errors), result.nsymbols, directory))
185 nfailed = len(total.errors)
191 for m in sorted(total.errors):
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-recovery.m8 // CHECK: ObjCMessageExpr {{.*}} 'void' contains-errors
14 // CHECK: ImplicitCastExpr {{.*}} '<dependent type>' contains-errors
15 // CHECK-NEXT: `-RecoveryExpr {{.*}} '<dependent type>' contains-errors
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py52 errors=None, argument
60 errors=errors,
/llvm-project-15.0.7/llvm/test/tools/llvm-libtool-darwin/
H A Dversion.test3 ## still occur and regular argument parsing errors should be surfaced (unlike
4 ## cctools libtool, which silences all argument parsing errors when -V is
13 ## Parsing errors should not be surfaced when no operation is specified.
16 ## Regular errors should occur when an operation is specified.
/llvm-project-15.0.7/openmp/libomptarget/test/mapping/
H A Darray_section_implicit_capture.c42 int errors = 0; in main() local
45 ++errors; in main()
48 if (errors) in main()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Derr34-c.rst20 not report conversion errors; consider using 'strtol' instead. */
27 `ERR34-C. Detect errors when converting a string to a number
28 <https://www.securecoding.cert.org/confluence/display/c/ERR34-C.+Detect+errors+when+converting+a+st…
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DUsingInserterTest.cpp61 std::vector<ClangTidyError> errors; in runChecker() local
64 test::runCheckOnCode<Check>(Code, &errors, "foo.cc", None, in runChecker()
67 EXPECT_EQ(ExpectedWarningCount, errors.size()); in runChecker()
H A DNamespaceAliaserTest.cpp57 std::vector<ClangTidyError> errors; in runChecker() local
60 test::runCheckOnCode<Check>(Code, &errors, "foo.cc", None, in runChecker()
63 EXPECT_EQ(ExpectedWarningCount, errors.size()); in runChecker()
/llvm-project-15.0.7/flang/lib/Frontend/
H A DTextDiagnosticBuffer.cpp50 all.emplace_back(level, errors.size()); in HandleDiagnostic()
51 errors.emplace_back(info.getLocation(), std::string(buf.str())); in HandleDiagnostic()
74 diag << errors[i.second].second; in flushDiagnostics()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/
H A Dobjc-avoid-throwing-exception.m21 …pass in NSError ** instead of throwing exception to indicate Objective-C errors [google-objc-avoid…
26 …pass in NSError ** instead of throwing exception to indicate Objective-C errors [google-objc-avoid…
28 …pass in NSError ** instead of throwing exception to indicate Objective-C errors [google-objc-avoid…
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flags.inc42 "errors.")
206 "to find more errors.")
209 "to find more errors.")
212 "to find more errors.")
215 "to find more errors.")
221 "to find more errors.")
224 "to find more errors.")
227 "functions to find more errors.")
230 "to find more errors.")
241 "to find more errors.")
[all …]
/llvm-project-15.0.7/llvm/utils/vscode/llvm/
H A Dtsconfig.json14 …// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement.…
15 // "noUnusedParameters": true, /* Report errors on unused parameters. */
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/
H A Dresult.py48 self.errors = []
113 self.errors.append((test, self._exc_info_to_string(err, test)))
152 len(self.errors) +
197 (util.strclass(self.__class__), self.testsRun, len(self.errors),

12345678910>>...22