Home
last modified time | relevance | path

Searched refs:Errs (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.cpp40 Error Errs = Error::success(); in removeSymbols() local
41 llvm::erase_if(Symbols, [ToRemove, &Errs](const Symbol &Sym) { in removeSymbols()
44 Errs = joinErrors(std::move(Errs), ShouldRemove.takeError()); in removeSymbols()
51 return Errs; in removeSymbols()
/freebsd/contrib/llvm-project/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp333 SharedStream &OS, SharedStream &Errs) { in handleMakeDependencyToolResult() argument
336 MaybeFile.takeError(), [&Input, &Errs](llvm::StringError &Err) { in handleMakeDependencyToolResult()
337 Errs.applyLocked([&](raw_ostream &OS) { in handleMakeDependencyToolResult()
630 FullDeps &FD, size_t InputIndex, SharedStream &OS, SharedStream &Errs) { in handleTranslationUnitResult() argument
633 MaybeTUDeps.takeError(), [&Input, &Errs](llvm::StringError &Err) { in handleTranslationUnitResult()
634 Errs.applyLocked([&](raw_ostream &OS) { in handleTranslationUnitResult()
648 SharedStream &OS, SharedStream &Errs) { in handleModuleResult() argument
651 [&ModuleName, &Errs](llvm::StringError &Err) { in handleModuleResult()
652 Errs.applyLocked([&](raw_ostream &OS) { in handleModuleResult()
735 P1689Deps &PD, SharedStream &Errs) { in handleP1689DependencyToolResult() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DInitLLVM.cpp36 llvm::raw_ostream *Outs = &llvm::outs(), *Errs = &llvm::errs(); in CleanupStdHandles() local
38 Errs->flush(); in CleanupStdHandles()
H A DCommandLine.cpp173 StringRef Overview, raw_ostream *Errs = nullptr,
1446 StringRef Overview, raw_ostream *Errs, in ParseCommandLineOptions() argument
1469 Errs, LongOptionsUseDoubleDash); in ParseCommandLineOptions()
1492 raw_ostream *Errs, in ParseCommandLineOptions() argument
1497 bool IgnoreErrors = Errs; in ParseCommandLineOptions()
1498 if (!Errs) in ParseCommandLineOptions()
1499 Errs = &errs(); in ParseCommandLineOptions()
1512 *Errs << toString(std::move(Err)) << '\n'; in ParseCommandLineOptions()
1584 *Errs << ProgramName << ": CommandLine Error: Option '" << Opt->ArgStr in ParseCommandLineOptions()
1586 *Errs << PositionalOpts.size(); in ParseCommandLineOptions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp1147 Error Errs = Error::success(); in match() local
1155 Errs = joinErrors(std::move(Errs), in match()
1176 if (Errs) in match()
1177 return std::move(Errs); in match()
2558 Error Errs = Error::success(); in defineCmdlineVariables() local
2599 Errs = joinErrors( in defineCmdlineVariables()
2600 std::move(Errs), in defineCmdlineVariables()
2617 Errs = joinErrors(std::move(Errs), ExpressionResult.takeError()); in defineCmdlineVariables()
2627 Errs = joinErrors(std::move(Errs), Value.takeError()); in defineCmdlineVariables()
2645 Errs = joinErrors(std::move(Errs), ParseVarResult.takeError()); in defineCmdlineVariables()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp5477 Conflicts &Errs) { in insert() argument
5498 Errs.push_back({EC, NewEC}); in insert()
5519 bool FunctionEffectSet::insert(const FunctionEffectsRef &Set, Conflicts &Errs) { in insert() argument
5521 insert(Item, Errs); in insert()
5522 return Errs.empty(); in insert()
5528 FunctionEffectSet::Conflicts Errs; in getIntersection() local
5550 Result.insert(A, Errs); in getIntersection()
5558 assert(Errs.empty() && "conflict shouldn't be possible in getIntersection"); in getIntersection()
5565 Conflicts &Errs) { in getUnion() argument
5571 Combined.insert(RHS, Errs); in getUnion()
H A DASTContext.cpp11441 FunctionEffectSet::Conflicts Errs; in mergeFunctionTypes() local
11442 MergedFX = FunctionEffectSet::getUnion(LHSFX, RHSFX, Errs); in mergeFunctionTypes()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCommandLine.h71 raw_ostream *Errs = nullptr,
395 …bool error(const Twine &Message, StringRef ArgName = StringRef(), raw_ostream &Errs = llvm::errs()…
396 bool error(const Twine &Message, raw_ostream &Errs) { in error() argument
397 return error(Message, StringRef(), Errs); in error()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFunctionEffects.cpp1435 const FunctionEffectSet::Conflicts &Errs, SourceLocation NewLoc, in diagnoseFunctionEffectMergeConflicts() argument
1437 for (const FunctionEffectSet::Conflict &Conflict : Errs) { in diagnoseFunctionEffectMergeConflicts()
H A DSemaDeclCXX.cpp18679 FunctionEffectSet::Conflicts Errs; in CheckOverridingFunctionAttributes() local
18691 NewFX.insert(Diff.Old.value(), Errs); in CheckOverridingFunctionAttributes()
18702 if (!Errs.empty()) in CheckOverridingFunctionAttributes()
18703 diagnoseFunctionEffectMergeConflicts(Errs, New->getLocation(), in CheckOverridingFunctionAttributes()
H A DSemaType.cpp7677 FunctionEffectSet::Conflicts Errs; in handleNonBlockingNonAllocatingTypeAttr() local
7678 [[maybe_unused]] bool Success = FX.insert(NewEC, Errs); in handleNonBlockingNonAllocatingTypeAttr()
H A DTreeTransform.h6540 FunctionEffectSet::Conflicts Errs; in TransformFunctionProtoType() local
6541 NewFX->insert(NewEC, Errs); in TransformFunctionProtoType()
6542 assert(Errs.empty()); in TransformFunctionProtoType()
/freebsd/contrib/bmake/mk/
H A DREADME227 Errs, errs, mklog, and core.
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h5147 bool insert(const FunctionEffectWithCondition &NewEC, Conflicts &Errs);
5150 bool insert(const FunctionEffectsRef &Set, Conflicts &Errs);
5155 FunctionEffectsRef RHS, Conflicts &Errs);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h15444 diagnoseFunctionEffectMergeConflicts(const FunctionEffectSet::Conflicts &Errs,