Searched refs:FixItLoc (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | CopyConstructorInitCheck.cpp | 100 SourceLocation FixItLoc; in check() local 103 FixItLoc = Ctor->getBody()->getBeginLoc(); in check() 107 FixItLoc = (*Ctor->init_begin())->getSourceLocation(); in check() 112 Diag << FixItHint::CreateInsertion(FixItLoc, FixItMsg); in check()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExceptionSpec.cpp | 461 SourceLocation FixItLoc; in CheckEquivalentExceptionSpec() local 468 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec() 471 if (FixItLoc.isInvalid()) in CheckEquivalentExceptionSpec() 477 << FixItHint::CreateInsertion(FixItLoc, " " + OS.str().str()); in CheckEquivalentExceptionSpec()
|
| H A D | SemaAttr.cpp | 490 SourceLocation FixItLoc = in DiagnoseUnterminatedPragmaAlignPack() local 494 if (FixItLoc.isValid()) in DiagnoseUnterminatedPragmaAlignPack() 495 DB << FixItHint::CreateInsertion(FixItLoc, "pop"); in DiagnoseUnterminatedPragmaAlignPack()
|
| H A D | SemaType.cpp | 4318 SourceLocation FixItLoc = S.getLocForEndOfToken(PointerLoc); in fixItNullability() local 4319 if (!FixItLoc.isValid() || FixItLoc == PointerLoc) in fixItNullability() 4322 const char *NextChar = S.SourceMgr.getCharacterData(FixItLoc); in fixItNullability() 4343 Diag << FixItHint::CreateInsertion(FixItLoc, InsertionText); in fixItNullability() 4359 auto FixItLoc = PointerEndLoc.isValid() ? PointerEndLoc : PointerLoc; in emitNullabilityConsistencyWarning() local 4360 if (FixItLoc.isMacroID()) in emitNullabilityConsistencyWarning() 4364 auto Diag = S.Diag(FixItLoc, diag::note_nullability_fix_it); in emitNullabilityConsistencyWarning() 4367 fixItNullability(S, Diag, FixItLoc, Nullability); in emitNullabilityConsistencyWarning()
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 2640 SourceLocation FixItLoc = SourceLocation()) { 2643 DiagnoseProhibitedAttributes(Attrs.Range, FixItLoc); 2648 SourceLocation FixItLoc = SourceLocation()) { 2651 DiagnoseProhibitedAttributes(Attrs.Range, FixItLoc); 2655 SourceLocation FixItLoc);
|