/dports/editors/libreoffice/libreoffice-7.2.6.2/compilerplugins/clang/ |
H A D | constvars.cxx | 307 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in check() local 310 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in check() 318 auto parentsRange = compiler.getASTContext().getParents(*parent); in check() local 319 parent = parentsRange.begin() == parentsRange.end() ? nullptr in check() 320 : parentsRange.begin()->get<Stmt>(); in check() 328 auto parentsRange = compiler.getASTContext().getParents(*child); in check() local 329 if (parentsRange.begin() != parentsRange.end()) in check() 331 auto varDecl = dyn_cast_or_null<VarDecl>(parentsRange.begin()->get<Decl>()); in check() 337 parentsRange = compiler.getASTContext().getParents(*varDecl); in check() 338 if (parentsRange.begin() != parentsRange.end()) in check() [all …]
|
H A D | unusedvarsglobal.cxx | 424 auto parentsRange = compiler.getASTContext().getParents(*declRefExpr); in checkIfReadFrom() local 427 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfReadFrom() 433 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfReadFrom() local 434 parent = parentsRange.begin() == parentsRange.end() ? nullptr in checkIfReadFrom() 443 if (parentsRange.begin() != parentsRange.end()) in checkIfReadFrom() 445 const Decl* decl = parentsRange.begin()->get<Decl>(); in checkIfReadFrom() 655 auto parentsRange = compiler.getASTContext().getParents(*declRefExpr); in checkIfWrittenTo() local 658 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfWrittenTo() 664 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfWrittenTo() local 665 parent = parentsRange.begin() == parentsRange.end() ? nullptr in checkIfWrittenTo() [all …]
|
H A D | writeonlyvars.cxx | 594 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in checkIfReadFrom() local 597 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfReadFrom() 603 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfReadFrom() local 604 parent = parentsRange.begin() == parentsRange.end() ? nullptr in checkIfReadFrom() 613 if (parentsRange.begin() != parentsRange.end()) in checkIfReadFrom() 615 const Decl* decl = parentsRange.begin()->get<Decl>(); in checkIfReadFrom() 811 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in checkIfWrittenTo() local 814 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfWrittenTo() 820 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfWrittenTo() local 821 parent = parentsRange.begin() == parentsRange.end() ? nullptr in checkIfWrittenTo() [all …]
|
H A D | unusedfields.cxx | 572 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in checkIfReadFrom() local 574 …const Stmt* parent = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->… in checkIfReadFrom() 580 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfReadFrom() local 581 … parent = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfReadFrom() 589 if ( parentsRange.begin() != parentsRange.end()) in checkIfReadFrom() 591 const Decl* decl = parentsRange.begin()->get<Decl>(); in checkIfReadFrom() 820 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in checkIfWrittenTo() local 822 …const Stmt* parent = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->… in checkIfWrittenTo() 828 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfWrittenTo() local 829 … parent = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfWrittenTo() [all …]
|
H A D | constfields.cxx | 363 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in check() local 366 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in check() 372 auto parentsRange = compiler.getASTContext().getParents(*parent); in check() local 373 parent = parentsRange.begin() == parentsRange.end() ? nullptr in check() 374 : parentsRange.begin()->get<Stmt>(); in check() 382 auto parentsRange = compiler.getASTContext().getParents(*child); in check() local 383 if (parentsRange.begin() != parentsRange.end()) in check() 385 auto varDecl = dyn_cast_or_null<VarDecl>(parentsRange.begin()->get<Decl>()); in check()
|
H A D | unusedvariablemore.cxx | 207 auto parentsRange = compiler.getASTContext().getParents(*stmt); in checkifUnused() local 208 if (parentsRange.begin() != parentsRange.end()) in checkifUnused() 210 auto parentDecl = parentsRange.begin()->get<Decl>(); in checkifUnused()
|
H A D | plugin.cxx | 189 auto parentsRange = compiler.getASTContext().getParents(*stmt); in getParentStmt() local 190 if ( parentsRange.begin() == parentsRange.end()) in getParentStmt() 192 return parentsRange.begin()->get<Stmt>(); in getParentStmt() 197 auto parentsRange = compiler.getASTContext().getParents(*stmt); in getParentStmt() local 198 if ( parentsRange.begin() == parentsRange.end()) in getParentStmt() 200 return const_cast<Stmt*>(parentsRange.begin()->get<Stmt>()); in getParentStmt()
|
H A D | constmethod.cxx | 197 auto parentsRange = compiler.getASTContext().getParents(*stmt); in checkIfCanBeConst() local 198 if ( parentsRange.begin() == parentsRange.end()) in checkIfCanBeConst() 200 auto varDecl = dyn_cast_or_null<VarDecl>(parentsRange.begin()->get<Decl>()); in checkIfCanBeConst()
|
H A D | constparams.cxx | 267 auto parentsRange = compiler.getASTContext().getParents(*stmt); in checkIfCanBeConst() local 268 if ( parentsRange.begin() != parentsRange.end()) in checkIfCanBeConst() 270 …if (auto cxxConstructorDecl = dyn_cast_or_null<CXXConstructorDecl>(parentsRange.begin()->get<Decl>… in checkIfCanBeConst() 294 if (auto varDecl = dyn_cast_or_null<VarDecl>(parentsRange.begin()->get<Decl>())) in checkIfCanBeConst()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/compilerplugins/clang/ |
H A D | constvars.cxx | 300 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in check() local 303 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in check() 311 auto parentsRange = compiler.getASTContext().getParents(*parent); in check() local 312 parent = parentsRange.begin() == parentsRange.end() ? nullptr in check() 313 : parentsRange.begin()->get<Stmt>(); in check() 321 auto parentsRange = compiler.getASTContext().getParents(*child); in check() local 322 if (parentsRange.begin() != parentsRange.end()) in check() 324 auto varDecl = dyn_cast_or_null<VarDecl>(parentsRange.begin()->get<Decl>()); in check() 330 parentsRange = compiler.getASTContext().getParents(*varDecl); in check() 331 if (parentsRange.begin() != parentsRange.end()) in check() [all …]
|
H A D | unusedfields.cxx | 493 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in checkIfReadFrom() local 495 …const Stmt* parent = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->… in checkIfReadFrom() 501 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfReadFrom() local 502 … parent = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfReadFrom() 510 if ( parentsRange.begin() != parentsRange.end()) in checkIfReadFrom() 512 const Decl* decl = parentsRange.begin()->get<Decl>(); in checkIfReadFrom() 741 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in checkIfWrittenTo() local 743 …const Stmt* parent = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->… in checkIfWrittenTo() 749 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfWrittenTo() local 750 … parent = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfWrittenTo() [all …]
|
H A D | writeonlyvars.cxx | 589 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in checkIfReadFrom() local 592 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfReadFrom() 598 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfReadFrom() local 599 parent = parentsRange.begin() == parentsRange.end() ? nullptr in checkIfReadFrom() 608 if (parentsRange.begin() != parentsRange.end()) in checkIfReadFrom() 610 const Decl* decl = parentsRange.begin()->get<Decl>(); in checkIfReadFrom() 806 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in checkIfWrittenTo() local 809 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfWrittenTo() 815 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfWrittenTo() local 816 parent = parentsRange.begin() == parentsRange.end() ? nullptr in checkIfWrittenTo() [all …]
|
H A D | constfields.cxx | 356 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in check() local 359 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in check() 365 auto parentsRange = compiler.getASTContext().getParents(*parent); in check() local 366 parent = parentsRange.begin() == parentsRange.end() ? nullptr in check() 367 : parentsRange.begin()->get<Stmt>(); in check() 375 auto parentsRange = compiler.getASTContext().getParents(*child); in check() local 376 if (parentsRange.begin() != parentsRange.end()) in check() 378 auto varDecl = dyn_cast_or_null<VarDecl>(parentsRange.begin()->get<Decl>()); in check()
|
H A D | unusedvariablemore.cxx | 208 auto parentsRange = compiler.getASTContext().getParents(*stmt); in checkifUnused() local 209 if (parentsRange.begin() != parentsRange.end()) in checkifUnused() 211 auto parentDecl = parentsRange.begin()->get<Decl>(); in checkifUnused()
|
H A D | plugin.cxx | 178 auto parentsRange = compiler.getASTContext().getParents(*stmt); in getParentStmt() local 179 if ( parentsRange.begin() == parentsRange.end()) in getParentStmt() 181 return parentsRange.begin()->get<Stmt>(); in getParentStmt() 186 auto parentsRange = compiler.getASTContext().getParents(*stmt); in getParentStmt() local 187 if ( parentsRange.begin() == parentsRange.end()) in getParentStmt() 189 return const_cast<Stmt*>(parentsRange.begin()->get<Stmt>()); in getParentStmt()
|
H A D | constmethod.cxx | 191 auto parentsRange = compiler.getASTContext().getParents(*stmt); in checkIfCanBeConst() local 192 if ( parentsRange.begin() == parentsRange.end()) in checkIfCanBeConst() 194 auto varDecl = dyn_cast_or_null<VarDecl>(parentsRange.begin()->get<Decl>()); in checkIfCanBeConst()
|
H A D | constparams.cxx | 264 auto parentsRange = compiler.getASTContext().getParents(*stmt); in checkIfCanBeConst() local 265 if ( parentsRange.begin() != parentsRange.end()) in checkIfCanBeConst() 267 …if (auto cxxConstructorDecl = dyn_cast_or_null<CXXConstructorDecl>(parentsRange.begin()->get<Decl>… in checkIfCanBeConst() 291 if (auto varDecl = dyn_cast_or_null<VarDecl>(parentsRange.begin()->get<Decl>())) in checkIfCanBeConst()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/ |
H A D | ChangeLog | 249572 > 191 | auto parentsRange = compiler.getASTContext().getParents(*stmt);
|