Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h37 enum DiagKind { enum
156 void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind,
163 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
180 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
233 SourceMgr::DiagKind Kind;
243 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic()
249 int Line, int Col, SourceMgr::DiagKind Kind,
259 SourceMgr::DiagKind getKind() const { return Kind; } in getKind()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSourceMgr.h44 enum DiagKind { enum
190 void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind,
197 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
214 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
266 SourceMgr::DiagKind Kind = SourceMgr::DK_Error;
275 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) in SMDiagnostic()
280 int Line, int Col, SourceMgr::DiagKind Kind,
290 SourceMgr::DiagKind getKind() const { return Kind; } in getKind()
/external/clang/lib/Analysis/
DThreadSafety.cpp126 StringRef DiagKind) const = 0;
835 StringRef DiagKind) const override { in handleUnlock()
875 StringRef DiagKind) const override { in handleUnlock()
893 Handler.handleUnmatchedUnlock(DiagKind, UnderCp.toString(), in handleUnlock()
929 StringRef DiagKind, bool ReqAttr = false);
932 StringRef DiagKind);
1185 StringRef DiagKind, bool ReqAttr) { in addLock() argument
1198 Handler.handleNegativeNotHeld(DiagKind, Entry->toString(), in addLock()
1207 Entry->loc(), DiagKind); in addLock()
1213 Handler.handleDoubleLock(DiagKind, Entry->toString(), Entry->loc()); in addLock()
[all …]
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp714 unsigned DiagKind; in DiagUninitUse() local
736 DiagKind = 0; in DiagUninitUse()
746 DiagKind = 0; in DiagUninitUse()
758 DiagKind = 0; in DiagUninitUse()
775 DiagKind = 1; in DiagUninitUse()
782 DiagKind = 1; in DiagUninitUse()
798 DiagKind = 1; in DiagUninitUse()
805 DiagKind = 2; in DiagUninitUse()
814 DiagKind = 3; in DiagUninitUse()
819 DiagKind = 3; in DiagUninitUse()
[all …]
DSemaExpr.cpp12402 unsigned DiagKind = 0; in DiagnoseAssignmentResult() local
12416 DiagKind = diag::ext_typecheck_convert_pointer_int; in DiagnoseAssignmentResult()
12421 DiagKind = diag::ext_typecheck_convert_int_pointer; in DiagnoseAssignmentResult()
12426 DiagKind = in DiagnoseAssignmentResult()
12442 DiagKind = diag::ext_typecheck_convert_incompatible_pointer_sign; in DiagnoseAssignmentResult()
12445 DiagKind = diag::ext_typecheck_convert_pointer_void_func; in DiagnoseAssignmentResult()
12454 DiagKind = diag::err_typecheck_incompatible_address_space; in DiagnoseAssignmentResult()
12459 DiagKind = diag::err_typecheck_incompatible_ownership; in DiagnoseAssignmentResult()
12479 DiagKind = diag::ext_typecheck_convert_discards_qualifiers; in DiagnoseAssignmentResult()
12482 DiagKind = diag::ext_nested_pointer_qualifier_mismatch; in DiagnoseAssignmentResult()
[all …]
DSemaDeclAttr.cpp3202 int DiagKind = -1; in AddAlignedAttr() local
3204 DiagKind = 0; in AddAlignedAttr()
3207 DiagKind = 1; in AddAlignedAttr()
3209 DiagKind = 2; in AddAlignedAttr()
3212 DiagKind = 3; in AddAlignedAttr()
3219 if (DiagKind != -1) { in AddAlignedAttr()
3221 << &TmpAttr << DiagKind; in AddAlignedAttr()
DSemaType.cpp3522 unsigned DiagKind = 0; in GetFullTypeForDeclarator() local
3537 DiagKind = 0; in GetFullTypeForDeclarator()
3540 DiagKind = 1; in GetFullTypeForDeclarator()
3543 DiagKind = 2; in GetFullTypeForDeclarator()
3549 S.Diag(DeclChunk.Loc, DiagId) << DiagKind; in GetFullTypeForDeclarator()
DSemaDeclCXX.cpp5671 int DiagKind = -1; in shouldDeleteForSubobjectCall() local
5674 DiagKind = !Decl ? 0 : 1; in shouldDeleteForSubobjectCall()
5676 DiagKind = 2; in shouldDeleteForSubobjectCall()
5678 DiagKind = 3; in shouldDeleteForSubobjectCall()
5686 DiagKind = 4; in shouldDeleteForSubobjectCall()
5689 if (DiagKind == -1) in shouldDeleteForSubobjectCall()
5697 << Field << DiagKind << IsDtorCallInCtor; in shouldDeleteForSubobjectCall()
5703 << Base->getType() << DiagKind << IsDtorCallInCtor; in shouldDeleteForSubobjectCall()
5706 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.cpp277 void printError(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Message, in printError()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSourceMgr.cpp168 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in GetMessage()
248 SourceMgr::DiagKind Kind, in PrintMessage()
254 void SourceMgr::PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in PrintMessage()
265 int Line, int Col, SourceMgr::DiagKind Kind, in SMDiagnostic()
DYAMLParser.cpp266 void printError(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Message, in printError()
/external/clang/lib/AST/
DCommentSema.cpp589 unsigned DiagKind; in checkReturnsCommand() local
593 DiagKind = 3; in checkReturnsCommand()
595 DiagKind = 0; in checkReturnsCommand()
598 DiagKind = 1; in checkReturnsCommand()
601 DiagKind = 2; in checkReturnsCommand()
608 << DiagKind in checkReturnsCommand()
/external/llvm/lib/TableGen/
DError.cpp26 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DError.cpp27 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DSourceMgrTest.cpp40 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in printMessage()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp342 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, in printMessage()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DAsmParser.cpp302 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, in printMessage()