Skip to content
Commit 38cbc4ba authored by Torok Edwin's avatar Torok Edwin
Browse files

Add an assert to catch user errors like:

MyFunctionPass() : FunctionPass(ID) {}

when the user actually meant to write:
MyFunctionPass() : FunctionPass(&ID) {}

llvm-svn: 58518
parent 7e8202fc
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