forked from OSchip/llvm-project
d4934eb5f8
This gives us slightly nicer syntax (foreach) for idioms currently expressed as a loop, and the option to use range algorithms where it makes sense (e.g. llvm::all_of et al encapsulate the needed flow control in a useful way). It's also a building block for iteration over filtered views (e.g. iterate over all Stmt children, with the right type): for (const Statement &S : filter<Statement>(N.children())) ... I realize the recent direction has been mostly towards strongly-typed node-specific facilities, but I think it's important we have convenient generic facilities too. Differential Revision: https://reviews.llvm.org/D90023 |
||
---|---|---|
.. | ||
ASTDiff | ||
Core | ||
DependencyScanning | ||
Inclusions | ||
Refactoring | ||
Syntax | ||
Transformer | ||
AllTUsExecution.cpp | ||
ArgumentsAdjusters.cpp | ||
CMakeLists.txt | ||
CommonOptionsParser.cpp | ||
CompilationDatabase.cpp | ||
Execution.cpp | ||
ExpandResponseFilesCompilationDatabase.cpp | ||
FileMatchTrie.cpp | ||
FixIt.cpp | ||
GuessTargetAndModeCompilationDatabase.cpp | ||
InterpolatingCompilationDatabase.cpp | ||
JSONCompilationDatabase.cpp | ||
Refactoring.cpp | ||
RefactoringCallbacks.cpp | ||
StandaloneExecution.cpp | ||
Tooling.cpp |