Mark the methods in the Mangler const.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 10 Feb 2014 21:25:13 +0000 (21:25 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 10 Feb 2014 21:25:13 +0000 (21:25 +0000)
commit4822c5fa52bcc581ac54046b1f5f28be6159bb4e
tree0cf6621dbc19cf4c342d6def39a19bb61f2e8ca7
parentb89b11926cfdfdb853bb0aeae76c5de834934be4
Mark the methods in the Mangler const.

A const ObjectFile needs to be able to provide its name. For an IRObjectFile,
that means being able to call the mangler. Since each IRObjectFile can have
a different mangling, it is natural for them to contain a Mangler which is
therefore also const.

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