clang-tools  14.0.0git
Namespaces | Functions
SemanticSelection.h File Reference
#include "ParsedAST.h"
#include "Protocol.h"
#include "llvm/Support/Error.h"
#include <vector>
Include dependency graph for SemanticSelection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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


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...