]> granicus.if.org Git - llvm/commit
[IR] Implement pairs of non-const and const methods using the const version instead...
authorCraig Topper <craig.topper@gmail.com>
Mon, 27 Mar 2017 05:47:03 +0000 (05:47 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 27 Mar 2017 05:47:03 +0000 (05:47 +0000)
commit306a7df3fbd488f2db5f585e79fd14c650153d47
treeed10154c40486c005e9ca1e57dda6b05b5661434
parent4f2f5a394ae8aafc89bfcdb6185b784d8fb5f5da
[IR] Implement pairs of non-const and const methods using the const version instead of the non-const version. NFCI

This removes a const_cast of the this pointer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298831 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Constant.h
include/llvm/IR/GlobalIndirectSymbol.h
include/llvm/IR/GlobalValue.h
include/llvm/IR/Module.h
include/llvm/IR/ModuleSummaryIndex.h
include/llvm/IR/User.h
include/llvm/IR/Value.h
lib/IR/Globals.cpp
lib/IR/Module.cpp
lib/IR/Value.cpp