| /openbsd/src/gnu/llvm/clang/lib/Lex/ |
| D | Pragma.cpp | 1257 SourceLocation DiagLoc = DiagToken.getLocation(); in HandlePragma() local 1268 if (!PP.getDiagnostics().popMappings(DiagLoc)) in HandlePragma() 1271 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace); in HandlePragma() 1274 PP.getDiagnostics().pushMappings(DiagLoc); in HandlePragma() 1276 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace); in HandlePragma() 1319 PP.getDiagnostics().setSeverityForAll(Flavor, SV, DiagLoc); in HandlePragma() 1322 DiagLoc); in HandlePragma() 1327 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName); in HandlePragma() 1352 SourceLocation DiagLoc = Tok.getLocation(); in HandlePragma() local 1379 PP.getDiagnostics().pushMappings(DiagLoc); in HandlePragma() [all …]
|
| /openbsd/src/gnu/llvm/clang/lib/Frontend/ |
| D | SARIFDiagnostic.cpp | 127 SourceLocation DiagLoc = SM.translateLineCol(FID, PLoc.getLine(), ColNo); in addLocationToResult() local 131 CharSourceRange{SourceRange{DiagLoc, DiagLoc}, /* ITR = */ false}); in addLocationToResult()
|
| /openbsd/src/gnu/llvm/clang/tools/libclang/ |
| D | CXLoadedDiagnostic.h | 81 Location DiagLoc; variable
|
| D | CXLoadedDiagnostic.cpp | 102 return makeLocation(&DiagLoc); in getLocation() 380 if (std::error_code EC = readLocation(Location, D.DiagLoc)) in visitDiagnosticRecord()
|
| /openbsd/src/gnu/llvm/clang/lib/Sema/ |
| D | JumpDiagnostics.cpp | 94 void CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, 919 void JumpScopeChecker::CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, in CheckJump() argument 971 S.Diag(DiagLoc, JumpDiagWarning); in CheckJump() 980 S.Diag(DiagLoc, JumpDiagError); in CheckJump() 986 S.Diag(DiagLoc, JumpDiagCXX98Compat); in CheckJump()
|
| D | SemaConcept.cpp | 845 S.Diag(SubstDiag->DiagLoc, in diagnoseUnsatisfiedRequirement() 850 S.Diag(SubstDiag->DiagLoc, in diagnoseUnsatisfiedRequirement() 864 S.Diag(SubstDiag->DiagLoc, in diagnoseUnsatisfiedRequirement() 869 S.Diag(SubstDiag->DiagLoc, in diagnoseUnsatisfiedRequirement() 910 S.Diag(SubstDiag->DiagLoc, in diagnoseUnsatisfiedRequirement() 914 S.Diag(SubstDiag->DiagLoc, in diagnoseUnsatisfiedRequirement()
|
| D | SemaInit.cpp | 7944 SourceLocation DiagLoc = DiagRange.getBegin(); in checkInitializerLifetime() local 7985 if (IsGslPtrInitWithGslTempOwner && DiagLoc.isValid()) { in checkInitializerLifetime() 7986 Diag(DiagLoc, diag::warn_dangling_lifetime_pointer) << DiagRange; in checkInitializerLifetime() 8006 Diag(DiagLoc, diag::warn_unsupported_lifetime_extension) in checkInitializerLifetime() 8017 Diag(DiagLoc, diag::warn_dangling_variable) in checkInitializerLifetime() 8034 Diag(DiagLoc, diag::warn_dangling_lifetime_pointer_member) in checkInitializerLifetime() 8042 Diag(DiagLoc, shouldLifetimeExtendThroughPath(Path) != in checkInitializerLifetime() 8088 Diag(DiagLoc, IsPointer ? diag::warn_init_ptr_member_to_parameter_addr in checkInitializerLifetime() 8102 Diag(DiagLoc, diag::warn_dangling_lifetime_pointer) << DiagRange; in checkInitializerLifetime() 8104 Diag(DiagLoc, RK == RK_ReferenceBinding in checkInitializerLifetime() [all …]
|
| D | SemaExprCXX.cpp | 1252 SourceLocation DiagLoc = LSI->IntroducerRange.getEnd(); in buildLambdaThisCaptureFixit() local 1258 Sema.Diag(DiagLoc, diag::note_lambda_this_capture_fixit) in buildLambdaThisCaptureFixit() 1260 DiagLoc, LSI->NumExplicitCaptures > 0 ? ", this" : "this"); in buildLambdaThisCaptureFixit() 6530 SourceRange DiagLoc = in CXXCheckConditionalOperands() local 6533 Diag(DiagLoc.getBegin(), diag::err_conditional_vector_has_void) in CXXCheckConditionalOperands() 6534 << DiagLoc << IsThrow; in CXXCheckConditionalOperands()
|
| D | SemaChecking.cpp | 11621 SourceLocation DiagLoc = SizeArg->getExprLoc(); in CheckMemaccessSize() local 11628 S.Diag(DiagLoc, diag::warn_suspicious_bzero_size); in CheckMemaccessSize() 11629 S.Diag(DiagLoc, diag::note_suspicious_bzero_size_silence); in CheckMemaccessSize() 11631 S.Diag(DiagLoc, diag::warn_suspicious_sizeof_memset) << 0; in CheckMemaccessSize() 11632 S.Diag(DiagLoc, diag::note_suspicious_sizeof_memset_silence) << 0; in CheckMemaccessSize() 11643 SourceLocation DiagLoc = Call->getArg(1)->getExprLoc(); in CheckMemaccessSize() local 11644 S.Diag(DiagLoc, diag::warn_suspicious_sizeof_memset) << 1; in CheckMemaccessSize() 11645 S.Diag(DiagLoc, diag::note_suspicious_sizeof_memset_silence) << 1; in CheckMemaccessSize()
|
| D | SemaType.cpp | 5261 SourceLocation DiagLoc, FixitLoc; in GetFullTypeForDeclarator() local 5263 DiagLoc = TInfo->getTypeLoc().getBeginLoc(); in GetFullTypeForDeclarator() 5266 DiagLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in GetFullTypeForDeclarator() 5269 S.Diag(DiagLoc, diag::err_object_cannot_be_passed_returned_by_value) in GetFullTypeForDeclarator()
|
| D | SemaTemplate.cpp | 6503 SourceLocation DiagLoc = Arg->getExprLoc(); in isNullPointerValueTemplateArgument() local 6510 DiagLoc = Notes[0].first; in isNullPointerValueTemplateArgument() 6514 S.Diag(DiagLoc, diag::err_template_arg_not_address_constant) in isNullPointerValueTemplateArgument()
|
| D | SemaExpr.cpp | 17470 SourceLocation DiagLoc = E->getBeginLoc(); in VerifyIntegerConstantExpression() local 17525 Converted = PerformContextualImplicitConversion(DiagLoc, E, in VerifyIntegerConstantExpression() 17535 Diagnoser.diagnoseNotICEType(*this, DiagLoc, E->getType()) in VerifyIntegerConstantExpression() 17584 DiagLoc = Notes[0].first; in VerifyIntegerConstantExpression() 17590 Diagnoser.diagnoseNotICE(*this, DiagLoc) << E->getSourceRange(); in VerifyIntegerConstantExpression() 17598 Diagnoser.diagnoseFold(*this, DiagLoc) << E->getSourceRange(); in VerifyIntegerConstantExpression()
|
| D | SemaDecl.cpp | 14087 SourceLocation DiagLoc = var->getLocation(); in CheckCompleteVariableDeclaration() local 14092 DiagLoc = Notes[0].first; in CheckCompleteVariableDeclaration() 14095 Diag(DiagLoc, diag::err_constexpr_var_requires_const_init) in CheckCompleteVariableDeclaration()
|
| /openbsd/src/gnu/llvm/clang/lib/AST/ |
| D | CommentSema.cpp | 543 SourceLocation DiagLoc; in checkBlockCommandEmptyParagraph() local 545 DiagLoc = Command->getArgRange(Command->getNumArgs() - 1).getEnd(); in checkBlockCommandEmptyParagraph() 546 if (!DiagLoc.isValid()) in checkBlockCommandEmptyParagraph() 547 DiagLoc = Command->getCommandNameRange(Traits).getEnd(); in checkBlockCommandEmptyParagraph() 548 Diag(DiagLoc, diag::warn_doc_block_command_empty_paragraph) in checkBlockCommandEmptyParagraph()
|
| D | ExprConstant.cpp | 2119 EvalInfo &Info, SourceLocation DiagLoc, 2350 EvalInfo &Info, SourceLocation DiagLoc, in CheckEvaluationResult() argument 2356 Info.FFDiag(DiagLoc, diag::note_constexpr_uninitialized) in CheckEvaluationResult() 2374 if (!CheckEvaluationResult(CERK, Info, DiagLoc, EltTy, in CheckEvaluationResult() 2381 return CheckEvaluationResult(CERK, Info, DiagLoc, EltTy, in CheckEvaluationResult() 2387 CERK, Info, DiagLoc, Value.getUnionField()->getType(), in CheckEvaluationResult() 2396 if (!CheckEvaluationResult(CERK, Info, DiagLoc, BS.getType(), in CheckEvaluationResult() 2407 if (!CheckEvaluationResult(CERK, Info, DiagLoc, I->getType(), in CheckEvaluationResult() 2418 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal, Kind, in CheckEvaluationResult() 2424 return CheckMemberPointerConstantExpression(Info, DiagLoc, Type, Value, Kind); in CheckEvaluationResult() [all …]
|
| /openbsd/src/gnu/llvm/clang/lib/Parse/ |
| D | ParseExprCXX.cpp | 1100 SourceLocation DiagLoc; in ParseLambdaIntroducer() local 1103 DiagLoc = Loc; in ParseLambdaIntroducer() 1107 assert(DiagLoc.isValid() && "no location for diagnostic"); in ParseLambdaIntroducer() 1111 auto &&D = Diag(DiagLoc, DiagID); in ParseLambdaIntroducer() 2709 SourceLocation DiagLoc; in ParseUnqualifiedIdOperator() local 2721 DiagLoc = Tok.getLocation(); in ParseUnqualifiedIdOperator() 2758 DiagLoc = TokLocs.front(); in ParseUnqualifiedIdOperator() 2768 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
| /openbsd/src/gnu/llvm/clang/include/clang/AST/ |
| D | ExprConcepts.h | 171 SourceLocation DiagLoc; member
|
| /openbsd/src/gnu/llvm/llvm/lib/MC/MCParser/ |
| D | AsmParser.cpp | 2453 SMLoc DiagLoc = Diag.getLoc(); in DiagHandler() local 2454 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 2460 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 2483 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf); in DiagHandler()
|
| D | MasmParser.cpp | 2810 SMLoc DiagLoc = Diag.getLoc(); in DiagHandler() local 2811 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 2817 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 2841 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf); in DiagHandler()
|
| /openbsd/src/gnu/llvm/clang/tools/c-index-test/ |
| D | c-index-test.c | 4732 CXSourceLocation DiagLoc; in printDiagnosticSet() local 4740 DiagLoc = clang_getDiagnosticLocation(D); in printDiagnosticSet() 4741 clang_getExpansionLocation(DiagLoc, &File, &line, &column, &offset); in printDiagnosticSet()
|
| /openbsd/src/gnu/llvm/clang/lib/Serialization/ |
| D | ASTReaderStmt.cpp | 813 SourceLocation DiagLoc = Record.readSourceLocation(); in readSubstitutionDiagnostic() local 816 concepts::Requirement::SubstitutionDiagnostic{SubstitutedEntity, DiagLoc, in readSubstitutionDiagnostic()
|
| D | ASTWriterStmt.cpp | 429 Record.AddSourceLocation(D->DiagLoc); in addSubstitutionDiagnostic()
|