OSDN Git Service

'Pass' should now not be derived from by clients. Instead, they should derive
authorChris Lattner <sabre@nondot.org>
Mon, 20 Sep 2004 04:47:19 +0000 (04:47 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 20 Sep 2004 04:47:19 +0000 (04:47 +0000)
commitbba61c07ddca19f72b13dd5a410358d296ed1d6a
tree500ab2ba4e68aeb3c885e2d2eaa032b4691aed4f
parent68d033cc94d64c49aa442b3990386f95f95d5637
'Pass' should now not be derived from by clients.  Instead, they should derive
from ModulePass.  Instead of implementing Pass::run, then should implement
ModulePass::runOnModule.

Also, fix some undefined behavior, expecting | on booleans to evaluate
left-to-right.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16435 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Pass.cpp