llvm-project/clang/lib/Tooling
Yitzhak Mandelbaum 01e8dd2e7a [libTooling] Add stencil combinators for nodes that may be pointers or values.
Summary:
Adds combinators `maybeDeref` and `maybeAddressOf` to provide a uniform way to handle
nodes which may be bound to either a pointer or a value (most often in the
context of member expressions). Such polymorphism is already supported by
`access`; these combinators extend it to more general uses.

Reviewers: gribozavr

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D70554
2019-11-22 12:36:40 -05:00
..
ASTDiff [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Core [clang] Adopt new FileManager error-returning APIs 2019-08-01 21:31:56 +00:00
DependencyScanning [clang][ScanDeps] Fix issue with multiple commands with the same input. 2019-10-31 14:22:01 -07:00
Inclusions Allow additional file suffixes/extensions considered as source in main include grouping 2019-11-12 21:26:52 +00:00
Refactoring [clang-rename] Respect the traversal scope when traversing the entire AST. 2019-11-07 10:43:54 +01:00
Syntax [Syntax] Silence "unused function" warning in no-assert builds. NFC 2019-11-07 09:37:25 +01:00
Transformer [libTooling] Add stencil combinators for nodes that may be pointers or values. 2019-11-22 12:36:40 -05:00
AllTUsExecution.cpp Prune Pass.h include from DataLayout.h. NFCI 2019-10-21 17:51:54 +00:00
ArgumentsAdjusters.cpp [clang][Tooling] Filter flags that generate output in SyntaxOnlyAdjuster 2019-11-13 15:03:30 +01:00
CMakeLists.txt [libTooling] Move Transformer files to their own directory/library. 2019-10-10 02:34:47 +00:00
CommonOptionsParser.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
CompilationDatabase.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Execution.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FileMatchTrie.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FixIt.cpp [LibTooling] Add "SourceCode" library for functions relating to source-code manipulation. 2019-04-05 14:05:03 +00:00
GuessTargetAndModeCompilationDatabase.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
InterpolatingCompilationDatabase.cpp [Driver] Use shared singleton instance of DriverOptTable 2019-09-04 14:26:28 +00:00
JSONCompilationDatabase.cpp Re-land [JSONCompilationDatabase] Strip distcc/ccache/gomacc wrappers from parsed commands. 2019-07-12 23:38:31 +00:00
Refactoring.cpp [clang] Adopt new FileManager error-returning APIs 2019-08-01 21:31:56 +00:00
RefactoringCallbacks.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
StandaloneExecution.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Tooling.cpp [libTooling] Extend `buildASTFromCodeWithArgs` to take files argument. 2019-11-19 12:18:36 -05:00