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

            Bug ID: 396876
           Summary: Generated function definitions should exactly match
                    declarations in headers
           Product: kdevelop
           Version: 5.2.1
          Platform: Other
                OS: All
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: Code completion
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: cyp...@gmail.com
  Target Milestone: ---

If a header contains a declaration

myFunc(char const *str);

then autogenerating the definition in the source file creates

myFunc(const char *str)
{
}

. I think it would be better if the generated signature exactly matched the
header, even if "char const" and "const char" are equivalent.

Also, it would be nice if it were possible to set the { to appear on the same
line as the ).

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

Reply via email to