Home
last modified time | relevance | path

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

/external/google-fruit/include/fruit/impl/meta/
Derrors.h32 template <typename ErrorTag, typename... ErrorArgs>
33 struct CheckIfError<Error<ErrorTag, ErrorArgs...>> {
34 using type = typename ErrorTag::template apply<ErrorArgs...>;
40 template <typename ErrorTag, typename... Args>
43 …static_assert(true || sizeof(typename CheckIfError<Error<ErrorTag, UnwrapType<Args>...>>::type), "…
45 using type = Error<ErrorTag, typename TypeUnwrapper<Args>::type...>;
57 template <typename ErrorTag, typename... ErrorParams, typename... Types>
58 struct apply<Error<ErrorTag, ErrorParams...>, Types...> {
59 using type = Error<ErrorTag, ErrorParams...>;
Deval.h49 template <typename ErrorTag, typename... ErrorArgs>
50 struct SimpleIsError<Error<ErrorTag, ErrorArgs...>> {
122 template <typename ExprResult, typename ErrorTag, typename Handler>
144 template <typename Expr, typename ErrorTag, typename Handler>
145 struct DoEval<Catch(Expr, ErrorTag, Handler)> {
146 …using type = typename EvalCatch<typename DoEval<Expr>::type, typename DoEval<ErrorTag>::type, Hand…
149 template <typename Expr, typename ErrorTag, typename Handler>
150 struct DoEval<Catch (*)(Expr, ErrorTag, Handler)> {
151 …using type = typename EvalCatch<typename DoEval<Expr>::type, typename DoEval<ErrorTag>::type, Hand…
167 template <typename ErrorTag, typename... ErrorArgs, typename ThenMetaExpr, typename ElseMetaExpr>
[all …]
Dvector.h254 template <typename ErrorTag, typename ArgsVector, typename... OtherArgs>
257 template <typename ErrorTag, typename... Args, typename... OtherArgs>
258 struct apply<ErrorTag, Vector<Args...>, OtherArgs...> {
259 using type = ConstructError(ErrorTag, OtherArgs..., Args...);
264 template <typename ErrorTag, typename ArgsVector, typename... OtherArgs>
266 …using type = ConstructErrorWithArgVectorHelper(ErrorTag, VectorRemoveNone(ArgsVector), OtherArgs..…
Dbasics.h62 template <typename ErrorTag, typename... ErrorArgs>
/external/llvm-project/lld/include/lld/Common/
DErrorHandler.h92 enum class ErrorTag { LibNotFound, SymbolNotFound }; enum
109 void error(const Twine &msg, ErrorTag tag, ArrayRef<StringRef> args);
133 inline void error(const Twine &msg, ErrorTag tag, ArrayRef<StringRef> args) { in error()
/external/llvm-project/lld/Common/
DErrorHandler.cpp237 void ErrorHandler::error(const Twine &msg, ErrorTag tag, in error()
246 case ErrorTag::LibNotFound: in error()
249 case ErrorTag::SymbolNotFound: in error()
/external/google-fruit/tests/meta/
Dcommon.h44 template <typename ErrorTag, typename... Args>
46 using type = ConstructError(ErrorTag, Type<Args>...);
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp1991 StringRef ErrorTag = ErrorNode->getLocation().getTag()->getTagDescription(); in generate() local
1996 if (ErrorTag.startswith(CheckerOrPackage)) in generate()
/external/llvm-project/lld/ELF/
DRelocations.cpp921 error(msg, ErrorTag::SymbolNotFound, {sym.getName()}); in reportUndefinedSymbol()
DDriver.cpp291 error("unable to find library -l" + name, ErrorTag::LibNotFound, {name}); in addLibrary()