isImplicit is currently for CXXConstructorDecls only, but there are other Decls that can be implicit.
I tried to write a small test, but if there is a better test let me know.
joey on May 15 2014, 1:16 AM.Authored by
The only comment I would make is that in principle the compiler could change the assumption you are making in the test case about the implicit assignment operator. But (1) that observation is equally true of the other test cases (2) it would be easy to fix, say by taking a member pointer reference to the assignment operator.