diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-18 17:59:57 +0300 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-18 17:59:57 +0300 |
commit | 707157f24834e814243c90cf1f5f50c75f3abcb9 (patch) | |
tree | 285946d99d9ad7519a7f3891cca20df0b201c85f /clang-tools-extra | |
parent | be3b40c059355115a8041f5bd866ad8d99950611 (diff) |
Revert rGc24e197aaad5333717a27f6e4346f97da84821ed "[clangd] getHover - pass FormatStyle argument by const reference"
There are a number of buildbot build failures on non MSVC compilers
Diffstat (limited to 'clang-tools-extra')
-rw-r--r-- | clang-tools-extra/clangd/Hover.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/Hover.cpp b/clang-tools-extra/clangd/Hover.cpp index 8b2201841140..dda5ad36e9b8 100644 --- a/clang-tools-extra/clangd/Hover.cpp +++ b/clang-tools-extra/clangd/Hover.cpp @@ -963,7 +963,7 @@ void maybeAddCalleeArgInfo(const SelectionTree::Node *N, HoverInfo &HI, } // namespace llvm::Optional<HoverInfo> getHover(ParsedAST &AST, Position Pos, - const format::FormatStyle &Style, + format::FormatStyle Style, const SymbolIndex *Index) { PrintingPolicy PP = getPrintingPolicy(AST.getASTContext().getPrintingPolicy()); |