| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | PosixReturnCheck.cpp | 65 SourceLocation OperatorLoc = LessThanZeroOp->getOperatorLoc(); in check() local 66 diag(OperatorLoc, "the comparison always evaluates to false because %0 " in check() 69 << FixItHint::CreateReplacement(OperatorLoc, Twine(">").str()); in check()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 322 SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, in CXXPseudoDestructorExpr() argument 328 OperatorLoc(OperatorLoc), QualifierLoc(QualifierLoc), in CXXPseudoDestructorExpr() 540 SourceLocation OperatorLoc, in CXXOperatorCallExpr() argument 544 OperatorLoc, FPFeatures, /*MinNumArgs=*/0, UsesADL) { 1368 SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, in CXXDependentScopeMemberExpr() argument 1381 CXXDependentScopeMemberExprBits.OperatorLoc = OperatorLoc; in CXXDependentScopeMemberExpr() 1410 SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, in Create() argument 1462 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, in UnresolvedMemberExpr() argument 1477 Base(Base), BaseType(BaseType), OperatorLoc(OperatorLoc) { in UnresolvedMemberExpr() 1502 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, in Create() argument [all …]
|
| H A D | Expr.cpp | 1557 SourceLocation OperatorLoc, in Create() argument 1565 return new (Mem) OffsetOfExpr(C, type, OperatorLoc, tsi, comps, exprs, in Create() 1577 SourceLocation OperatorLoc, TypeSourceInfo *tsi, in OffsetOfExpr() argument 1581 OperatorLoc(OperatorLoc), RParenLoc(RParenLoc), TSInfo(tsi), in OffsetOfExpr() 1613 MemberExpr::MemberExpr(Expr *Base, bool IsArrow, SourceLocation OperatorLoc, in MemberExpr() argument 1627 MemberExprBits.OperatorLoc = OperatorLoc; in MemberExpr() 1632 const ASTContext &C, Expr *Base, bool IsArrow, SourceLocation OperatorLoc, in Create() argument 1647 MemberExpr *E = new (Mem) MemberExpr(Base, IsArrow, OperatorLoc, MemberDecl, in Create()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | MakeSmartPtrCheck.cpp | 216 SourceLocation OperatorLoc = Expr->getOperatorLoc(); in checkReset() local 231 if (OperatorLoc.isInvalid()) { in checkReset() 248 CharSourceRange::getCharRange(OperatorLoc, ExprEnd), in checkReset() 256 insertHeader(Diag, SM.getFileID(OperatorLoc)); in checkReset()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ExprCXX.h | 104 SourceLocation OperatorLoc, FPOptionsOverride FPFeatures, 2545 SourceLocation OperatorLoc; variable 2600 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() 3632 SourceLocation OperatorLoc, 3678 return CXXDependentScopeMemberExprBits.OperatorLoc; in getOperatorLoc() 3846 SourceLocation OperatorLoc; variable 3864 SourceLocation OperatorLoc, 3926 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() 4152 SourceLocation OperatorLoc; variable 4182 OperatorLoc(OperatorLoc), PackLoc(PackLoc), RParenLoc(RParenLoc), in SizeOfPackExpr() [all …]
|
| H A D | Expr.h | 2447 SourceLocation OperatorLoc, RParenLoc; variable 2460 SourceLocation OperatorLoc, TypeSourceInfo *tsi, 2471 SourceLocation OperatorLoc, TypeSourceInfo *tsi, 2479 SourceLocation getOperatorLoc() const { return OperatorLoc; } in getOperatorLoc() 2480 void setOperatorLoc(SourceLocation L) { OperatorLoc = L; } in setOperatorLoc() 2526 SourceLocation getBeginLoc() const LLVM_READONLY { return OperatorLoc; } in getBeginLoc() 3205 MemberExpr(Expr *Base, bool IsArrow, SourceLocation OperatorLoc, 3214 SourceLocation OperatorLoc, 3346 SourceLocation getOperatorLoc() const { return MemberExprBits.OperatorLoc; } in getOperatorLoc()
|
| H A D | Stmt.h | 515 SourceLocation OperatorLoc; in alignas() local 859 SourceLocation OperatorLoc; in alignas() local
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | RedundantExpressionCheck.cpp | 1280 SourceLocation OperatorLoc = NegateOperator->getOperatorLoc(); in check() local 1283 diag(OperatorLoc, in check() 1285 SourceLocation LogicalNotLocation = OperatorLoc.getLocWithOffset(1); in check() 1289 CharSourceRange::getCharRange(OperatorLoc, LogicalNotLocation), "~"); in check()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 1450 void UnqualifiedId::setOperatorFunctionId(SourceLocation OperatorLoc, in setOperatorFunctionId() argument 1454 StartLocation = OperatorLoc; in setOperatorFunctionId() 1455 EndLocation = OperatorLoc; in setOperatorFunctionId()
|
| H A D | TreeTransform.h | 2527 SourceLocation OperatorLoc, 2549 ExprResult RebuildOffsetOfExpr(SourceLocation OperatorLoc, in RebuildOffsetOfExpr() argument 2553 return getSema().BuildBuiltinOffsetOf(OperatorLoc, Type, Components, in RebuildOffsetOfExpr() 3352 SourceLocation OperatorLoc, in RebuildCXXDependentScopeMemberExpr() argument 3362 OperatorLoc, IsArrow, in RebuildCXXDependentScopeMemberExpr() 3374 SourceLocation OperatorLoc, in RebuildUnresolvedMemberExpr() argument 3385 OperatorLoc, IsArrow, in RebuildUnresolvedMemberExpr() 3400 ExprResult RebuildSizeOfPackExpr(SourceLocation OperatorLoc, in RebuildSizeOfPackExpr() argument 3406 return SizeOfPackExpr::Create(SemaRef.Context, OperatorLoc, Pack, PackLoc, in RebuildSizeOfPackExpr() 14989 Base, OperatorLoc, isArrow ? tok::arrow : tok::period, SS, ScopeType, in RebuildCXXPseudoDestructorExpr() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1054 void setOperatorFunctionId(SourceLocation OperatorLoc, 1066 void setConversionFunctionId(SourceLocation OperatorLoc, in setConversionFunctionId() argument 1070 StartLocation = OperatorLoc; in setConversionFunctionId()
|
| H A D | Sema.h | 7613 AccessResult CheckAllocationAccess(SourceLocation OperatorLoc,
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1029 E->MemberExprBits.OperatorLoc = Record.readSourceLocation(); in VisitMemberExpr() 1904 E->OperatorLoc = readSourceLocation(); in VisitCXXPseudoDestructorExpr() 1961 E->CXXDependentScopeMemberExprBits.OperatorLoc = readSourceLocation(); in VisitCXXDependentScopeMemberExpr() 2040 E->OperatorLoc = readSourceLocation(); in VisitUnresolvedMemberExpr() 2102 E->OperatorLoc = readSourceLocation(); in VisitSizeOfPackExpr()
|
| H A D | ASTWriterStmt.cpp | 2014 Record.AddSourceLocation(E->OperatorLoc); in VisitSizeOfPackExpr()
|