Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTImportError.h24 enum ErrorKind { enum
30 ErrorKind Error;
40 ASTImportError(ErrorKind Error) : Error(Error) {} in ASTImportError()
/llvm-project-15.0.7/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.cpp314 const StreamErrorState &ErrorKind) const;
318 const StreamErrorState &ErrorKind) const;
792 const StreamErrorState &ErrorKind) const { in evalFeofFerror()
808 if (SS->ErrorState & ErrorKind) { in evalFeofFerror()
814 StreamSym, StreamState::getOpened(Desc, ErrorKind, in evalFeofFerror()
816 !ErrorKind.isFEof()))); in evalFeofFerror()
818 if (StreamErrorState NewES = SS->ErrorState & (~ErrorKind)) { in evalFeofFerror()
847 const StreamErrorState &ErrorKind) const { in evalSetFeofFerror()
854 StreamSym, StreamState::getOpened(SS->LastOperation, ErrorKind)); in evalSetFeofFerror()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_errors.h416 enum ErrorKind { enum
422 ErrorKind kind;
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterFixtures.h441 ASTImportError::ErrorKind Kind) { in isImportError()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dirtranslator-extract-used-by-dbg.ll73 !45 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "ErrorKind", scope: !46, file: !4, baseT…
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp15982 unsigned ErrorKind; in CheckOverloadedOperatorDeclaration() local
15984 ErrorKind = 2; // 2 -> unary or binary. in CheckOverloadedOperatorDeclaration()
15986 ErrorKind = 0; // 0 -> unary in CheckOverloadedOperatorDeclaration()
15990 ErrorKind = 1; // 1 -> binary in CheckOverloadedOperatorDeclaration()
15993 << FnDecl->getDeclName() << NumParams << ErrorKind; in CheckOverloadedOperatorDeclaration()