clang-tools  14.0.0git
Namespaces | Functions
SemanticSelection.cpp File Reference
#include "SemanticSelection.h"
#include "FindSymbols.h"
#include "ParsedAST.h"
#include "Protocol.h"
#include "Selection.h"
#include "SourceCode.h"
#include "clang/AST/DeclBase.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TokenKinds.h"
#include "clang/Tooling/Syntax/BuildTree.h"
#include "clang/Tooling/Syntax/Nodes.h"
#include "clang/Tooling/Syntax/Tree.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Error.h"
#include <queue>
#include <vector>
Include dependency graph for SemanticSelection.cpp:

Go to the source code of this file.

Namespaces

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

Functions

llvm::Expected< SelectionRange > clang::clangd::getSemanticRanges (ParsedAST &AST, Position Pos)
 Returns the list of all interesting ranges around the Position Pos. More...
 
llvm::Expected< std::vector< FoldingRange > > clang::clangd::getFoldingRanges (ParsedAST &AST)
 Returns a list of ranges whose contents might be collapsible in an editor. More...