Switch a cast to a dyn_cast and check the pointer before using. Fixes a crash
in the following code: void test4(bool (&x)(void)) { while (x); } llvm-svn: 145918
Loading
Please register or sign in to comment
in the following code: void test4(bool (&x)(void)) { while (x); } llvm-svn: 145918