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

            Bug ID: 360509
           Summary: KDevelop doesn't highlight friend class members
           Product: kdevelop
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: arkang...@gmail.com

The source was reduced by Milian to:

class LockableHolder
{
    friend void swap(LockableHolder a, LockableHolder b)
    {
        a = b;
    }
};


Execution of clang-parser yields:

clang-parser -a /tmp/test.cpp
AST tree successfully generated
ClassDecl (4) | type: "LockableHolder" (105) | display: "LockableHolder" | loc:
/tmp/test.cpp@[(1,1),(7,2)] | isDecl
  UnexposedDecl (1) | loc: /tmp/test.cpp@[(3,5),(6,6)] | isDecl
no problems encountered during parsing

Reproducible: Always




This is likely an upstream issue.

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

Reply via email to