return OS;
}
-void Use::init(Value *V, User *) {
- Val = V;
- if (V) V->addUse(*this);
-}
-
void Use::set(Value *V) {
if (Val) removeFromList();
Val = V;
return Val.getValueID() == Value::GlobalAliasVal;
}
template <> inline bool isa_impl<GlobalValue, Value>(const Value &Val) {
- return isa<GlobalVariable>(Val) || isa<Function>(Val) || isa<GlobalAlias>(Val);
+ return isa<GlobalVariable>(Val) || isa<Function>(Val) ||
+ isa<GlobalAlias>(Val);
}
} // End llvm namespace