Bug 265686 - Nested namespaces don't get stripped in helpers
Summary: Nested namespaces don't get stripped in helpers
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 11:45 UTC by Milian Wolff
Modified: 2021-03-09 22:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milian Wolff 2011-02-07 11:45:17 UTC
Version:           unspecified
OS:                Linux

Most (all?) code generators like missing declaration, create implementation, update signature, ... that need to print types fail on nested namespaces. This is a huge inconvenience to me as I always have to fix that by hand afterwards.

Reproducible: Didn't try

Steps to Reproduce:
test.h:
~~~~~~~~
namespace A {
namespace B {
class C {};
C* foo(C*);
}
}

test.cpp:
~~~~~~~~~~
#include "test.h"

// alternatively try with namespace A { namespace B { ...
using namespace A::B;

// create implementation for C* foo(C*);


Actual Results:  
A::B::C* foo(A::B::C*)
{

}

Expected Results:  
C* foo(C*)
{

}
Comment 1 Justin Zobel 2021-03-09 22:48:01 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.