Home
last modified time | relevance | path

Searched refs:DiagKind (Results 1 – 11 of 11) sorted by relevance

/external/llvm/include/llvm/Support/
DSourceMgr.h37 enum DiagKind { enum
147 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
158 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
211 SourceMgr::DiagKind Kind;
221 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic()
227 int Line, int Col, SourceMgr::DiagKind Kind,
237 SourceMgr::DiagKind getKind() const { return Kind; } in getKind()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp504 unsigned DiagKind; in DiagUninitUse() local
530 DiagKind = 0; in DiagUninitUse()
540 DiagKind = 0; in DiagUninitUse()
552 DiagKind = 0; in DiagUninitUse()
569 DiagKind = 1; in DiagUninitUse()
576 DiagKind = 1; in DiagUninitUse()
588 DiagKind = 2; in DiagUninitUse()
597 DiagKind = 3; in DiagUninitUse()
602 DiagKind = 3; in DiagUninitUse()
609 << VD->getDeclName() << IsCapturedByBlock << DiagKind in DiagUninitUse()
[all …]
DSemaType.cpp2299 int DiagKind = -1; in checkQualifiedFunction() local
2311 DiagKind = 0; in checkQualifiedFunction()
2314 DiagKind = 1; in checkQualifiedFunction()
2317 DiagKind = 2; in checkQualifiedFunction()
2321 assert(DiagKind != -1); in checkQualifiedFunction()
2323 << DiagKind << isa<FunctionType>(T.IgnoreParens()) << T in checkQualifiedFunction()
2457 unsigned DiagKind = 0; in GetFullTypeForDeclarator() local
2472 DiagKind = 0; in GetFullTypeForDeclarator()
2475 DiagKind = 1; in GetFullTypeForDeclarator()
2478 DiagKind = 2; in GetFullTypeForDeclarator()
[all …]
DSemaExpr.cpp10422 unsigned DiagKind = 0; in DiagnoseAssignmentResult() local
10435 DiagKind = diag::ext_typecheck_convert_pointer_int; in DiagnoseAssignmentResult()
10440 DiagKind = diag::ext_typecheck_convert_int_pointer; in DiagnoseAssignmentResult()
10446 DiagKind = in DiagnoseAssignmentResult()
10460 DiagKind = diag::warn_missing_atsign_prefix; in DiagnoseAssignmentResult()
10464 DiagKind = diag::ext_typecheck_convert_incompatible_pointer_sign; in DiagnoseAssignmentResult()
10467 DiagKind = diag::ext_typecheck_convert_pointer_void_func; in DiagnoseAssignmentResult()
10476 DiagKind = diag::err_typecheck_incompatible_address_space; in DiagnoseAssignmentResult()
10481 DiagKind = diag::err_typecheck_incompatible_ownership; in DiagnoseAssignmentResult()
10501 DiagKind = diag::ext_typecheck_convert_discards_qualifiers; in DiagnoseAssignmentResult()
[all …]
DSemaDeclAttr.cpp3384 int DiagKind = -1; in AddAlignedAttr() local
3386 DiagKind = 0; in AddAlignedAttr()
3389 DiagKind = 1; in AddAlignedAttr()
3391 DiagKind = 2; in AddAlignedAttr()
3394 DiagKind = 3; in AddAlignedAttr()
3402 if (DiagKind != -1) { in AddAlignedAttr()
3404 << TmpAttr.isC11() << DiagKind; in AddAlignedAttr()
DSemaDeclCXX.cpp4770 int DiagKind = -1; in shouldDeleteForSubobjectCall() local
4773 DiagKind = !Decl ? 0 : 1; in shouldDeleteForSubobjectCall()
4775 DiagKind = 2; in shouldDeleteForSubobjectCall()
4777 DiagKind = 3; in shouldDeleteForSubobjectCall()
4785 DiagKind = 4; in shouldDeleteForSubobjectCall()
4788 if (DiagKind == -1) in shouldDeleteForSubobjectCall()
4796 << Field << DiagKind << IsDtorCallInCtor; in shouldDeleteForSubobjectCall()
4802 << Base->getType() << DiagKind << IsDtorCallInCtor; in shouldDeleteForSubobjectCall()
4805 if (DiagKind == 1) in shouldDeleteForSubobjectCall()
/external/llvm/lib/TableGen/
DError.cpp25 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage()
/external/llvm/lib/Support/
DSourceMgr.cpp151 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in GetMessage()
214 void SourceMgr::PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in PrintMessage()
241 int Line, int Col, SourceMgr::DiagKind Kind, in SMDiagnostic()
DYAMLParser.cpp262 void printError(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Message, in printError()
/external/clang/lib/AST/
DCommentSema.cpp582 unsigned DiagKind; in checkReturnsCommand() local
586 DiagKind = 3; in checkReturnsCommand()
588 DiagKind = 0; in checkReturnsCommand()
591 DiagKind = 1; in checkReturnsCommand()
594 DiagKind = 2; in checkReturnsCommand()
601 << DiagKind in checkReturnsCommand()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp298 void PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, in PrintMessage()