[cfe-dev] Proposal: parsing Qt signals/slots with attributes

Sean Hunt scshunt at csclub.uwaterloo.ca
Wed Sep 28 08:51:25 PDT 2011


On Wed, Sep 28, 2011 at 11:31, Erik Verbruggen <erikjv at me.com> wrote:
> Yes, Qt uses Q_blah macros. Then again, Clang is not Qt, and I do not have a strong opinion on this. Should I change the attribute names, and if so, should I also change the enumerators in CXCursorKind to read CXCursor_QtSignalAttr, etc?

Honestly, this seems like the perfect use-case for attribute
namespaces (e.g. qt::signal). However, these aren't well-supported
yet. I'd much prefer if we could use these though, since it would
avoid starting a bad habit where it's avoidable.

Sean



More information about the cfe-dev mailing list