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

            Bug ID: 406910
           Summary: Anonymous namespace is not unique in Translation Units
           Product: kdevelop
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: k...@stierand.com
  Target Milestone: ---

SUMMARY
When invoking find uses, functions with the same name in different translation
units are found even when in an anonymous namespace.

STEPS TO REPRODUCE
1. load kdevelop source code
2. open file "plugins/clang/duchain/builder.cpp"
3. right click on 'visitCursor' and select 'Find Uses'
4. Check content of 'Code Browser' Dock

OBSERVED RESULT
Results are also shown in "plugins/clang/tests/minimal_visitor.cpp" and others.

EXPECTED RESULT
Only results for builder.cpp are shown.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.45.0
Qt Version: Qt 5.9.4 (built against 5.9.4) XCB
LLVM/CLANG: 8.0.1

ADDITIONAL INFORMATION

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

Reply via email to