clang-tools 20.0.0git
|
#include "ParsedAST.h"
#include "Protocol.h"
#include "llvm/Support/Error.h"
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | clang |
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// | |
namespace | clang::clangd |
FIXME: Skip testing on windows temporarily due to the different escaping code mode. | |
Functions | |
llvm::Expected< SelectionRange > | clang::clangd::getSemanticRanges (ParsedAST &AST, Position Pos) |
Returns the list of all interesting ranges around the Position Pos . | |
llvm::Expected< std::vector< FoldingRange > > | clang::clangd::getFoldingRanges (ParsedAST &AST) |
Returns a list of ranges whose contents might be collapsible in an editor. | |
llvm::Expected< std::vector< FoldingRange > > | clang::clangd::getFoldingRanges (const std::string &Code, bool LineFoldingOnly) |
Returns a list of ranges whose contents might be collapsible in an editor. | |