/external/clang/lib/Lex/ |
D | Pragma.cpp | 973 SourceLocation DiagLoc = DiagToken.getLocation(); in HandlePragma() local 984 if (!PP.getDiagnostics().popMappings(DiagLoc)) in HandlePragma() 987 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace); in HandlePragma() 990 PP.getDiagnostics().pushMappings(DiagLoc); in HandlePragma() 992 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace); in HandlePragma() 1035 PP.getDiagnostics().setSeverityForAll(Flavor, SV, DiagLoc); in HandlePragma() 1038 DiagLoc); in HandlePragma() 1043 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName); in HandlePragma() 1059 SourceLocation DiagLoc = Tok.getLocation(); in HandlePragma() local 1087 Callbacks->PragmaWarningPush(DiagLoc, Level); in HandlePragma() [all …]
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 84 void CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, 834 void JumpScopeChecker::CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, in CheckJump() argument 881 S.Diag(DiagLoc, JumpDiagWarning); in CheckJump() 887 S.Diag(DiagLoc, JumpDiagError); in CheckJump() 893 S.Diag(DiagLoc, JumpDiagCXX98Compat); in CheckJump()
|
D | SemaType.cpp | 4059 SourceLocation DiagLoc, FixitLoc; in GetFullTypeForDeclarator() local 4061 DiagLoc = TInfo->getTypeLoc().getLocStart(); in GetFullTypeForDeclarator() 4064 DiagLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in GetFullTypeForDeclarator() 4067 S.Diag(DiagLoc, diag::err_object_cannot_be_passed_returned_by_value) in GetFullTypeForDeclarator()
|
D | SemaTemplate.cpp | 4344 SourceLocation DiagLoc = Arg->getExprLoc(); in isNullPointerValueTemplateArgument() local 4351 DiagLoc = Notes[0].first; in isNullPointerValueTemplateArgument() 4355 S.Diag(DiagLoc, diag::err_template_arg_not_address_constant) in isNullPointerValueTemplateArgument()
|
D | SemaExpr.cpp | 12638 SourceLocation DiagLoc = E->getLocStart(); in VerifyIntegerConstantExpression() local 12691 Converted = PerformContextualImplicitConversion(DiagLoc, E, in VerifyIntegerConstantExpression() 12701 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression() 12736 DiagLoc = Notes[0].first; in VerifyIntegerConstantExpression() 12742 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression() 12750 Diagnoser.diagnoseFold(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression()
|
D | SemaDecl.cpp | 10449 SourceLocation DiagLoc = var->getLocation(); in CheckCompleteVariableDeclaration() local 10454 DiagLoc = Notes[0].first; in CheckCompleteVariableDeclaration() 10457 Diag(DiagLoc, diag::err_constexpr_var_requires_const_init) in CheckCompleteVariableDeclaration()
|
/external/clang/tools/libclang/ |
D | CXLoadedDiagnostic.h | 82 Location DiagLoc; variable
|
D | CXLoadedDiagnostic.cpp | 105 return makeLocation(&DiagLoc); in getLocation() 383 if (std::error_code EC = readLocation(Location, D.DiagLoc)) in visitDiagnosticRecord()
|
/external/clang/lib/AST/ |
D | CommentSema.cpp | 569 SourceLocation DiagLoc; in checkBlockCommandEmptyParagraph() local 571 DiagLoc = Command->getArgRange(Command->getNumArgs() - 1).getEnd(); in checkBlockCommandEmptyParagraph() 572 if (!DiagLoc.isValid()) in checkBlockCommandEmptyParagraph() 573 DiagLoc = Command->getCommandNameRange(Traits).getEnd(); in checkBlockCommandEmptyParagraph() 574 Diag(DiagLoc, diag::warn_doc_block_command_empty_paragraph) in checkBlockCommandEmptyParagraph()
|
D | ExprConstant.cpp | 1503 static bool CheckConstantExpression(EvalInfo &Info, SourceLocation DiagLoc, in CheckConstantExpression() argument 1506 Info.FFDiag(DiagLoc, diag::note_constexpr_uninitialized) in CheckConstantExpression() 1522 if (!CheckConstantExpression(Info, DiagLoc, EltTy, in CheckConstantExpression() 1528 return CheckConstantExpression(Info, DiagLoc, EltTy, in CheckConstantExpression() 1532 return CheckConstantExpression(Info, DiagLoc, in CheckConstantExpression() 1542 if (!CheckConstantExpression(Info, DiagLoc, I->getType(), in CheckConstantExpression() 1548 if (!CheckConstantExpression(Info, DiagLoc, I->getType(), in CheckConstantExpression() 1557 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal); in CheckConstantExpression()
|
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/ |
D | AsmParser.cpp | 1276 const SMLoc &DiagLoc = Diag.getLoc(); in DiagHandler() local 1277 int DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 1282 int DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 1306 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf); in DiagHandler()
|
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 2332 SourceLocation DiagLoc; in ParseUnqualifiedIdOperator() local 2344 DiagLoc = Tok.getLocation(); in ParseUnqualifiedIdOperator() 2380 DiagLoc = TokLocs.front(); in ParseUnqualifiedIdOperator() 2390 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 1978 SMLoc DiagLoc = Diag.getLoc(); in DiagHandler() local 1979 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 1985 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 2009 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf); in DiagHandler()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 2279 SMLoc DiagLoc = Diag.getLoc(); in DiagHandler() local 2280 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 2286 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 2310 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf); in DiagHandler()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 4146 CXSourceLocation DiagLoc; in printDiagnosticSet() local 4154 DiagLoc = clang_getDiagnosticLocation(D); in printDiagnosticSet() 4155 clang_getExpansionLocation(DiagLoc, &File, &line, &column, &offset); in printDiagnosticSet()
|