[cfe-commits] [PATCH] Illegal qualifiers not caught properly

Aaron Ballman aaron at aaronballman.com
Thu Feb 9 18:24:46 PST 2012


This patch addresses bug 11684 where illegal function qualifiers are
not caught properly when declaring a function pointer or reference
inside of a class.  For instance:

struct test {
  void (*ref)() const;
};

I mostly reused existing logic to cover the case.  I've also included
some test cases to exercise the fix.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: illegal-member-qualifiers.patch
Type: application/octet-stream
Size: 4813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120209/0d89e0c4/attachment.obj>


More information about the cfe-commits mailing list