Searched refs:DiagID (Results 26 - 50 of 70) sorted by relevance

123

/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DCommentLexer.h322 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
323 return Diags.Report(Loc, DiagID);
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCXXABI.cpp24 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local
27 DiagID)
H A DCodeGenAction.cpp425 unsigned DiagID = CI.getDiagnostics().getCustomDiagID( local
428 CI.getDiagnostics().Report(Loc, DiagID);
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp657 unsigned DiagID; local
659 DiagID = diag::err_expected_class_or_namespace;
665 DiagID = diag::err_undeclared_var_use;
668 Diag(IdentifierLoc, DiagID) << &Identifier << SS.getRange();
670 Diag(IdentifierLoc, DiagID) << &Identifier;
H A DSemaStmtAsm.cpp212 if (unsigned DiagID = NS->AnalyzeAsmString(Pieces, Context, DiagOffs)) {
213 Diag(getLocationOfStringLiteralByte(AsmString, DiagOffs), DiagID)
H A DSemaType.cpp1207 unsigned DiagID = 0; local
1223 DiagID = diag::err_typecheck_invalid_restrict_invalid_pointee;
1227 DiagID = diag::err_typecheck_invalid_restrict_not_pointer;
1231 if (DiagID) {
1232 Diag(DS ? DS->getRestrictSpecLoc() : Loc, DiagID) << ProblemTy;
4548 unsigned DiagID = diag::err_cconv_varargs; local
4552 DiagID = diag::warn_cconv_varargs;
4554 S.Diag(attr.getLoc(), DiagID) << FunctionType::getNameForCallConv(CC);
5056 unsigned DiagID; member in struct:__anon3473::TypeDiagnoserDiag
5058 TypeDiagnoserDiag(unsigned DiagID) argument
5068 RequireCompleteExprType(Expr *E, unsigned DiagID) argument
5236 RequireCompleteType(SourceLocation Loc, QualType T, unsigned DiagID) argument
5358 RequireLiteralType(SourceLocation Loc, QualType T, unsigned DiagID) argument
[all...]
H A DSemaStmt.cpp200 unsigned DiagID = diag::warn_unused_expr; local
250 DiagID = diag::warn_unused_container_subscript_expr;
252 DiagID = diag::warn_unused_property_expr;
279 DiagRuntimeBehavior(Loc, 0, PDiag(DiagID) << R1 << R2);
471 unsigned DiagID) {
490 Diag(Loc, DiagID) << Val.toString(10) << ConvVal.toString(10);
1740 SourceLocation Loc, int DiagID) {
1747 SemaRef.Diag(Loc, DiagID) << Init->getType();
2847 unsigned DiagID = diag::warn_return_missing_expr; // C90 6.6.6.4p4 local
2849 if (getLangOpts().C99) DiagID
468 ConvertIntegerToTypeWarnOnOverflow(llvm::APSInt &Val, unsigned NewWidth, bool NewSign, SourceLocation Loc, unsigned DiagID) argument
1739 FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, SourceLocation Loc, int DiagID) argument
[all...]
H A DSemaTemplateInstantiate.cpp516 unsigned DiagID = diag::note_template_member_class_here; local
518 DiagID = diag::note_template_class_instantiation_here;
519 Diags.Report(Active->PointOfInstantiation, DiagID)
523 unsigned DiagID; local
525 DiagID = diag::note_function_template_spec_here;
527 DiagID = diag::note_template_member_function_here;
528 Diags.Report(Active->PointOfInstantiation, DiagID)
H A DSemaExprObjC.cpp1245 unsigned DiagID; local
1247 DiagID = diag::err_arc_method_not_found;
1249 DiagID = isClassMessage ? diag::warn_class_method_not_found
1255 DiagID = diag::error_method_not_found_with_typo;
1257 DiagID = isClassMessage ? diag::warn_class_method_not_found_with_typo
1261 Diag(SelLoc, DiagID)
1266 Diag(SelLoc, DiagID)
1953 unsigned DiagID,
1957 if (S.Diags.getDiagnosticLevel(DiagID, MsgLoc) == DiagnosticsEngine::Ignored)
1963 DiagnosticBuilder Builder = S.Diag(MsgLoc, DiagID)
1952 applyCocoaAPICheck(Sema &S, const ObjCMessageExpr *Msg, unsigned DiagID, bool (*refactor)(const ObjCMessageExpr *, const NSAPI &, edit::Commit &)) argument
[all...]
H A DSemaDecl.cpp469 unsigned DiagID = diag::err_typename_missing; local
471 DiagID = diag::warn_typename_missing;
473 Diag(SS->getRange().getBegin(), DiagID)
1353 unsigned DiagID; local
1355 DiagID = diag::warn_unused_exception_param;
1357 DiagID = diag::warn_unused_label;
1359 DiagID = diag::warn_unused_variable;
1361 Diag(D->getLocation(), DiagID) << D->getDeclName() << Hint;
3364 unsigned DiagID = diag::warn_standalone_specifier; local
3366 DiagID
3574 unsigned DiagID; local
5922 ReportOverrides(Sema& S, unsigned DiagID, const CXXMethodDecl *MD, OverrideErrorKind OEK = OEK_All) argument
9352 unsigned DiagID; // unused local
9950 unsigned DiagID; local
10906 unsigned DiagID = diag::ext_forward_ref_enum; local
11487 unsigned DiagID = 0; local
11873 unsigned DiagID = 0; local
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessor.h942 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) const {
943 return Diags->Report(Loc, DiagID);
946 DiagnosticBuilder Diag(const Token &Tok, unsigned DiagID) const {
947 return Diags->Report(Tok.getLocation(), DiagID);
1129 void SetPoisonReason(IdentifierInfo *II, unsigned DiagID);
H A DLexer.h213 DiagnosticBuilder Diag(const char *Loc, unsigned DiagID) const;
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Frontend/
H A DFrontendAction.cpp105 unsigned DiagID local
108 Ctx.getDiagnostics().Report(Ctx.getFullLoc(D->getLocation()), DiagID)
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h533 const char *&PrevSpec, unsigned &DiagID,
541 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid);
555 const char *&PrevSpec, unsigned &DiagID,
656 bool ExpectAndConsumeSemi(unsigned DiagID);
734 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID);
735 DiagnosticBuilder Diag(const Token &Tok, unsigned DiagID);
736 DiagnosticBuilder Diag(unsigned DiagID) { argument
737 return Diag(Tok, DiagID);
532 TryAltiVecToken(DeclSpec &DS, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, bool &isInvalid) argument
/freebsd-10.3-release/contrib/llvm/tools/clang/tools/driver/
H A Dcc1as_main.cpp416 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
417 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient);
H A Ddriver.cpp368 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
370 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient);
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Basic/
H A DDiagnostic.cpp125 void DiagnosticsEngine::SetDelayedDiagnostic(unsigned DiagID, StringRef Arg1, argument
130 DelayedDiagID = DiagID;
413 unsigned DiagID = CurDiagID; local
417 if (!Force && DelayedDiagID && DelayedDiagID != DiagID)
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseDeclCXX.cpp783 unsigned DiagID; local
787 DiagID, Result.release())
789 DiagID)) {
790 Diag(StartLoc, DiagID) << PrevSpec;
838 unsigned DiagID; local
840 DiagID, Result.release()))
841 Diag(StartLoc, DiagID) << PrevSpec;
987 unsigned DiagID; local
988 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type);
1618 unsigned DiagID; local
[all...]
H A DRAIIObjectsForParser.h419 bool expectAndConsume(unsigned DiagID,
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Lex/
H A DLiteralSupport.cpp61 /// Emits the diagnostic \p DiagID, highlighting the range of characters from
67 const char *TokRangeEnd, unsigned DiagID) {
71 return Diags->Report(Begin, DiagID) <<
64 Diag(DiagnosticsEngine *Diags, const LangOptions &Features, FullSourceLoc TokLoc, const char *TokBegin, const char *TokRangeBegin, const char *TokRangeEnd, unsigned DiagID) argument
H A DPreprocessor.cpp581 void Preprocessor::SetPoisonReason(IdentifierInfo *II, unsigned DiagID) { argument
582 PoisonReasons[II] = DiagID;
H A DPragma.cpp710 unsigned int DiagID; local
712 DiagID = diag::warn_pragma_include_alias_mismatch_angle;
714 DiagID = diag::warn_pragma_include_alias_mismatch_quote;
716 Diag(SourceFilenameTok.getLocation(), DiagID)
H A DLexer.cpp1082 DiagnosticBuilder Lexer::Diag(const char *Loc, unsigned DiagID) const {
1083 return PP->Diag(getSourceLocation(Loc), DiagID);
2491 unsigned DiagID; local
2499 DiagID = diag::warn_cxx98_compat_no_newline_eof;
2501 DiagID = diag::warn_no_newline_eof;
2504 DiagID = diag::ext_no_newline_eof;
2507 Diag(BufferEnd, DiagID)
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp106 void emitDiag(SourceLocation L, unsigned DiagID, argument
108 DiagnosticBuilder DiagBuilder = Diag.Report(L, DiagID);
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTReader.h1150 void Error(unsigned DiagID, StringRef Arg1 = StringRef(),
1650 DiagnosticBuilder Diag(unsigned DiagID);
1653 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID);

Completed in 460 milliseconds

123