Bug 277607

Summary: using namespace directive not fully handled.
Product: [Applications] kdevelop Reporter: cedric <cedric.borgese>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: file not correctly parsed by kdevelop at line 20

Description cedric 2011-07-12 09:33:24 UTC
Version:           git master (using Devel) 
OS:                Linux

when "using namespace Foo;" is used within a namespace Bar, each following namespace Bar scope should know about namespace Foo.
In the attached an exemple of code, line 20, class AA is not solved by the code analyser but the code is valid (it compile with g++ at least from g++ 3.4 and with ms compiler at least with version 2005)

Reproducible: Always

Steps to Reproduce:
Open the attached file with kdevelop, line 20, class AA is not recognized.


Expected Results:  
In the attached file, line 20, class AA should have been resolved as A::AA
Comment 1 Milian Wolff 2011-07-12 10:24:22 UTC
you forgot the file attachement
Comment 2 cedric 2011-07-13 13:55:33 UTC
Created attachment 61845 [details]
file not correctly parsed by kdevelop at line 20
Comment 3 Milian Wolff 2011-07-13 14:22:51 UTC
confirmed
Comment 4 Justin Zobel 2021-03-09 22:48:34 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.
Comment 5 cedric 2021-03-10 09:52:54 UTC
The issue is no longer present.
thanks :)