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

            Bug ID: 396917
           Summary: Crashes on autocompletion of some weird code
           Product: kdevelop
           Version: 5.2.1
          Platform: Appimage
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: silverunicorn2...@yandex.ru
  Target Milestone: ---

Created attachment 114171
  --> https://bugs.kde.org/attachment.cgi?id=114171&action=edit
Minimal example to reproduce the crash

When a function name is parenthesized in its declaration, it can’t be used in
autocompletion.

To reproduce, open the attached file, press Ctrl+Space inside the `main`
function, select `fn1` (not “implement fn1”), press Enter. On my system, it
crashes with SEGV reliably.

Personally, I consider such declarations weird, but they are valid C, and used
extensively in Lua.

Possibly related: #388971, #396196

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

Reply via email to