Anonymous Namespaces [with patch]
    Christoph Bartoschek 
    bartoschek at gmx.de
       
    Thu Oct 16 17:56:04 UTC 2003
    
    
  
Hi,
kdevelop does not handle anonymous namespaces correctly at the moment. They 
do not appear in the "Classes" View for example.
The reason is a wrong if statement in 
languages/cpp/store_waler.cpp and languages/cpp/tag_creator.cpp
if( !ast->namespaceName() ){
ast->namespaceName() ist not a nullptr pointer, even for anonymous 
namespaces. The tiny attached patch replaces this line with
if( ast->namespaceName()->text().isNull() ){
Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anon-namespace.patch
Type: text/x-diff
Size: 1208 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20031016/60dcd4ac/attachment.bin>
    
    
More information about the KDevelop-devel
mailing list