Torok Edwin d24931632b Add an assert to catch user errors like:
MyFunctionPass() : FunctionPass(ID) {}

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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58518 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-31 17:27:41 +00:00
..
2008-10-16 20:18:31 +00:00
2008-10-15 22:55:03 +00:00
2008-10-16 20:18:31 +00:00
2008-10-17 08:31:36 +00:00
2008-10-28 06:20:17 +00:00