Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExceptionSpec.cpp430 SourceLocation FixItLoc; in CheckEquivalentExceptionSpec() local
437 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
440 if (FixItLoc.isInvalid()) in CheckEquivalentExceptionSpec()
446 << FixItHint::CreateInsertion(FixItLoc, " " + OS.str().str()); in CheckEquivalentExceptionSpec()
H A DSemaAttr.cpp261 SourceLocation FixItLoc = Lexer::findLocationAfterToken( in DiagnoseUnterminatedPragmaPack() local
264 if (FixItLoc.isValid()) in DiagnoseUnterminatedPragmaPack()
265 DB << FixItHint::CreateInsertion(FixItLoc, "pop"); in DiagnoseUnterminatedPragmaPack()
H A DSemaType.cpp3741 SourceLocation FixItLoc = S.getLocForEndOfToken(PointerLoc); in fixItNullability() local
3742 if (!FixItLoc.isValid() || FixItLoc == PointerLoc) in fixItNullability()
3745 const char *NextChar = S.SourceMgr.getCharacterData(FixItLoc); in fixItNullability()
3766 Diag << FixItHint::CreateInsertion(FixItLoc, InsertionText); in fixItNullability()
3782 auto FixItLoc = PointerEndLoc.isValid() ? PointerEndLoc : PointerLoc; in emitNullabilityConsistencyWarning() local
3783 if (FixItLoc.isMacroID()) in emitNullabilityConsistencyWarning()
3787 auto Diag = S.Diag(FixItLoc, diag::note_nullability_fix_it); in emitNullabilityConsistencyWarning()
3790 fixItNullability(S, Diag, FixItLoc, Nullability); in emitNullabilityConsistencyWarning()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h2348 SourceLocation FixItLoc = SourceLocation()) {
2351 DiagnoseProhibitedAttributes(Attrs.Range, FixItLoc);
2356 SourceLocation FixItLoc = SourceLocation()) {
2359 DiagnoseProhibitedAttributes(Attrs.Range, FixItLoc);
2363 SourceLocation FixItLoc);