[llvm-bugs] [Bug 34141] New: Code completion fails in generic lambda if enough context is there
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 10 04:49:48 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34141
Bug ID: 34141
Summary: Code completion fails in generic lambda if enough
context is there
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: libclang
Assignee: unassignedclangbugs at nondot.org
Reporter: nikolai.kosjar at qt.io
CC: klimek at google.com, llvm-bugs at lists.llvm.org
#include <algorithm>
#include <vector>
struct Foo { int member; };
int main()
{
std::vector<Foo> c;
[&] (const auto &entry) {
return entry; // OK, no context for completion of entry.
};
std::find_if(c.cbegin(), c.cend(), [&] (const auto &entry) {
return entry. // Here completion of member would be nice.
});
}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170810/b9debf44/attachment.html>
More information about the llvm-bugs
mailing list