llvm-project/clang/lib/Tooling
Yitzhak Mandelbaum e1312c54d3 [LibTooling] Add `before` and `after` selectors for selecting point-ranges relative to nodes.
Summary:
The `before` and `after` selectors allow users to specify a zero-length range --
a point -- at the relevant location in an AST-node's source.  Point ranges can
be useful, for example, to insert a change using an API that takes a range to be
modified (e.g. `tooling::change()`).

Reviewers: ilya-biryukov

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D62419

llvm-svn: 361955
2019-05-29 12:40:36 +00:00
..
ASTDiff [AST] Update the comments of the various Expr::Ignore* + Related cleanups 2019-02-03 19:50:56 +00:00
Core [clang-tidy] Add fix descriptions to clang-tidy checks. 2019-04-17 12:53:59 +00:00
Inclusions [Tooling] Handle #pragma once header guard in include insertion. 2019-01-29 14:40:01 +00:00
Refactoring [LibTooling] Add `before` and `after` selectors for selecting point-ranges relative to nodes. 2019-05-29 12:40:36 +00:00
Syntax Reland r361148 with a fix to the buildbot failure. 2019-05-22 14:44:45 +00:00
AllTUsExecution.cpp [Tooling] Avoid working-dir races in AllTUsToolExecutor 2019-03-22 11:01:13 +00:00
ArgumentsAdjusters.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Reland r361148 with a fix to the buildbot failure. 2019-05-22 14:44:45 +00:00
CommonOptionsParser.cpp [CommandLineParser] Add DefaultOption flag 2019-04-15 17:18:10 +00:00
CompilationDatabase.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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
InterpolatingCompilationDatabase.cpp [Tooling] Add -x flags when inferring compile commands for files with no/invalid extension. 2019-05-07 14:34:06 +00:00
JSONCompilationDatabase.cpp [Tooling] Don't mmap the JSONCompilationDatabase, it's not correct for long-lived processes. 2019-05-07 09:05:15 +00:00
Refactoring.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RefactoringCallbacks.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StandaloneExecution.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Tooling.cpp Basic: Return a reference from FileManager::getVirtualFileSystem, NFC 2019-03-26 22:32:06 +00:00