Searched refs:DiagLoc (Results 1 - 20 of 20) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DPragma.cpp1180 SourceLocation DiagLoc = DiagToken.getLocation(); local
1191 if (!PP.getDiagnostics().popMappings(DiagLoc))
1194 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace);
1197 PP.getDiagnostics().pushMappings(DiagLoc);
1199 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace);
1242 PP.getDiagnostics().setSeverityForAll(Flavor, SV, DiagLoc);
1245 DiagLoc);
1250 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName);
1275 SourceLocation DiagLoc = Tok.getLocation(); local
1303 Callbacks->PragmaWarningPush(DiagLoc, Leve
1397 SourceLocation DiagLoc = Tok.getLocation(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaConcept.cpp410 S.Diag(SubstDiag->DiagLoc,
415 S.Diag(SubstDiag->DiagLoc,
429 S.Diag(SubstDiag->DiagLoc,
434 S.Diag(SubstDiag->DiagLoc,
474 S.Diag(SubstDiag->DiagLoc,
478 S.Diag(SubstDiag->DiagLoc,
496 S.Diag(SubstDiag->DiagLoc,
501 S.Diag(SubstDiag->DiagLoc,
H A DJumpDiagnostics.cpp86 void CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc,
884 void JumpScopeChecker::CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, argument
931 S.Diag(DiagLoc, JumpDiagWarning);
937 S.Diag(DiagLoc, JumpDiagError);
943 S.Diag(DiagLoc, JumpDiagCXX98Compat);
H A DSemaInit.cpp7386 SourceLocation DiagLoc = DiagRange.getBegin();
7427 if (IsGslPtrInitWithGslTempOwner && DiagLoc.isValid()) {
7428 Diag(DiagLoc, diag::warn_dangling_lifetime_pointer) << DiagRange;
7449 Diag(DiagLoc, diag::warn_unsupported_lifetime_extension)
7458 Diag(DiagLoc, diag::warn_dangling_variable)
7474 Diag(DiagLoc, diag::warn_dangling_lifetime_pointer_member)
7482 Diag(DiagLoc, shouldLifetimeExtendThroughPath(Path)
7527 Diag(DiagLoc, IsPointer ? diag::warn_init_ptr_member_to_parameter_addr
7541 Diag(DiagLoc, diag::warn_dangling_lifetime_pointer) << DiagRange;
7543 Diag(DiagLoc, R
[all...]
H A DSema.cpp2427 bool Sema::checkOpenCLDisabledTypeOrDecl(T D, DiagLocT DiagLoc, argument
2437 Diag(DiagLoc, diag::err_opencl_requires_extension) << Selector << DiagInfo
H A DSemaChecking.cpp9535 SourceLocation DiagLoc = SizeArg->getExprLoc(); local
9542 S.Diag(DiagLoc, diag::warn_suspicious_bzero_size);
9543 S.Diag(DiagLoc, diag::note_suspicious_bzero_size_silence);
9545 S.Diag(DiagLoc, diag::warn_suspicious_sizeof_memset) << 0;
9546 S.Diag(DiagLoc, diag::note_suspicious_sizeof_memset_silence) << 0;
9557 SourceLocation DiagLoc = Call->getArg(1)->getExprLoc(); local
9558 S.Diag(DiagLoc, diag::warn_suspicious_sizeof_memset) << 1;
9559 S.Diag(DiagLoc, diag::note_suspicious_sizeof_memset_silence) << 1;
H A DSemaExprCXX.cpp6062 SourceRange DiagLoc =
6065 Diag(DiagLoc.getBegin(), diag::err_conditional_vector_has_void)
6066 << DiagLoc << IsThrow;
H A DSemaType.cpp4958 SourceLocation DiagLoc, FixitLoc; local
4960 DiagLoc = TInfo->getTypeLoc().getBeginLoc();
4963 DiagLoc = D.getDeclSpec().getTypeSpecTypeLoc();
4966 S.Diag(DiagLoc, diag::err_object_cannot_be_passed_returned_by_value)
H A DSemaTemplate.cpp6168 SourceLocation DiagLoc = Arg->getExprLoc(); local
6175 DiagLoc = Notes[0].first;
6179 S.Diag(DiagLoc, diag::err_template_arg_not_address_constant)
H A DSemaExpr.cpp15845 SourceLocation DiagLoc = E->getBeginLoc(); local
15898 Converted = PerformContextualImplicitConversion(DiagLoc, E,
15908 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange());
15955 DiagLoc = Notes[0].first;
15961 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange());
15969 Diagnoser.diagnoseFold(*this, DiagLoc, E->getSourceRange());
H A DSemaDecl.cpp12887 SourceLocation DiagLoc = var->getLocation(); local
12892 DiagLoc = Notes[0].first;
12895 Diag(DiagLoc, diag::err_constexpr_var_requires_const_init)
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp571 SourceLocation DiagLoc; local
573 DiagLoc = Command->getArgRange(Command->getNumArgs() - 1).getEnd();
574 if (!DiagLoc.isValid())
575 DiagLoc = Command->getCommandNameRange(Traits).getEnd();
576 Diag(DiagLoc, diag::warn_doc_block_command_empty_paragraph)
H A DExprConstant.cpp2020 EvalInfo &Info, SourceLocation DiagLoc,
2200 EvalInfo &Info, SourceLocation DiagLoc,
2206 Info.FFDiag(DiagLoc, diag::note_constexpr_uninitialized)
2224 if (!CheckEvaluationResult(CERK, Info, DiagLoc, EltTy,
2231 return CheckEvaluationResult(CERK, Info, DiagLoc, EltTy,
2237 CERK, Info, DiagLoc, Value.getUnionField()->getType(),
2246 if (!CheckEvaluationResult(CERK, Info, DiagLoc, BS.getType(),
2257 if (!CheckEvaluationResult(CERK, Info, DiagLoc, I->getType(),
2268 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal, Usage,
2274 return CheckMemberPointerConstantExpression(Info, DiagLoc, Typ
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExprConcepts.h162 SourceLocation DiagLoc; member in struct:clang::concepts::Requirement::SubstitutionDiagnostic
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp1086 SourceLocation DiagLoc;
1089 DiagLoc = Loc;
1093 assert(DiagLoc.isValid() && "no location for diagnostic");
1097 auto &&D = Diag(DiagLoc, DiagID);
2606 SourceLocation DiagLoc;
2618 DiagLoc = Tok.getLocation();
2654 DiagLoc = TokLocs.front();
2664 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement(
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2336 SMLoc DiagLoc = Diag.getLoc(); local
2337 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc);
2343 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc);
2367 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf);
H A DMasmParser.cpp2484 SMLoc DiagLoc = Diag.getLoc(); local
2485 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc);
2491 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc);
2515 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp813 SourceLocation DiagLoc = Record.readSourceLocation(); local
816 concepts::Requirement::SubstitutionDiagnostic{SubstitutedEntity, DiagLoc,
H A DASTWriterStmt.cpp421 Record.AddSourceLocation(D->DiagLoc);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9968 /// \param DiagLoc source location for the diagnostic message.
9976 bool checkOpenCLDisabledTypeOrDecl(T D, DiagLocT DiagLoc, DiagInfoT DiagInfo,

Completed in 721 milliseconds