Home
last modified time | relevance | path

Searched refs:BaseRange (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProBoundsConstantArrayIndexCheck.cpp69 SourceRange BaseRange; in check() local
71 BaseRange = ArraySubscriptE->getBase()->getSourceRange(); in check()
73 BaseRange = in check()
82 Diag << FixItHint::CreateInsertion(BaseRange.getBegin(), "gsl::at(") in check()
84 SourceRange(BaseRange.getEnd().getLocWithOffset(1), in check()
/external/clang/lib/Sema/
DSemaExprMember.cpp620 SourceRange BaseRange = BaseExpr ? BaseExpr->getSourceRange() : SourceRange(); in LookupMemberExprInRecord() local
625 BaseRange)) in LookupMemberExprInRecord()
690 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << DC << BaseRange; in LookupMemberExprInRecord()
DSemaExprObjC.cpp1773 SourceRange BaseRange = Super? SourceRange(SuperLoc) in HandleExprPropertyRefExpr() local
1777 MemberName, BaseRange)) in HandleExprPropertyRefExpr()
/external/llvm-project/clang/lib/Sema/
DSemaExprMember.cpp646 SourceRange BaseRange = BaseExpr ? BaseExpr->getSourceRange() : SourceRange(); in LookupMemberExprInRecord() local
651 BaseRange)) in LookupMemberExprInRecord()
715 SemaRef.Diag(TypoLoc, diag::err_no_member) << Typo << DC << BaseRange; in LookupMemberExprInRecord()
DSemaExprObjC.cpp1992 SourceRange BaseRange = Super? SourceRange(SuperLoc) in HandleExprPropertyRefExpr() local
1996 MemberName, BaseRange)) in HandleExprPropertyRefExpr()
/external/llvm-project/clang/lib/Parse/
DParseDecl.cpp4457 SourceRange BaseRange; in ParseEnumSpecifier() local
4505 BaseRange = SourceRange(ColonLoc, DeclaratorInfo.getSourceRange().getEnd()); in ParseEnumSpecifier()
4510 << BaseRange; in ParseEnumSpecifier()
4513 << BaseRange; in ParseEnumSpecifier()
4516 << BaseRange; in ParseEnumSpecifier()
4519 << BaseRange; in ParseEnumSpecifier()
4621 Diag(BaseRange.getBegin(), diag::ext_enum_base_in_type_specifier) in ParseEnumSpecifier()
4622 << (AllowEnumSpecifier == AllowDefiningTypeSpec::Yes) << BaseRange; in ParseEnumSpecifier()