r178297 - [sema] Check the result of getAsCXXRecordDecl() to fix the build
John McCall
rjmccall at apple.com
Thu Mar 28 16:11:05 PDT 2013
On Mar 28, 2013, at 3:15 PM, Reid Kleckner <reid at kleckner.net> wrote:
> Author: rnk
> Date: Thu Mar 28 17:15:11 2013
> New Revision: 178297
>
> URL: http://llvm.org/viewvc/llvm-project?rev=178297&view=rev
> Log:
> [sema] Check the result of getAsCXXRecordDecl() to fix the build
>
> I'm not 100% sure what should happen here to find the real
> CXXRecordDecl.
You need to not try this on dependent types.
John.
More information about the cfe-commits
mailing list