IR: Deduplicate getParent() functions on derived classes of GlobalValue into the...
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 25 Oct 2016 02:54:08 +0000 (02:54 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 25 Oct 2016 02:54:08 +0000 (02:54 +0000)
commitca7664e761c68f9b77b39ad589bdc8c58ad61e0f
tree6edfa13036240b8b9a25626bdea104cbf2a5eb59
parent3364f907836d50482f77c7def3952b09e99caa97
IR: Deduplicate getParent() functions on derived classes of GlobalValue into the base class. NFCI.

llvm-svn: 285050
llvm/include/llvm/IR/Function.h
llvm/include/llvm/IR/GlobalAlias.h
llvm/include/llvm/IR/GlobalIFunc.h
llvm/include/llvm/IR/GlobalValue.h
llvm/include/llvm/IR/GlobalVariable.h
llvm/lib/IR/Function.cpp
llvm/lib/IR/Globals.cpp