Skip to content
Commit 5f623229 authored by Richard Trieu's avatar Richard Trieu
Browse files

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
parent 5e2192ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment