Home
last modified time | relevance | path

Searched refs:ErrorKind (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTImportError.h24 enum ErrorKind { enum
30 ErrorKind Error;
40 ASTImportError(ErrorKind Error) : Error(Error) {} in ASTImportError()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp72 enum class ErrorKind : int { enum
166 void reportBugIfInvariantHolds(StringRef Msg, ErrorKind Error, CheckKind CK,
172 void reportBug(StringRef Msg, ErrorKind Error, CheckKind CK, ExplodedNode *N, in reportBug()
183 if (Error == ErrorKind::NilAssignedToNonnull || in reportBug()
184 Error == ErrorKind::NilPassedToNonnull || in reportBug()
185 Error == ErrorKind::NilReturnedToNonnull) in reportBug()
482 StringRef Msg, ErrorKind Error, CheckKind CK, ExplodedNode *N, in reportBugIfInvariantHolds()
555 ErrorKind::NullableDereferenced, CK_NullableDereferenced, in checkEvent()
560 ErrorKind::NullablePassedToNonnull, CK_NullableDereferenced, in checkEvent()
719 reportBugIfInvariantHolds(OS.str(), ErrorKind::NilReturnedToNonnull, in checkPreStmt()
[all …]
H A DStreamChecker.cpp517 const StreamErrorState &ErrorKind) const;
520 CheckerContext &C, const StreamErrorState &ErrorKind,
1689 const StreamErrorState &ErrorKind) const { in evalFeofFerror()
1695 if (E.SS->ErrorState & ErrorKind) { in evalFeofFerror()
1701 TrueState, StreamState::getOpened(Desc, ErrorKind, in evalFeofFerror()
1703 !ErrorKind.isFEof()))); in evalFeofFerror()
1705 if (StreamErrorState NewES = E.SS->ErrorState & (~ErrorKind)) { in evalFeofFerror()
1759 const StreamErrorState &ErrorKind, in evalSetFeofFerror() argument
1768 StreamState::getOpened(SS->LastOperation, ErrorKind, Indeterminate)); in evalSetFeofFerror()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp83 const char *ErrorKind = ConvertTypeToString(Type); in MaybeReportErrorSummary() local
92 ReportErrorSummary(ErrorKind, AI, GetSanititizerToolName()); in MaybeReportErrorSummary()
98 ReportErrorSummary(ErrorKind, AI, GetSanititizerToolName()); in MaybeReportErrorSummary()
101 ReportErrorSummary(ErrorKind, GetSanititizerToolName()); in MaybeReportErrorSummary()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_errors.h439 enum ErrorKind { enum
445 ErrorKind kind;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp842 RetainCountChecker::errorKindToBugKind(RefVal::Kind ErrorKind, in errorKindToBugKind() argument
844 switch (ErrorKind) { in errorKindToBugKind()
860 RefVal::Kind ErrorKind, in processNonLeakError() argument
878 errorKindToBugKind(ErrorKind, Sym), in processNonLeakError()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp16385 unsigned ErrorKind; in CheckOverloadedOperatorDeclaration() local
16387 ErrorKind = 2; // 2 -> unary or binary. in CheckOverloadedOperatorDeclaration()
16389 ErrorKind = 0; // 0 -> unary in CheckOverloadedOperatorDeclaration()
16393 ErrorKind = 1; // 1 -> binary in CheckOverloadedOperatorDeclaration()
16396 << FnDecl->getDeclName() << NumParams << ErrorKind; in CheckOverloadedOperatorDeclaration()