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)
commitefedd3aa1b8a295606bb5331ad50b2ce30159d16
tree4e59d26c392bb6369ee38e605dce92d9b71dff27
parent9883d6d2b584f60bb0a91a460c349e85356500e5
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.

llvm-svn: 201113
llvm/include/llvm/IR/Mangler.h
llvm/lib/IR/Mangler.cpp