[PATCH] D120416: [clangd] Function return type hints: support lambdas, don't duplicate "->"

Trass3r via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 23 11:54:59 PST 2022


Trass3r added inline comments.


================
Comment at: clang-tools-extra/clangd/unittests/InlayHintTests.cpp:626
+    auto f4() -> auto* { return "foo"; }
+
     // `auto` conversion operator
----------------
Should there be a test for `void` too or does it just work?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120416/new/

https://reviews.llvm.org/D120416



More information about the cfe-commits mailing list