Home
last modified time | relevance | path

Searched refs:FixItLoc (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp460 SourceLocation FixItLoc; in CheckEquivalentExceptionSpec() local
467 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
470 if (FixItLoc.isInvalid()) in CheckEquivalentExceptionSpec()
476 << FixItHint::CreateInsertion(FixItLoc, " " + OS.str().str()); in CheckEquivalentExceptionSpec()
H A DSemaAttr.cpp504 SourceLocation FixItLoc = in DiagnoseUnterminatedPragmaAlignPack() local
508 if (FixItLoc.isValid()) in DiagnoseUnterminatedPragmaAlignPack()
509 DB << FixItHint::CreateInsertion(FixItLoc, "pop"); in DiagnoseUnterminatedPragmaAlignPack()
H A DSemaType.cpp3992 SourceLocation FixItLoc = S.getLocForEndOfToken(PointerLoc); in fixItNullability() local
3993 if (!FixItLoc.isValid() || FixItLoc == PointerLoc) in fixItNullability()
3996 const char *NextChar = S.SourceMgr.getCharacterData(FixItLoc); in fixItNullability()
4017 Diag << FixItHint::CreateInsertion(FixItLoc, InsertionText); in fixItNullability()
4033 auto FixItLoc = PointerEndLoc.isValid() ? PointerEndLoc : PointerLoc; in emitNullabilityConsistencyWarning() local
4034 if (FixItLoc.isMacroID()) in emitNullabilityConsistencyWarning()
4038 auto Diag = S.Diag(FixItLoc, diag::note_nullability_fix_it); in emitNullabilityConsistencyWarning()
4041 fixItNullability(S, Diag, FixItLoc, Nullability); in emitNullabilityConsistencyWarning()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2835 SourceLocation FixItLoc = SourceLocation()) {
2838 DiagnoseProhibitedAttributes(Attrs, FixItLoc);
2843 SourceLocation FixItLoc = SourceLocation()) {
2846 DiagnoseProhibitedAttributes(Attrs, FixItLoc);
2850 SourceLocation FixItLoc);