clang  6.0.0svn
Classes | Namespaces | Functions
USRFindingAction.cpp File Reference

Provides an action to find USR for the symbol at <offset>, as well as all additional USRs. More...

#include "clang/Tooling/Refactoring/Rename/USRFindingAction.h"
#include "clang/AST/AST.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/Basic/FileManager.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendAction.h"
#include "clang/Lex/Lexer.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Tooling/CommonOptionsParser.h"
#include "clang/Tooling/Refactoring.h"
#include "clang/Tooling/Refactoring/Rename/USRFinder.h"
#include "clang/Tooling/Tooling.h"
#include <algorithm>
#include <set>
#include <string>
#include <vector>
Include dependency graph for USRFindingAction.cpp:

Go to the source code of this file.

Classes

class  clang::tooling::NamedDeclFindingConsumer
 

Namespaces

 clang
 Dataflow Directional Tag Classes.
 
 clang::tooling
 

Functions

const NamedDecl * clang::tooling::getCanonicalSymbolDeclaration (const NamedDecl *FoundDecl)
 Returns the canonical declaration that best represents a symbol that can be renamed. More...
 
std::vector< std::string > clang::tooling::getUSRsForDeclaration (const NamedDecl *ND, ASTContext &Context)
 Returns the set of USRs that correspond to the given declaration. More...
 

Detailed Description

Provides an action to find USR for the symbol at <offset>, as well as all additional USRs.

Definition in file USRFindingAction.cpp.