Home
last modified time | relevance | path

Searched refs:getRBraceLoc (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DNamespaceCommentCheck.cpp89 !locationsInSameFile(Sources, ND->getBeginLoc(), ND->getRBraceLoc())) in check()
95 unsigned EndLine = Sources.getSpellingLineNumber(ND->getRBraceLoc()); in check()
101 ND->getRBraceLoc(), /*Offset=*/0, Sources, getLangOpts()); in check()
132 if (!locationsInSameFile(Sources, ND->getRBraceLoc(), Loc)) in check()
196 : ND->getRBraceLoc(); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DConcatNestedNamespacesCheck.cpp82 if (!locationsInSameFile(Sources, ND.getBeginLoc(), ND.getRBraceLoc())) in check()
95 SourceRange BackReplacement(Namespaces.back()->getRBraceLoc(), in check()
96 Namespaces.front()->getRBraceLoc()); in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DUnusedRaiiCheck.cpp92 SR = SourceRange(ILE->getLBraceLoc(), ILE->getRBraceLoc()); in check()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExprConcepts.h536 SourceLocation getRBraceLoc() const { return RBraceLoc; } in getRBraceLoc() function
H A DDeclCXX.h2874 SourceLocation getRBraceLoc() const { return RBraceLoc; } in getRBraceLoc() function
2883 return getRBraceLoc(); in getEndLoc()
H A DDecl.h656 SourceLocation getRBraceLoc() const { return RBraceLoc; } in getRBraceLoc() function
4622 SourceLocation getRBraceLoc() const { return RBraceLoc; } in getRBraceLoc() function
H A DExpr.h4942 SourceLocation getRBraceLoc() const { return RBraceLoc; } in getRBraceLoc() function
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp308 E.getRBraceLoc()); in getElementsRange()
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp683 MoveNs.Length = SM.getFileOffset(NsDecl->getRBraceLoc()) - MoveNs.Offset; in moveOldNamespace()
696 OuterNs->getRBraceLoc(), SM, Result.Context->getLangOpts()); in moveOldNamespace()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp1228 Record.AddSourceLocation(D->getRBraceLoc()); in VisitLinkageSpecDecl()
1234 Record.AddSourceLocation(D->getRBraceLoc()); in VisitExportDecl()
1250 Record.AddSourceLocation(D->getRBraceLoc()); in VisitNamespaceDecl()
H A DASTWriterStmt.cpp1061 Record.AddSourceLocation(E->getRBraceLoc()); in VisitInitListExpr()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp4443 InitList->getRBraceLoc()) in TryListInitialization()
4559 InitList->getRBraceLoc()) in TryListInitialization()
8585 InitList->getRBraceLoc()); in Perform()
8597 Syntactic->getLBraceLoc(), E, Syntactic->getRBraceLoc()); in Perform()
H A DSemaStmt.cpp4053 ILE->getRBraceLoc(), ILE->inits()) in BuildReturnStmt()
H A DTreeTransform.h11421 E->getRBraceLoc()); in TransformInitListExpr()
12617 E->getRBraceLoc()); in TransformRequiresExpr()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3049 if (!LSD->getRBraceLoc().isValid()) in getFunctionSourceLocation()
3077 if (!LSD->getRBraceLoc().isValid()) in RewriteLineDirective()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporter.cpp2413 ExpectedSLoc RBraceLocOrErr = import(D->getRBraceLoc()); in VisitNamespaceDecl()
4677 ExpectedSLoc RBraceLocOrErr = import(D->getRBraceLoc()); in VisitLinkageSpecDecl()
8132 auto ToRBraceLoc = importChecked(Err, E->getRBraceLoc()); in VisitInitListExpr()