[PATCH] D62238: [CodeComplete] Complete a lambda when preferred type is a function

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 22 02:45:38 PDT 2019


ilya-biryukov created this revision.
ilya-biryukov added a reviewer: kadircet.
Herald added a project: clang.

Uses a heuristic to detect std::function and friends.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62238

Files:
  clang/lib/Sema/SemaCodeComplete.cpp
  clang/test/CodeCompletion/lambdas.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62238.200677.patch
Type: text/x-patch
Size: 7015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190522/a74c248d/attachment.bin>


More information about the cfe-commits mailing list