Home
last modified time | relevance | path

Searched refs:ErrorKind (Results 1 – 8 of 8) 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.cpp73 enum class ErrorKind : int { enum
164 void reportBugIfInvariantHolds(StringRef Msg, ErrorKind Error,
170 void reportBug(StringRef Msg, ErrorKind Error, const BugType &BT, in reportBug()
180 if (Error == ErrorKind::NilAssignedToNonnull || in reportBug()
181 Error == ErrorKind::NilPassedToNonnull || in reportBug()
182 Error == ErrorKind::NilReturnedToNonnull) in reportBug()
479 StringRef Msg, ErrorKind Error, const BugType &BT, ExplodedNode *N, in reportBugIfInvariantHolds()
552 ErrorKind::NullableDereferenced, NullableDereferenced, in checkEvent()
557 ErrorKind::NullablePassedToNonnull, NullableDereferenced, in checkEvent()
723 reportBugIfInvariantHolds(OS.str(), ErrorKind::NilReturnedToNonnull, in checkPreStmt()
[all …]
H A DStreamChecker.cpp530 const StreamErrorState &ErrorKind) const;
533 CheckerContext &C, const StreamErrorState &ErrorKind,
1728 const StreamErrorState &ErrorKind) const { in evalFeofFerror()
1734 if (E.SS->ErrorState & ErrorKind) { in evalFeofFerror()
1741 TrueState, StreamState::getOpened(Desc, ErrorKind, in evalFeofFerror()
1743 !ErrorKind.isFEof()))); in evalFeofFerror()
1745 if (StreamErrorState NewES = E.SS->ErrorState & (~ErrorKind)) { in evalFeofFerror()
1799 const StreamErrorState &ErrorKind, in evalSetFeofFerror() argument
1808 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/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h337 const RefCountBug &errorKindToBugKind(RefVal::Kind ErrorKind,
341 RefVal::Kind ErrorKind, SymbolRef Sym,
H A DRetainCountChecker.cpp841 RetainCountChecker::errorKindToBugKind(RefVal::Kind ErrorKind, in errorKindToBugKind() argument
843 switch (ErrorKind) { in errorKindToBugKind()
859 RefVal::Kind ErrorKind, in processNonLeakError() argument
877 errorKindToBugKind(ErrorKind, Sym), in processNonLeakError()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_errors.h458 enum ErrorKind { enum
464 ErrorKind kind;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp16861 unsigned ErrorKind; in CheckOverloadedOperatorDeclaration() local
16863 ErrorKind = 2; // 2 -> unary or binary. in CheckOverloadedOperatorDeclaration()
16865 ErrorKind = 0; // 0 -> unary in CheckOverloadedOperatorDeclaration()
16869 ErrorKind = 1; // 1 -> binary in CheckOverloadedOperatorDeclaration()
16872 << FnDecl->getDeclName() << NumParams << ErrorKind; in CheckOverloadedOperatorDeclaration()