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

#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.
llvm-bugs mailing list

Reply via email to