https://bugs.kde.org/show_bug.cgi?id=383402

            Bug ID: 383402
           Summary: Generic lambda marked incorrectly as error
           Product: kdevelop
           Version: git master
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: mgraess...@kde.org
  Target Milestone: ---

As of C++14 it is possible to use auto as the type in a lambda parameter. See:
https://isocpp.org/wiki/faq/cpp14-language#generic-lambdas

When using this in KDevelop the semantic highlighting reports:
'auto' not allowed as lambda parameter

Furthermore the parameter is then in addition marked as unused parameter.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to