clang-tools  10.0.0svn
Namespaces | Functions
Rename.h File Reference
#include "Protocol.h"
#include "clang/Tooling/Core/Replacement.h"
#include "llvm/Support/Error.h"
Include dependency graph for Rename.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::clangd
 

Functions

llvm::Expected< tooling::Replacements > clang::clangd::renameWithinFile (ParsedAST &AST, llvm::StringRef File, Position Pos, llvm::StringRef NewName, const SymbolIndex *Index=nullptr)
 Renames all occurrences of the symbol at Pos to NewName. More...