Home
last modified time | relevance | path

Searched refs:Occurrences (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/clang/unittests/Tooling/
DRefactoringActionRulesTest.cpp45 void handle(SymbolOccurrences Occurrences) override { in createReplacements() argument
46 RefactoringResultConsumer::handle(std::move(Occurrences)); in createReplacements()
182 void handle(SymbolOccurrences Occurrences) override { in findOccurrences() argument
183 Result = std::move(Occurrences); in findOccurrences()
212 SymbolOccurrences Occurrences; in TEST_F() local
213 Occurrences.push_back(SymbolOccurrence(SymbolName("test"), in TEST_F()
216 return std::move(Occurrences); in TEST_F()
230 SymbolOccurrences Occurrences = std::move(*Result); in TEST_F() local
231 EXPECT_EQ(Occurrences.size(), 1u); in TEST_F()
232 EXPECT_EQ(Occurrences[0].getKind(), SymbolOccurrence::MatchingSymbol); in TEST_F()
[all …]
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DRenamingAction.cpp81 Expected<SymbolOccurrences> Occurrences = findSymbolOccurrences(ND, Context); in createSourceReplacements() local
82 if (!Occurrences) in createSourceReplacements()
83 return Occurrences.takeError(); in createSourceReplacements()
87 *Occurrences, Context.getASTContext().getSourceManager(), Name); in createSourceReplacements()
145 createRenameReplacements(const SymbolOccurrences &Occurrences, in createRenameReplacements() argument
149 for (const auto &Occurrence : Occurrences) { in createRenameReplacements()
209 SymbolOccurrences Occurrences = tooling::getOccurrencesOfUSRs( in HandleOneRename() local
212 for (const auto &Occurrence : Occurrences) { in HandleOneRename()
224 createRenameReplacements(Occurrences, SourceMgr, NewNameRef); in HandleOneRename()
DUSRLocFinder.cpp85 SymbolOccurrences takeOccurrences() { return std::move(Occurrences); } in takeOccurrences()
100 Occurrences.emplace_back(PrevName, SymbolOccurrence::MatchingSymbol, in checkAndAddLocation()
106 SymbolOccurrences Occurrences; member in clang::tooling::__anon9a2f97760111::USRLocFindingASTVisitor
/external/llvm-project/clang/include/clang/Tooling/Refactoring/
DRefactoringActionRules.h78 Expected<SymbolOccurrences> Occurrences = findSymbolOccurrences(Context); in invoke() local
79 if (!Occurrences) in invoke()
80 Consumer.handleError(Occurrences.takeError()); in invoke()
82 Consumer.handle(std::move(*Occurrences)); in invoke()
DRefactoringResultConsumer.h39 virtual void handle(SymbolOccurrences Occurrences) { defaultResultHandler(); } in handle() argument
/external/rust/crates/structopt/tests/
Dcustom-string-parsers.rs166 struct Occurrences { struct
186 Occurrences { in test_parser_occurrences() argument
193 Occurrences::from_clap(&Occurrences::clap().get_matches_from(&[ in test_parser_occurrences()
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.cpp704 std::vector<Range> Occurrences, in buildRenameEdit() argument
709 static_cast<int64_t>(Occurrences.size())); in buildRenameEdit()
711 assert(std::is_sorted(Occurrences.begin(), Occurrences.end())); in buildRenameEdit()
712 assert(std::unique(Occurrences.begin(), Occurrences.end()) == in buildRenameEdit()
713 Occurrences.end() && in buildRenameEdit()
736 for (const auto &R : Occurrences) { in buildRenameEdit()
DRename.h79 std::vector<Range> Occurrences,
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
DRenamingAction.h95 createRenameReplacements(const SymbolOccurrences &Occurrences,
/external/llvm-project/clang/tools/clang-refactor/
DTestSupport.cpp135 void handle(tooling::SymbolOccurrences Occurrences) override { in handle() argument
136 tooling::RefactoringResultConsumer::handle(std::move(Occurrences)); in handle()
DClangRefactor.cpp335 void handle(SymbolOccurrences Occurrences) override { in handle() argument
/external/llvm/include/llvm/Support/
DCommandLine.h239 unsigned Occurrences : 3; // enum NumOccurrencesFlag variable
258 return (enum NumOccurrencesFlag)Occurrences; in getNumOccurrencesFlag()
292 void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } in setNumOccurrencesFlag()
304 : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), in Option()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCommandLine.h245 unsigned Occurrences : 3; // enum NumOccurrencesFlag variable
264 return (enum NumOccurrencesFlag)Occurrences; in getNumOccurrencesFlag()
304 void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } in setNumOccurrencesFlag()
316 : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), in Option()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dreadability-implicit-bool-conversion.rst121 Occurrences of implicit conversions inside macros and template instantiations
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DCommandLine.h274 uint16_t Occurrences : 3; // enum NumOccurrencesFlag variable
294 return (enum NumOccurrencesFlag)Occurrences; in getNumOccurrencesFlag()
335 void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } in setNumOccurrencesFlag()
347 : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), in Option()
/external/llvm-project/llvm/include/llvm/Support/
DCommandLine.h266 uint16_t Occurrences : 3; // enum NumOccurrencesFlag variable
286 return (enum NumOccurrencesFlag)Occurrences; in getNumOccurrencesFlag()
327 void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } in setNumOccurrencesFlag()
339 : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), in Option()
/external/python/cpython2/Misc/NEWS.d/
D2.7.7rc1.rst1035 Occurrences of "print" are now consistently colored as being a keyword (the
/external/python/cpython2/Lib/idlelib/
DNEWS.txt277 - Issue #21029: Occurrences of "print" are now consistently colored as
/external/one-true-awk/testdir/
Dfunstack.ok2580 Frederick R. Carlson, Jr. Detection of Combined Occurrences . . . 31--36 (or 31--35??)
2602 David I. Steinberg Occurrences of Cycling and Other
Dfunstack.in19595 title = "Detection of Combined Occurrences",
19778 …title = "Occurrences of Cycling and Other Phenomena Arising in a Class of Linear Programmin…