Make the getNamedFunction and getNamedGlobal methods be const. They don't
authorReid Spencer <rspencer@reidspencer.com>
Wed, 31 May 2006 16:40:28 +0000 (16:40 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 31 May 2006 16:40:28 +0000 (16:40 +0000)
commit0b2375edfe6b32f361b3fe19c5c26bddc041fabb
tree7351934b047cb721d6d3d5645f3a2e46190674e2
parente2e83c99947eef71d0c2d2877a2a3f58f54a58d9
Make the getNamedFunction and getNamedGlobal methods be const. They don't
change the module in any way and we should enforce that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28588 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Module.h
lib/VMCore/Module.cpp