#include <Move.h>
Definition at line 114 of file Move.h.
◆ ClangMoveTool()
◆ addIncludes()
void clang::move::ClangMoveTool::addIncludes |
( |
llvm::StringRef | IncludeHeader, |
|
|
bool | IsAngled, |
|
|
llvm::StringRef | SearchPath, |
|
|
llvm::StringRef | FileName, |
|
|
clang::CharSourceRange | IncludeFilenameRange, |
|
|
const SourceManager & | SM ) |
Add #includes from old.h/cc files.
- Parameters
-
IncludeHeader | The name of the file being included, as written in the source code. |
IsAngled | Whether the file name was enclosed in angle brackets. |
SearchPath | The search path which was used to find the IncludeHeader in the file system. It can be a relative path or an absolute path. |
FileName | The name of file where the IncludeHeader comes from. |
IncludeFilenameRange | The source range for the written file name in #include (i.e. "old.h" for #include "old.h") in old.cc. |
SM | The SourceManager. |
Definition at line 690 of file Move.cpp.
◆ addRemovedDecl()
void clang::move::ClangMoveTool::addRemovedDecl |
( |
const NamedDecl * | Decl | ) |
|
Add declarations being removed from old.h/cc.
For each declarations, the method also records the mapping relationship between the corresponding FilePath and its FileID.
Definition at line 492 of file Move.cpp.
◆ getMovedDecls()
std::vector< const NamedDecl * > & clang::move::ClangMoveTool::getMovedDecls |
( |
| ) |
|
|
inline |
◆ getUnremovedDeclsInOldHeader()
llvm::SmallPtrSet< const NamedDecl *, 8 > & clang::move::ClangMoveTool::getUnremovedDeclsInOldHeader |
( |
| ) |
|
|
inline |
◆ onEndOfTranslationUnit()
void clang::move::ClangMoveTool::onEndOfTranslationUnit |
( |
| ) |
|
|
override |
◆ registerMatchers()
void clang::move::ClangMoveTool::registerMatchers |
( |
ast_matchers::MatchFinder * | Finder | ) |
|
◆ run()
void clang::move::ClangMoveTool::run |
( |
const ast_matchers::MatchFinder::MatchResult & | Result | ) |
|
|
override |
The documentation for this class was generated from the following files: