#include "Format.h"
#include "support/Logger.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Format/Format.h"
#include "clang/Lex/Lexer.h"
#include "clang/Tooling/Core/Replacement.h"
#include "llvm/Support/Unicode.h"
Go to the source code of this file.
|
| namespace | clang |
| | ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
|
| namespace | clang::clangd |
| | FIXME: Skip testing on windows temporarily due to the different escaping code mode.
|
|
| std::vector< tooling::Replacement > | clang::clangd::formatIncremental (llvm::StringRef Code, unsigned Cursor, llvm::StringRef InsertedText, format::FormatStyle Style) |
| | Applies limited formatting around new InsertedText.
|
| unsigned | clang::clangd::transformCursorPosition (unsigned Offset, const std::vector< tooling::Replacement > &Replacements) |
| | Determine the new cursor position after applying Replacements.
|