Home
last modified time | relevance | path

Searched refs:addUsage (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/support/
DMemoryTreeTests.cpp35 MT.addUsage(42); in TEST()
39 MT.child("leaf").addUsage(1); in TEST()
44 MT.child("leaf").addUsage(1); in TEST()
51 MT.detail("should_be_ignored").addUsage(2); in TEST()
56 MT.detail("first_detail").child("leaf").addUsage(1); in TEST()
57 MT.detail("second_detail").child("leaf").addUsage(1); in TEST()
67 Detail.child("leaf").addUsage(1); in TEST()
74 Detail.child("leaf").addUsage(1); in TEST()
86 Root.child("leaf").addUsage(1); in TEST()
90 Detail.addUsage(1); in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DRenamerClangTidyCheck.cpp155 void RenamerClangTidyCheck::addUsage( in addUsage() function in clang::tidy::RenamerClangTidyCheck
189 void RenamerClangTidyCheck::addUsage(const NamedDecl *Decl, SourceRange Range, in addUsage() function in clang::tidy::RenamerClangTidyCheck
196 return addUsage(RenamerClangTidyCheck::NamingCheckId(Decl->getLocation(), in addUsage()
275 addUsage(Decl->getParent(), Decl->getNameInfo().getSourceRange(), in check()
282 addUsage(FD, SourceRange(Init->getMemberLocation()), in check()
300 addUsage(Decl->getParent(), Range, Result.SourceManager); in check()
318 addUsage(Decl, Loc->getSourceRange(), Result.SourceManager); in check()
329 addUsage(TemplDecl, Range, Result.SourceManager); in check()
337 addUsage(Decl, Loc->getSourceRange(), Result.SourceManager); in check()
346 addUsage(Decl, Loc->getLocalSourceRange(), Result.SourceManager); in check()
[all …]
DRenamerClangTidyCheck.h118 void addUsage(const RenamerClangTidyCheck::NamingCheckId &Decl,
122 void addUsage(const NamedDecl *Decl, SourceRange Range,
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp484 void ForLoopIndexUseVisitor::addUsage(const Usage &U) { in addUsage() function in clang::tidy::modernize::ForLoopIndexUseVisitor
508 addUsage(Usage(Uop)); in TraverseUnaryOperator()
584 addUsage(Usage(ResultExpr, Usage::UK_MemberThroughArrow, in TraverseMemberExpr()
614 addUsage(Usage(MemberCall)); in TraverseCXXMemberCallExpr()
649 addUsage(Usage(OpCall)); in TraverseCXXOperatorCallExpr()
660 addUsage(Usage(OpCall)); in TraverseCXXOperatorCallExpr()
709 addUsage(Usage(E)); in TraverseArraySubscriptExpr()
787 addUsage(Usage(nullptr, in TraverseLambdaCapture()
DLoopConvertUtils.h317 void addUsage(const Usage &U);
/external/llvm-project/clang-tools-extra/clangd/index/
DFileIndex.cpp395 .addUsage(SymSlab.second->bytes()); in profile()
400 .addUsage(RefSlab.second.Slab->bytes()); in profile()
405 .addUsage(RelSlab.second->bytes()); in profile()
482 .addUsage(PreambleIndex.estimateMemoryUsage()); in profile()
486 .addUsage(MainFileIndex.estimateMemoryUsage()); in profile()
DBackground.cpp421 MT.child("index").addUsage(SwapIndex::estimateMemoryUsage()); in profile()
/external/llvm-project/clang-tools-extra/clangd/support/
DMemoryTree.h58 void addUsage(size_t Increment) { Size += Increment; } in addUsage() function
/external/icu/icu4c/source/tools/ctestfw/unicode/
Duperf.h155 const char *addUsage,
/external/icu/icu4c/source/tools/ctestfw/
Duperf.cpp98 const char *addUsage, in UPerfTest() argument
100 : _argc(argc), _argv(argv), _addUsage(addUsage), in UPerfTest()
/external/llvm-project/clang-tools-extra/clangd/
DTUScheduler.cpp1437 .addUsage(Opts.StorePreamblesInMemory ? Elem.second.UsedBytesPreamble in profile()
1439 MT.detail(Elem.first()).child("ast").addUsage(Elem.second.UsedBytesAST); in profile()
/external/clang/lib/Sema/
DSemaChecking.cpp9003 Self.addUsage(U, M.first, SideEffectUsage.Use, UK_ModAsValue); in ~SequencedSubexpression()
9066 void addUsage(UsageInfo &UI, Object O, Expr *Ref, UsageKind UK) { in addUsage() function in __anond0bed2fa0c11::SequenceChecker
9105 addUsage(U, O, Use, UK_Use); in notePostUse()
9117 addUsage(U, O, Use, UK); in notePostMod()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp13090 Self.addUsage(M.first, UI, SideEffectUsage.UsageExpr, UK_ModAsValue); in ~SequencedSubexpression()
13157 void addUsage(Object O, UsageInfo &UI, const Expr *UsageExpr, UsageKind UK) { in addUsage() function in __anon33aba9e81e11::SequenceChecker
13235 addUsage(O, UI, UseExpr, /*UsageKind=*/UK_Use); in notePostUse()
13249 addUsage(O, UI, ModExpr, /*UsageKind=*/UK); in notePostMod()