Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DSourceMgr.h37 enum DiagKind { enum
161 void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind,
168 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
185 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
238 SourceMgr::DiagKind Kind;
248 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic()
254 int Line, int Col, SourceMgr::DiagKind Kind,
264 SourceMgr::DiagKind getKind() const { return Kind; } in getKind()
/external/clang/lib/Analysis/
DThreadSafety.cpp126 StringRef DiagKind) const = 0;
833 StringRef DiagKind) const override { in handleUnlock()
873 StringRef DiagKind) const override { in handleUnlock()
891 Handler.handleUnmatchedUnlock(DiagKind, UnderCp.toString(), in handleUnlock()
927 StringRef DiagKind, bool ReqAttr = false);
930 StringRef DiagKind);
1188 StringRef DiagKind, bool ReqAttr) { in addLock() argument
1201 Handler.handleNegativeNotHeld(DiagKind, Entry->toString(), in addLock()
1210 Entry->loc(), DiagKind); in addLock()
1216 Handler.handleDoubleLock(DiagKind, Entry->toString(), Entry->loc()); in addLock()
[all …]
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp702 unsigned DiagKind; in DiagUninitUse() local
724 DiagKind = 0; in DiagUninitUse()
734 DiagKind = 0; in DiagUninitUse()
746 DiagKind = 0; in DiagUninitUse()
763 DiagKind = 1; in DiagUninitUse()
770 DiagKind = 1; in DiagUninitUse()
786 DiagKind = 1; in DiagUninitUse()
793 DiagKind = 2; in DiagUninitUse()
802 DiagKind = 3; in DiagUninitUse()
807 DiagKind = 3; in DiagUninitUse()
[all …]
DSemaExpr.cpp11535 unsigned DiagKind = 0; in DiagnoseAssignmentResult() local
11549 DiagKind = diag::ext_typecheck_convert_pointer_int; in DiagnoseAssignmentResult()
11554 DiagKind = diag::ext_typecheck_convert_int_pointer; in DiagnoseAssignmentResult()
11559 DiagKind = in DiagnoseAssignmentResult()
11575 DiagKind = diag::ext_typecheck_convert_incompatible_pointer_sign; in DiagnoseAssignmentResult()
11578 DiagKind = diag::ext_typecheck_convert_pointer_void_func; in DiagnoseAssignmentResult()
11587 DiagKind = diag::err_typecheck_incompatible_address_space; in DiagnoseAssignmentResult()
11592 DiagKind = diag::err_typecheck_incompatible_ownership; in DiagnoseAssignmentResult()
11612 DiagKind = diag::ext_typecheck_convert_discards_qualifiers; in DiagnoseAssignmentResult()
11615 DiagKind = diag::ext_nested_pointer_qualifier_mismatch; in DiagnoseAssignmentResult()
[all …]
DSemaDeclAttr.cpp2929 int DiagKind = -1; in AddAlignedAttr() local
2931 DiagKind = 0; in AddAlignedAttr()
2934 DiagKind = 1; in AddAlignedAttr()
2936 DiagKind = 2; in AddAlignedAttr()
2939 DiagKind = 3; in AddAlignedAttr()
2946 if (DiagKind != -1) { in AddAlignedAttr()
2948 << &TmpAttr << DiagKind; in AddAlignedAttr()
DSemaType.cpp2558 unsigned DiagKind = 0; in GetFullTypeForDeclarator() local
2573 DiagKind = 0; in GetFullTypeForDeclarator()
2576 DiagKind = 1; in GetFullTypeForDeclarator()
2579 DiagKind = 2; in GetFullTypeForDeclarator()
2583 S.Diag(DeclChunk.Loc, DiagId) << DiagKind; in GetFullTypeForDeclarator()
DSemaDeclCXX.cpp5505 int DiagKind = -1; in shouldDeleteForSubobjectCall() local
5508 DiagKind = !Decl ? 0 : 1; in shouldDeleteForSubobjectCall()
5510 DiagKind = 2; in shouldDeleteForSubobjectCall()
5512 DiagKind = 3; in shouldDeleteForSubobjectCall()
5520 DiagKind = 4; in shouldDeleteForSubobjectCall()
5523 if (DiagKind == -1) in shouldDeleteForSubobjectCall()
5531 << Field << DiagKind << IsDtorCallInCtor; in shouldDeleteForSubobjectCall()
5537 << Base->getType() << DiagKind << IsDtorCallInCtor; in shouldDeleteForSubobjectCall()
5540 if (DiagKind == 1) in shouldDeleteForSubobjectCall()
/external/llvm/lib/Support/
DSourceMgr.cpp135 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in GetMessage()
216 SourceMgr::DiagKind Kind, in PrintMessage()
222 void SourceMgr::PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in PrintMessage()
233 int Line, int Col, SourceMgr::DiagKind Kind, in SMDiagnostic()
DYAMLParser.cpp272 void printError(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Message, in printError()
/external/clang/lib/AST/
DCommentSema.cpp591 unsigned DiagKind; in checkReturnsCommand() local
595 DiagKind = 3; in checkReturnsCommand()
597 DiagKind = 0; in checkReturnsCommand()
600 DiagKind = 1; in checkReturnsCommand()
603 DiagKind = 2; in checkReturnsCommand()
610 << DiagKind in checkReturnsCommand()
/external/llvm/lib/TableGen/
DError.cpp25 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage()
/external/llvm/unittests/Support/
DSourceMgrTest.cpp40 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in printMessage()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp289 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, in printMessage()