/external/clang/lib/Lex/ |
D | Pragma.cpp | 956 SourceLocation DiagLoc = DiagToken.getLocation(); in HandlePragma() local 967 if (!PP.getDiagnostics().popMappings(DiagLoc)) in HandlePragma() 970 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace); in HandlePragma() 973 PP.getDiagnostics().pushMappings(DiagLoc); in HandlePragma() 975 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace); in HandlePragma() 1013 WarningName.substr(2), SV, DiagLoc)) in HandlePragma() 1017 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName); in HandlePragma() 1033 SourceLocation DiagLoc = Tok.getLocation(); in HandlePragma() local 1061 Callbacks->PragmaWarningPush(DiagLoc, Level); in HandlePragma() 1066 Callbacks->PragmaWarningPop(DiagLoc); in HandlePragma() [all …]
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 84 void CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, 780 void JumpScopeChecker::CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, in CheckJump() argument 827 S.Diag(DiagLoc, JumpDiagWarning); in CheckJump() 833 S.Diag(DiagLoc, JumpDiagError); in CheckJump() 839 S.Diag(DiagLoc, JumpDiagCXX98Compat); in CheckJump()
|
D | SemaType.cpp | 3791 SourceLocation DiagLoc, FixitLoc; in GetFullTypeForDeclarator() local 3793 DiagLoc = TInfo->getTypeLoc().getLocStart(); in GetFullTypeForDeclarator() 3796 DiagLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in GetFullTypeForDeclarator() 3799 S.Diag(DiagLoc, diag::err_object_cannot_be_passed_returned_by_value) in GetFullTypeForDeclarator()
|
D | SemaTemplate.cpp | 4303 SourceLocation DiagLoc = Arg->getExprLoc(); in isNullPointerValueTemplateArgument() local 4310 DiagLoc = Notes[0].first; in isNullPointerValueTemplateArgument() 4314 S.Diag(DiagLoc, diag::err_template_arg_not_address_constant) in isNullPointerValueTemplateArgument()
|
D | SemaExpr.cpp | 12097 SourceLocation DiagLoc = E->getLocStart(); in VerifyIntegerConstantExpression() local 12150 Converted = PerformContextualImplicitConversion(DiagLoc, E, in VerifyIntegerConstantExpression() 12160 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression() 12195 DiagLoc = Notes[0].first; in VerifyIntegerConstantExpression() 12201 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression() 12209 Diagnoser.diagnoseFold(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression()
|
D | SemaDecl.cpp | 10088 SourceLocation DiagLoc = var->getLocation(); in CheckCompleteVariableDeclaration() local 10093 DiagLoc = Notes[0].first; in CheckCompleteVariableDeclaration() 10096 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 | 571 SourceLocation DiagLoc; in checkBlockCommandEmptyParagraph() local 573 DiagLoc = Command->getArgRange(Command->getNumArgs() - 1).getEnd(); in checkBlockCommandEmptyParagraph() 574 if (!DiagLoc.isValid()) in checkBlockCommandEmptyParagraph() 575 DiagLoc = Command->getCommandNameRange(Traits).getEnd(); in checkBlockCommandEmptyParagraph() 576 Diag(DiagLoc, diag::warn_doc_block_command_empty_paragraph) in checkBlockCommandEmptyParagraph()
|
D | ExprConstant.cpp | 1427 static bool CheckConstantExpression(EvalInfo &Info, SourceLocation DiagLoc, in CheckConstantExpression() argument 1430 Info.Diag(DiagLoc, diag::note_constexpr_uninitialized) in CheckConstantExpression() 1446 if (!CheckConstantExpression(Info, DiagLoc, EltTy, in CheckConstantExpression() 1452 return CheckConstantExpression(Info, DiagLoc, EltTy, in CheckConstantExpression() 1456 return CheckConstantExpression(Info, DiagLoc, in CheckConstantExpression() 1466 if (!CheckConstantExpression(Info, DiagLoc, I->getType(), in CheckConstantExpression() 1472 if (!CheckConstantExpression(Info, DiagLoc, I->getType(), in CheckConstantExpression() 1481 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal); in CheckConstantExpression()
|
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 2253 SourceLocation DiagLoc; in ParseUnqualifiedIdOperator() local 2265 DiagLoc = Tok.getLocation(); in ParseUnqualifiedIdOperator() 2301 DiagLoc = TokLocs.front(); in ParseUnqualifiedIdOperator() 2311 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 1849 SMLoc DiagLoc = Diag.getLoc(); in DiagHandler() local 1850 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 1856 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 1880 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf); in DiagHandler()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 3993 CXSourceLocation DiagLoc; in printDiagnosticSet() local 4001 DiagLoc = clang_getDiagnosticLocation(D); in printDiagnosticSet() 4002 clang_getExpansionLocation(DiagLoc, &File, &line, &column, &offset); in printDiagnosticSet()
|