Home
last modified time | relevance | path

Searched refs:getLParenLoc (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DAvoidCStyleCastsCheck.cpp66 CastExpr->getLParenLoc(), in getReplaceRange()
70 CastExpr->getLParenLoc()); in getReplaceRange()
82 BeginLoc = CastExpr->getLParenLoc().getLocWithOffset(1); in getDestTypeString()
86 EndLoc = CastExpr->getLParenLoc().getLocWithOffset(-1); in getDestTypeString()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProTypeCstyleCastCheck.cpp65 MatchedCast->getLParenLoc().getLocWithOffset(1), in check()
85 MatchedCast->getLParenLoc(), MatchedCast->getRParenLoc()); in check()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp393 addSourceLocation(TL.getLParenLoc()); in VisitFunctionTypeLoc()
432 addSourceLocation(TL.getLParenLoc()); in VisitTypeOfExprTypeLoc()
438 addSourceLocation(TL.getLParenLoc()); in VisitTypeOfTypeLoc()
450 addSourceLocation(TL.getLParenLoc()); in VisitUnaryTransformTypeLoc()
521 addSourceLocation(TL.getLParenLoc()); in VisitParenTypeLoc()
583 addSourceLocation(TL.getLParenLoc()); in VisitAtomicTypeLoc()
6223 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIfClause()
6229 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFinalClause()
6235 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumThreadsClause()
6240 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSafelenClause()
[all …]
H A DASTWriterStmt.cpp158 Record.AddSourceLocation(S->getLParenLoc()); in VisitIfStmt()
183 Record.AddSourceLocation(S->getLParenLoc()); in VisitSwitchStmt()
204 Record.AddSourceLocation(S->getLParenLoc()); in VisitWhileStmt()
227 Record.AddSourceLocation(S->getLParenLoc()); in VisitForStmt()
725 Record.AddSourceLocation(E->getLParenLoc()); in VisitParenListExpr()
831 Record.AddSourceLocation(E->getLParenLoc()); in VisitOMPArrayShapingExpr()
840 Record.AddSourceLocation(E->getLParenLoc()); in VisitOMPIteratorExpr()
950 Record.AddSourceLocation(E->getLParenLoc()); in VisitObjCBridgedCastExpr()
1033 Record.AddSourceLocation(E->getLParenLoc()); in VisitCStyleCastExpr()
1040 Record.AddSourceLocation(E->getLParenLoc()); in VisitCompoundLiteralExpr()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DOpenMPClause.h252 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
303 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
378 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
568 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
645 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
717 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
784 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
1713 SourceLocation getLParenLoc() { return LParenLoc; } in getLParenLoc() function
2165 SourceLocation getLParenLoc() const { in getLParenLoc() function
6509 SourceLocation getLParenLoc() { return LParenLoc; } in getLParenLoc() function
[all …]
H A DTypeLoc.h1149 SourceLocation getLParenLoc() const { in getLParenLoc() function
1166 return SourceRange(getLParenLoc(), getRParenLoc()); in getLocalSourceRange()
1418 SourceLocation getLParenLoc() const { in getLParenLoc() function
1435 return SourceRange(getLParenLoc(), getRParenLoc()); in getParensRange()
1952 SourceLocation getLParenLoc() const { in getLParenLoc() function
1969 return SourceRange(getLParenLoc(), getRParenLoc()); in getParensRange()
2066 SourceLocation getLParenLoc() const { return getLocalData()->LParenLoc; } in getLParenLoc() function
2085 return SourceRange(getLParenLoc(), getRParenLoc()); in getParensRange()
2550 SourceLocation getLParenLoc() const { in getLParenLoc() function
2567 return SourceRange(getLParenLoc(), getRParenLoc()); in getParensRange()
H A DExprOpenMP.h192 SourceLocation getLParenLoc() const { return LPLoc; } in getLParenLoc() function
366 SourceLocation getLParenLoc() const { return LPLoc; } in getLParenLoc() function
H A DStmt.h2151 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
2321 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
2481 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
2614 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
H A DExpr.h3435 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
3770 SourceLocation getLParenLoc() const { return LPLoc; } in getLParenLoc() function
4373 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
5582 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
5584 SourceLocation getBeginLoc() const { return getLParenLoc(); } in getBeginLoc()
H A DExprCXX.h1766 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
3489 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
4642 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
H A DExprObjC.h1649 SourceLocation getLParenLoc() const { return LParenLoc; } in getLParenLoc() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DTreeTransform.h5988 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformFunctionProtoType()
6109 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformFunctionNoProtoType()
6216 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformTypeOfExprType()
6239 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformTypeOfType()
6471 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformAtomicType()
6920 NewTL.setLParenLoc(TL.getLParenLoc()); in TransformParenType()
9514 C->getLParenLoc(), C->getEndLoc()); in TransformOMPDefaultClause()
9522 C->getLParenLoc(), C->getEndLoc()); in TransformOMPProcBindClause()
9831 C->getLParenLoc(), C->getEndLoc()); in TransformOMPLastprivateClause()
10484 C->getLParenLoc(), C->getEndLoc()); in TransformOMPBindClause()
[all …]
H A DSemaObjCProperty.cpp1159 property->getLParenLoc(), readonlyLoc)) { in ActOnPropertyImplDecl()
2235 if (Property->getLParenLoc().isValid() && in AtomicPropertySetterGetterRules()
2239 getLocForEndOfToken(Property->getLParenLoc()); in AtomicPropertySetterGetterRules()
2245 } else if (Property->getLParenLoc().isInvalid()) { in AtomicPropertySetterGetterRules()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DUnusedRaiiCheck.cpp85 auto SR = SourceRange(Node->getLParenLoc(), Node->getRParenLoc()); in check()
/llvm-project-15.0.7/clang/unittests/Introspection/
H A DIntrospectionTest.cpp247 …PAIR(MethodDecl, getTypeSourceInfo()->getTypeLoc().getAs<clang::FunctionTypeLoc>().getLParenLoc()), in TEST()
786 STRING_LOCATION_PAIR(CtorInit, getLParenLoc()), in TEST()
839 STRING_LOCATION_PAIR(CtorInit, getLParenLoc()), in TEST()
882 STRING_LOCATION_PAIR(CtorInit, getLParenLoc()), in TEST()
952 STRING_LOCATION_STDPAIR(CtorInit, getLParenLoc()), in TEST()
1260 STRING_LOCATION_STDPAIR(TL, getAs<clang::FunctionTypeLoc>().getLParenLoc()), in TEST()
1388 TL, getAs<clang::TypeOfExprTypeLoc>().getLParenLoc()), in TEST()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DPassByValueCheck.cpp301 Initializer->getLParenLoc().getLocWithOffset(1), "std::move(") in check()
H A DUseDefaultMemberInitCheck.cpp264 Init->getLParenLoc(), 0, *Result.SourceManager, getLangOpts()); in checkDefaultInit()
H A DLoopConvertCheck.cpp628 SourceRange ParenRange(Loop->getLParenLoc(), Loop->getRParenLoc()); in doConversion()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DReachableCode.cpp588 return CSC->getLParenLoc(); in GetUnreachableLoc()
601 return CSC->getLParenLoc(); in GetUnreachableLoc()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp107 return T.getLParenLoc(); in VisitParenTypeLoc()
1347 Builder.markChildToken(L.getLParenLoc(), syntax::NodeRole::OpenParen); in WalkUpFromParenTypeLoc()
1349 Builder.foldNode(Builder.getRange(L.getLParenLoc(), L.getRParenLoc()), in WalkUpFromParenTypeLoc()
1381 Builder.markChildToken(L.getLParenLoc(), syntax::NodeRole::OpenParen); in WalkUpFromFunctionTypeLoc()
1387 Builder.foldNode(Builder.getRange(L.getLParenLoc(), L.getEndLoc()), in WalkUpFromFunctionTypeLoc()
/llvm-project-15.0.7/clang/unittests/AST/
H A DSourceLocationTest.cpp79 SourceLocation LParenLoc = Node.getLParenLoc(); in verify()
426 return SourceRange(T.getLParenLoc(), T.getRParenLoc()); in getRange()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSelection.cpp914 claimRange(PTL.getLParenLoc(), Result); in claimTokensFor()
927 claimRange(SourceRange(FTL.getLParenLoc(), FTL.getEndLoc()), Result); in claimTokensFor()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp229 TA.insertAfterToken(CCE->getLParenLoc(), bridge); in rewriteToBridgedCast()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporter.cpp5349 auto ToLParenLoc = importChecked(Err, D->getLParenLoc()); in VisitObjCPropertyDecl()
6445 auto ToLParenLoc = importChecked(Err, S->getLParenLoc()); in VisitIfStmt()
6464 auto ToLParenLoc = importChecked(Err, S->getLParenLoc()); in VisitSwitchStmt()
6501 auto ToLParenLoc = importChecked(Err, S->getLParenLoc()); in VisitWhileStmt()
6534 auto ToLParenLoc = importChecked(Err, S->getLParenLoc()); in VisitForStmt()
7076 auto ToLParenLoc = importChecked(Err, E->getLParenLoc()); in VisitCompoundLiteralExpr()
7146 ExpectedSLoc ToLParenLocOrErr = import(E->getLParenLoc()); in VisitParenListExpr()
7162 auto ToLParenLoc = importChecked(Err, E->getLParenLoc()); in VisitStmtExpr()
7388 ExpectedSLoc ToLParenLocOrErr = import(CCE->getLParenLoc()); in VisitExplicitCastExpr()
7958 auto ToLParenLoc = importChecked(Err, E->getLParenLoc()); in VisitCXXUnresolvedConstructExpr()
[all …]
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2090 Loc = ECE->getLParenLoc(); in RewriteObjCQualifiedInterfaceTypes()
2213 startLoc = ECE->getLParenLoc(); in RewriteTypeOfDecl()
3883 SourceLocation LocStart = CE->getLParenLoc(); in RewriteCastExpr()
4271 startLoc = ECE->getLParenLoc(); in RewriteByRefVar()

12