Searched refs:DiagLoc (Results 1 - 10 of 10) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Lex/
H A DPragma.cpp973 SourceLocation DiagLoc = DiagToken.getLocation(); local
984 if (!PP.getDiagnostics().popMappings(DiagLoc))
987 Callbacks->PragmaDiagnosticPop(DiagLoc, Namespace);
990 PP.getDiagnostics().pushMappings(DiagLoc);
992 Callbacks->PragmaDiagnosticPush(DiagLoc, Namespace);
1030 WarningName.substr(2), SV, DiagLoc))
1034 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName);
1050 SourceLocation DiagLoc = Tok.getLocation(); local
1078 Callbacks->PragmaWarningPush(DiagLoc, Level);
1083 Callbacks->PragmaWarningPop(DiagLoc);
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DCommentSema.cpp571 SourceLocation DiagLoc; local
573 DiagLoc = Command->getArgRange(Command->getNumArgs() - 1).getEnd();
574 if (!DiagLoc.isValid())
575 DiagLoc = Command->getCommandNameRange(Traits).getEnd();
576 Diag(DiagLoc, diag::warn_doc_block_command_empty_paragraph)
H A DExprConstant.cpp1427 static bool CheckConstantExpression(EvalInfo &Info, SourceLocation DiagLoc, argument
1430 Info.Diag(DiagLoc, diag::note_constexpr_uninitialized)
1446 if (!CheckConstantExpression(Info, DiagLoc, EltTy,
1452 return CheckConstantExpression(Info, DiagLoc, EltTy,
1456 return CheckConstantExpression(Info, DiagLoc,
1466 if (!CheckConstantExpression(Info, DiagLoc, I->getType(),
1472 if (!CheckConstantExpression(Info, DiagLoc, I->getType(),
1481 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DJumpDiagnostics.cpp84 void CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc,
780 void JumpScopeChecker::CheckJump(Stmt *From, Stmt *To, SourceLocation DiagLoc, argument
827 S.Diag(DiagLoc, JumpDiagWarning);
833 S.Diag(DiagLoc, JumpDiagError);
839 S.Diag(DiagLoc, JumpDiagCXX98Compat);
H A DSemaType.cpp3824 SourceLocation DiagLoc, FixitLoc; local
3826 DiagLoc = TInfo->getTypeLoc().getLocStart();
3829 DiagLoc = D.getDeclSpec().getTypeSpecTypeLoc();
3832 S.Diag(DiagLoc, diag::err_object_cannot_be_passed_returned_by_value)
H A DSemaTemplate.cpp4307 SourceLocation DiagLoc = Arg->getExprLoc(); local
4314 DiagLoc = Notes[0].first;
4318 S.Diag(DiagLoc, diag::err_template_arg_not_address_constant)
H A DSemaExpr.cpp12276 SourceLocation DiagLoc = E->getLocStart(); local
12329 Converted = PerformContextualImplicitConversion(DiagLoc, E,
12339 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange());
12374 DiagLoc = Notes[0].first;
12380 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange());
12388 Diagnoser.diagnoseFold(*this, DiagLoc, E->getSourceRange());
H A DSemaDecl.cpp10103 SourceLocation DiagLoc = var->getLocation(); local
10108 DiagLoc = Notes[0].first;
10111 Diag(DiagLoc, diag::err_constexpr_var_requires_const_init)
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseExprCXX.cpp2253 SourceLocation DiagLoc; local
2265 DiagLoc = Tok.getLocation();
2301 DiagLoc = TokLocs.front();
2311 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement(
/freebsd-11.0-release/contrib/llvm/lib/MC/MCParser/
H A DAsmParser.cpp1849 SMLoc DiagLoc = Diag.getLoc(); local
1850 unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc);
1856 unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc);
1880 int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf);

Completed in 195 milliseconds