Home
last modified time | relevance | path

Searched refs:DiagLoc (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/Lex/
DPragma.cpp943 SourceLocation DiagLoc = DiagToken.getLocation(); in HandlePragma() local
963 if (!PP.getDiagnostics().popMappings(DiagLoc)) in HandlePragma()
966 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace); in HandlePragma()
969 PP.getDiagnostics().pushMappings(DiagLoc); in HandlePragma()
971 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace); in HandlePragma()
998 Map, DiagLoc)) in HandlePragma()
1002 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, Map, WarningName); in HandlePragma()
/external/clang/tools/libclang/
DCXLoadedDiagnostic.h82 Location DiagLoc; variable
DCXLoadedDiagnostic.cpp94 return makeLocation(&DiagLoc); in getLocation()
635 if (readLocation(TopDiags, Record, offset, D->DiagLoc)) in readDiagnosticBlock()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp80 void CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc,
743 void JumpScopeChecker::CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, in CheckJump() argument
776 S.Diag(DiagLoc, JumpDiagWarning); in CheckJump()
782 S.Diag(DiagLoc, JumpDiagError); in CheckJump()
788 S.Diag(DiagLoc, JumpDiagCXX98Compat); in CheckJump()
DSemaType.cpp2706 SourceLocation DiagLoc, FixitLoc; in GetFullTypeForDeclarator() local
2708 DiagLoc = TInfo->getTypeLoc().getLocStart(); in GetFullTypeForDeclarator()
2711 DiagLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in GetFullTypeForDeclarator()
2714 S.Diag(DiagLoc, diag::err_object_cannot_be_passed_returned_by_value) in GetFullTypeForDeclarator()
DSemaExpr.cpp10630 SourceLocation DiagLoc = E->getLocStart(); in VerifyIntegerConstantExpression() local
10683 Converted = PerformContextualImplicitConversion(DiagLoc, E, in VerifyIntegerConstantExpression()
10693 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression()
10728 DiagLoc = Notes[0].first; in VerifyIntegerConstantExpression()
10734 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression()
10742 Diagnoser.diagnoseFold(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression()
DSemaTemplate.cpp4051 SourceLocation DiagLoc = Arg->getExprLoc(); in isNullPointerValueTemplateArgument() local
4058 DiagLoc = Notes[0].first; in isNullPointerValueTemplateArgument()
4062 S.Diag(DiagLoc, diag::err_template_arg_not_address_constant) in isNullPointerValueTemplateArgument()
DSemaDecl.cpp8659 SourceLocation DiagLoc = var->getLocation(); in CheckCompleteVariableDeclaration() local
8664 DiagLoc = Notes[0].first; in CheckCompleteVariableDeclaration()
8667 Diag(DiagLoc, diag::err_constexpr_var_requires_const_init) in CheckCompleteVariableDeclaration()
/external/clang/lib/AST/
DCommentSema.cpp565 SourceLocation DiagLoc; in checkBlockCommandEmptyParagraph() local
567 DiagLoc = Command->getArgRange(Command->getNumArgs() - 1).getEnd(); in checkBlockCommandEmptyParagraph()
568 if (!DiagLoc.isValid()) in checkBlockCommandEmptyParagraph()
569 DiagLoc = Command->getCommandNameRange(Traits).getEnd(); in checkBlockCommandEmptyParagraph()
570 Diag(DiagLoc, diag::warn_doc_block_command_empty_paragraph) in checkBlockCommandEmptyParagraph()
DExprConstant.cpp1201 static bool CheckConstantExpression(EvalInfo &Info, SourceLocation DiagLoc, in CheckConstantExpression() argument
1204 Info.Diag(DiagLoc, diag::note_constexpr_uninitialized) in CheckConstantExpression()
1215 if (!CheckConstantExpression(Info, DiagLoc, EltTy, in CheckConstantExpression()
1221 return CheckConstantExpression(Info, DiagLoc, EltTy, in CheckConstantExpression()
1225 return CheckConstantExpression(Info, DiagLoc, in CheckConstantExpression()
1235 if (!CheckConstantExpression(Info, DiagLoc, I->getType(), in CheckConstantExpression()
1242 if (!CheckConstantExpression(Info, DiagLoc, I->getType(), in CheckConstantExpression()
1251 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal); in CheckConstantExpression()
/external/clang/lib/Parse/
DParseExprCXX.cpp2059 SourceLocation DiagLoc; in ParseUnqualifiedIdOperator() local
2071 DiagLoc = Tok.getLocation(); in ParseUnqualifiedIdOperator()
2107 DiagLoc = TokLocs.front(); in ParseUnqualifiedIdOperator()
2117 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp1618 const SMLoc &DiagLoc = Diag.getLoc(); in DiagHandler() local
1619 int DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler()
1624 int DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc); in DiagHandler()
1648 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf); in DiagHandler()
/external/clang/tools/c-index-test/
Dc-index-test.c3650 CXSourceLocation DiagLoc; in printDiagnosticSet() local
3658 DiagLoc = clang_getDiagnosticLocation(D); in printDiagnosticSet()
3659 clang_getExpansionLocation(DiagLoc, &File, &line, &column, &offset); in printDiagnosticSet()