/external/clang/lib/Lex/ |
D | Pragma.cpp | 947 SourceLocation DiagLoc = DiagToken.getLocation(); in HandlePragma() local 958 if (!PP.getDiagnostics().popMappings(DiagLoc)) in HandlePragma() 961 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace); in HandlePragma() 964 PP.getDiagnostics().pushMappings(DiagLoc); in HandlePragma() 966 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace); in HandlePragma() 1002 DiagLoc)) in HandlePragma() 1006 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName); in HandlePragma() 1022 SourceLocation DiagLoc = Tok.getLocation(); in HandlePragma() local 1054 Callbacks->PragmaWarningPush(DiagLoc, Level); in HandlePragma() 1059 Callbacks->PragmaWarningPop(DiagLoc); in HandlePragma() [all …]
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 84 void CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, 740 void JumpScopeChecker::CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, in CheckJump() argument 775 S.Diag(DiagLoc, JumpDiagWarning); in CheckJump() 781 S.Diag(DiagLoc, JumpDiagError); in CheckJump() 787 S.Diag(DiagLoc, JumpDiagCXX98Compat); in CheckJump()
|
D | SemaType.cpp | 2764 SourceLocation DiagLoc, FixitLoc; in GetFullTypeForDeclarator() local 2766 DiagLoc = TInfo->getTypeLoc().getLocStart(); in GetFullTypeForDeclarator() 2769 DiagLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in GetFullTypeForDeclarator() 2772 S.Diag(DiagLoc, diag::err_object_cannot_be_passed_returned_by_value) in GetFullTypeForDeclarator()
|
D | SemaExpr.cpp | 11080 SourceLocation DiagLoc = E->getLocStart(); in VerifyIntegerConstantExpression() local 11133 Converted = PerformContextualImplicitConversion(DiagLoc, E, in VerifyIntegerConstantExpression() 11143 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression() 11178 DiagLoc = Notes[0].first; in VerifyIntegerConstantExpression() 11184 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression() 11192 Diagnoser.diagnoseFold(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression()
|
D | SemaTemplate.cpp | 4207 SourceLocation DiagLoc = Arg->getExprLoc(); in isNullPointerValueTemplateArgument() local 4214 DiagLoc = Notes[0].first; in isNullPointerValueTemplateArgument() 4218 S.Diag(DiagLoc, diag::err_template_arg_not_address_constant) in isNullPointerValueTemplateArgument()
|
D | SemaDecl.cpp | 9181 SourceLocation DiagLoc = var->getLocation(); in CheckCompleteVariableDeclaration() local 9186 DiagLoc = Notes[0].first; in CheckCompleteVariableDeclaration() 9189 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 | 102 return makeLocation(&DiagLoc); in getLocation() 644 if (readLocation(TopDiags, Record, offset, D->DiagLoc)) in readDiagnosticBlock()
|
/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 | 1347 static bool CheckConstantExpression(EvalInfo &Info, SourceLocation DiagLoc, in CheckConstantExpression() argument 1350 Info.Diag(DiagLoc, diag::note_constexpr_uninitialized) in CheckConstantExpression() 1361 if (!CheckConstantExpression(Info, DiagLoc, EltTy, in CheckConstantExpression() 1367 return CheckConstantExpression(Info, DiagLoc, EltTy, in CheckConstantExpression() 1371 return CheckConstantExpression(Info, DiagLoc, in CheckConstantExpression() 1381 if (!CheckConstantExpression(Info, DiagLoc, I->getType(), in CheckConstantExpression() 1387 if (!CheckConstantExpression(Info, DiagLoc, I->getType(), in CheckConstantExpression() 1396 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal); in CheckConstantExpression()
|
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 2179 SourceLocation DiagLoc; in ParseUnqualifiedIdOperator() local 2191 DiagLoc = Tok.getLocation(); in ParseUnqualifiedIdOperator() 2227 DiagLoc = TokLocs.front(); in ParseUnqualifiedIdOperator() 2237 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 1696 const SMLoc &DiagLoc = Diag.getLoc(); in DiagHandler() local 1697 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 1703 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler() 1727 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf); in DiagHandler()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 3866 CXSourceLocation DiagLoc; in printDiagnosticSet() local 3874 DiagLoc = clang_getDiagnosticLocation(D); in printDiagnosticSet() 3875 clang_getExpansionLocation(DiagLoc, &File, &line, &column, &offset); in printDiagnosticSet()
|