[clang-tools-extra] [clangd] Adapt Inlay Hint support for Deducing This (PR #68177)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 3 21:41:06 PDT 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 8641cdf397d86f33ac45e4c691ca4f843c359370 5e75d4d99cec39fdc3139f1e92036712aea90f57 -- clang-tools-extra/clangd/InlayHints.cpp clang-tools-extra/clangd/unittests/InlayHintTests.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang-tools-extra/clangd/InlayHints.cpp b/clang-tools-extra/clangd/InlayHints.cpp
index 590261d98a04..379e187c424a 100644
--- a/clang-tools-extra/clangd/InlayHints.cpp
+++ b/clang-tools-extra/clangd/InlayHints.cpp
@@ -872,7 +872,8 @@ private:
else
ForwardedParams = {Params.begin(), Params.end()};
- auto ForwardedParamsRef = maybeDropCxxExplicitObjectParameters(ForwardedParams);
+ auto ForwardedParamsRef =
+ maybeDropCxxExplicitObjectParameters(ForwardedParams);
NameVec ParameterNames = chooseParameterNames(ForwardedParamsRef);
// Exclude setters (i.e. functions with one argument whose name begins with
``````````
</details>
https://github.com/llvm/llvm-project/pull/68177
More information about the cfe-commits
mailing list