Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp72 enum class ErrorKind : int { enum
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()
719 reportBugIfInvariantHolds(OS.str(), ErrorKind::NilReturnedToNonnull, in checkPreStmt()
819 reportBugIfInvariantHolds(OS.str(), ErrorKind::NilPassedToNonnull, in checkPreCall()
854 ErrorKind::NullableDereferenced, in checkPreCall()
1307 reportBugIfInvariantHolds(OS.str(), ErrorKind::NilAssignedToNonnull, in checkBind()
[all …]
H A DStreamChecker.cpp391 const StreamErrorState &ErrorKind) const;
395 const StreamErrorState &ErrorKind) const;
1369 const StreamErrorState &ErrorKind) const { in evalFeofFerror()
1385 if (SS->ErrorState & ErrorKind) { in evalFeofFerror()
1391 StreamSym, StreamState::getOpened(Desc, ErrorKind, in evalFeofFerror()
1393 !ErrorKind.isFEof()))); in evalFeofFerror()
1395 if (StreamErrorState NewES = SS->ErrorState & (~ErrorKind)) { in evalFeofFerror()
1424 const StreamErrorState &ErrorKind) const { in evalSetFeofFerror()
1431 StreamSym, StreamState::getOpened(SS->LastOperation, ErrorKind)); in evalSetFeofFerror()
/freebsd-14.2/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-14.2/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.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-14.2/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_errors.h439 enum ErrorKind { enum
445 ErrorKind kind;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp16510 unsigned ErrorKind; in CheckOverloadedOperatorDeclaration() local
16512 ErrorKind = 2; // 2 -> unary or binary. in CheckOverloadedOperatorDeclaration()
16514 ErrorKind = 0; // 0 -> unary in CheckOverloadedOperatorDeclaration()
16518 ErrorKind = 1; // 1 -> binary in CheckOverloadedOperatorDeclaration()
16521 << FnDecl->getDeclName() << NumParams << ErrorKind; in CheckOverloadedOperatorDeclaration()