[cfe-dev] [PATCH] Default implementation for ExternalASTSource's pure virtual functions

Axel Naumann Axel.Naumann at cern.ch
Thu Feb 24 09:37:10 PST 2011


I'd suggest to provide default implementations for ExternalASTSource's
pure virtual functions. Derived classes should actually not be required
to implement them. See e.g. r126387 (offering an orthogonal lookup
source through ExternalASTSource::LookupUnqualified()), and lldb.

Attached patch does that (+ cleanup of forward declarations).

I think it's a semi-minor patch, so if there are no comments I'll commit
it in 24 hours :-)

Cheers, Axel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExternalASTSource_default_impl.diff
Type: text/x-patch
Size: 3815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110224/24b5dcbe/attachment.bin>

More information about the cfe-dev mailing list