Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DPragma.cpp947 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/
DJumpDiagnostics.cpp84 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()
DSemaType.cpp2764 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()
DSemaExpr.cpp11080 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()
DSemaTemplate.cpp4207 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()
DSemaDecl.cpp9181 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/
DCXLoadedDiagnostic.h82 Location DiagLoc; variable
DCXLoadedDiagnostic.cpp102 return makeLocation(&DiagLoc); in getLocation()
644 if (readLocation(TopDiags, Record, offset, D->DiagLoc)) in readDiagnosticBlock()
/external/clang/lib/AST/
DCommentSema.cpp571 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()
DExprConstant.cpp1347 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/
DParseExprCXX.cpp2179 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/
DAsmParser.cpp1696 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/
Dc-index-test.c3866 CXSourceLocation DiagLoc; in printDiagnosticSet() local
3874 DiagLoc = clang_getDiagnosticLocation(D); in printDiagnosticSet()
3875 clang_getExpansionLocation(DiagLoc, &File, &line, &column, &offset); in printDiagnosticSet()