Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp468 SourceLocation FixItLoc; in CheckEquivalentExceptionSpec() local
475 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
478 if (FixItLoc.isInvalid()) in CheckEquivalentExceptionSpec()
484 << FixItHint::CreateInsertion(FixItLoc, " " + OS.str().str()); in CheckEquivalentExceptionSpec()
H A DSemaAttr.cpp491 SourceLocation FixItLoc = in DiagnoseUnterminatedPragmaAlignPack() local
495 if (FixItLoc.isValid()) in DiagnoseUnterminatedPragmaAlignPack()
496 DB << FixItHint::CreateInsertion(FixItLoc, "pop"); in DiagnoseUnterminatedPragmaAlignPack()
H A DSemaType.cpp4490 SourceLocation FixItLoc = S.getLocForEndOfToken(PointerLoc); in fixItNullability() local
4491 if (!FixItLoc.isValid() || FixItLoc == PointerLoc) in fixItNullability()
4494 const char *NextChar = S.SourceMgr.getCharacterData(FixItLoc); in fixItNullability()
4515 Diag << FixItHint::CreateInsertion(FixItLoc, InsertionText); in fixItNullability()
4531 auto FixItLoc = PointerEndLoc.isValid() ? PointerEndLoc : PointerLoc; in emitNullabilityConsistencyWarning() local
4532 if (FixItLoc.isMacroID()) in emitNullabilityConsistencyWarning()
4536 auto Diag = S.Diag(FixItLoc, diag::note_nullability_fix_it); in emitNullabilityConsistencyWarning()
4539 fixItNullability(S, Diag, FixItLoc, Nullability); in emitNullabilityConsistencyWarning()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2771 SourceLocation FixItLoc = SourceLocation()) {
2774 DiagnoseProhibitedAttributes(Attrs, FixItLoc);
2779 SourceLocation FixItLoc = SourceLocation()) {
2782 DiagnoseProhibitedAttributes(Attrs, FixItLoc);
2786 SourceLocation FixItLoc);