Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExceptionSpec.cpp462 SourceLocation FixItLoc; in CheckEquivalentExceptionSpec() local
469 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
472 if (FixItLoc.isInvalid()) in CheckEquivalentExceptionSpec()
478 << FixItHint::CreateInsertion(FixItLoc, " " + OS.str().str()); in CheckEquivalentExceptionSpec()
H A DSemaAttr.cpp493 SourceLocation FixItLoc = in DiagnoseUnterminatedPragmaAlignPack() local
497 if (FixItLoc.isValid()) in DiagnoseUnterminatedPragmaAlignPack()
498 DB << FixItHint::CreateInsertion(FixItLoc, "pop"); in DiagnoseUnterminatedPragmaAlignPack()
H A DSemaType.cpp4385 SourceLocation FixItLoc = S.getLocForEndOfToken(PointerLoc); in fixItNullability() local
4386 if (!FixItLoc.isValid() || FixItLoc == PointerLoc) in fixItNullability()
4389 const char *NextChar = S.SourceMgr.getCharacterData(FixItLoc); in fixItNullability()
4410 Diag << FixItHint::CreateInsertion(FixItLoc, InsertionText); in fixItNullability()
4426 auto FixItLoc = PointerEndLoc.isValid() ? PointerEndLoc : PointerLoc; in emitNullabilityConsistencyWarning() local
4427 if (FixItLoc.isMacroID()) in emitNullabilityConsistencyWarning()
4431 auto Diag = S.Diag(FixItLoc, diag::note_nullability_fix_it); in emitNullabilityConsistencyWarning()
4434 fixItNullability(S, Diag, FixItLoc, Nullability); in emitNullabilityConsistencyWarning()
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h2716 SourceLocation FixItLoc = SourceLocation()) {
2719 DiagnoseProhibitedAttributes(Attrs.Range, FixItLoc);
2724 SourceLocation FixItLoc = SourceLocation()) {
2727 DiagnoseProhibitedAttributes(Attrs.Range, FixItLoc);
2731 SourceLocation FixItLoc);