Home
last modified time | relevance | path

Searched refs:FailureInfo (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DReservedIdentifierCheck.cpp109 static Optional<RenamerClangTidyCheck::FailureInfo>
121 using FailureInfo = RenamerClangTidyCheck::FailureInfo; in getFailureInfoImpl() typedef
123 Optional<FailureInfo> Info; in getFailureInfoImpl()
126 Info = FailureInfo{std::string(Kind), std::move(Fixup)}; in getFailureInfoImpl()
134 .map([](const FailureInfo &Info) { return StringRef(Info.Fixup); }) in getFailureInfoImpl()
150 return FailureInfo{NonReservedTag, getNonReservedFixup(std::string(Name))}; in getFailureInfoImpl()
154 Optional<RenamerClangTidyCheck::FailureInfo>
165 Optional<RenamerClangTidyCheck::FailureInfo>
DReservedIdentifierCheck.h43 llvm::Optional<FailureInfo>
46 llvm::Optional<FailureInfo>
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DRenamerClangTidyCheck.h75 struct FailureInfo { struct
84 FailureInfo Info; argument
128 virtual llvm::Optional<FailureInfo>
134 virtual llvm::Optional<FailureInfo>
DRenamerClangTidyCheck.cpp448 Optional<FailureInfo> MaybeFailure = in check()
452 FailureInfo &Info = *MaybeFailure; in check()
479 Optional<FailureInfo> MaybeFailure = in checkMacro()
483 FailureInfo &Info = *MaybeFailure; in checkMacro()
/external/llvm-project/llvm/lib/Transforms/IPO/
DFunctionImport.cpp409 auto &FailureInfo = std::get<2>(IT.first->second); in computeImportForFunction() local
440 assert(FailureInfo && in computeImportForFunction()
442 FailureInfo->Attempts++; in computeImportForFunction()
457 assert(FailureInfo && in computeImportForFunction()
459 FailureInfo->Reason = Reason; in computeImportForFunction()
460 FailureInfo->Attempts++; in computeImportForFunction()
461 FailureInfo->MaxHotness = in computeImportForFunction()
462 std::max(FailureInfo->MaxHotness, Edge.second.getHotness()); in computeImportForFunction()
465 assert(!FailureInfo && in computeImportForFunction()
467 FailureInfo = std::make_unique<FunctionImporter::ImportFailureInfo>( in computeImportForFunction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp410 auto &FailureInfo = std::get<2>(IT.first->second); in computeImportForFunction() local
441 assert(FailureInfo && in computeImportForFunction()
443 FailureInfo->Attempts++; in computeImportForFunction()
458 assert(FailureInfo && in computeImportForFunction()
460 FailureInfo->Reason = Reason; in computeImportForFunction()
461 FailureInfo->Attempts++; in computeImportForFunction()
462 FailureInfo->MaxHotness = in computeImportForFunction()
463 std::max(FailureInfo->MaxHotness, Edge.second.getHotness()); in computeImportForFunction()
466 assert(!FailureInfo && in computeImportForFunction()
468 FailureInfo = std::make_unique<FunctionImporter::ImportFailureInfo>( in computeImportForFunction()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIdentifierNamingCheck.h90 llvm::Optional<FailureInfo>
93 llvm::Optional<FailureInfo>
DIdentifierNamingCheck.cpp696 static llvm::Optional<RenamerClangTidyCheck::FailureInfo> getFailureInfo( in getFailureInfo()
724 return RenamerClangTidyCheck::FailureInfo{std::move(KindName), in getFailureInfo()
728 llvm::Optional<RenamerClangTidyCheck::FailureInfo>
742 llvm::Optional<RenamerClangTidyCheck::FailureInfo>
/external/bazelbuild-rules_android/rules/
Dutils.bzl17 load(":providers.bzl", "FailureInfo")
336 …"""Collects FailureInfo providers from the given list of deps and fails if there's at least one."""
337 failure_infos = _collect_providers(FailureInfo, *all_deps)
Dproviders.bzl107 FailureInfo = provider(