Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp70 enum class ErrorKind : int { enum
177 if (Error == ErrorKind::NilAssignedToNonnull || in reportBug()
178 Error == ErrorKind::NilPassedToNonnull || in reportBug()
179 Error == ErrorKind::NilReturnedToNonnull) in reportBug()
438 StringRef Msg, ErrorKind Error, CheckKind CK, ExplodedNode *N, in reportBugIfInvariantHolds()
502 ErrorKind::NullableDereferenced, CK_NullableDereferenced, in checkEvent()
635 reportBugIfInvariantHolds(OS.str(), ErrorKind::NilReturnedToNonnull, in checkPreStmt()
735 reportBugIfInvariantHolds(OS.str(), ErrorKind::NilPassedToNonnull, in checkPreCall()
770 ErrorKind::NullableDereferenced, in checkPreCall()
1150 reportBugIfInvariantHolds(OS.str(), ErrorKind::NilAssignedToNonnull, in checkBind()
[all …]
H A DStreamChecker.cpp313 const StreamErrorState &ErrorKind) const;
317 const StreamErrorState &ErrorKind) const;
795 const StreamErrorState &ErrorKind) const { in evalFeofFerror()
811 if (SS->ErrorState & ErrorKind) { in evalFeofFerror()
817 StreamSym, StreamState::getOpened(Desc, ErrorKind, in evalFeofFerror()
819 !ErrorKind.isFEof()))); in evalFeofFerror()
821 if (StreamErrorState NewES = SS->ErrorState & (~ErrorKind)) { in evalFeofFerror()
850 const StreamErrorState &ErrorKind) const { in evalSetFeofFerror()
857 StreamSym, StreamState::getOpened(SS->LastOperation, ErrorKind)); in evalSetFeofFerror()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp85 const char *ErrorKind = ConvertTypeToString(Type); in MaybeReportErrorSummary() local
94 ReportErrorSummary(ErrorKind, AI, GetSanititizerToolName()); in MaybeReportErrorSummary()
100 ReportErrorSummary(ErrorKind, AI, GetSanititizerToolName()); in MaybeReportErrorSummary()
103 ReportErrorSummary(ErrorKind, GetSanititizerToolName()); in MaybeReportErrorSummary()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporter.h55 enum ErrorKind { enum
61 ErrorKind Error;
71 ImportError(ErrorKind Error) : Error(Error) { } in ImportError()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.h338 const RefCountBug &errorKindToBugKind(RefVal::Kind ErrorKind,
342 RefVal::Kind ErrorKind, SymbolRef Sym,
H A DRetainCountChecker.cpp843 RetainCountChecker::errorKindToBugKind(RefVal::Kind ErrorKind, in errorKindToBugKind() argument
845 switch (ErrorKind) { in errorKindToBugKind()
861 RefVal::Kind ErrorKind, in processNonLeakError() argument
879 errorKindToBugKind(ErrorKind, Sym), in processNonLeakError()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_errors.h416 enum ErrorKind { enum
422 ErrorKind kind;
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp15768 unsigned ErrorKind; in CheckOverloadedOperatorDeclaration() local
15770 ErrorKind = 2; // 2 -> unary or binary. in CheckOverloadedOperatorDeclaration()
15772 ErrorKind = 0; // 0 -> unary in CheckOverloadedOperatorDeclaration()
15776 ErrorKind = 1; // 1 -> binary in CheckOverloadedOperatorDeclaration()
15780 << FnDecl->getDeclName() << NumParams << ErrorKind; in CheckOverloadedOperatorDeclaration()