[llvm] r229180 - [dsymutil] constify trivial function.
Frederic Riss
friss at apple.com
Fri Feb 13 15:18:27 PST 2015
Author: friss
Date: Fri Feb 13 17:18:27 2015
New Revision: 229180
URL: http://llvm.org/viewvc/llvm-project?rev=229180&view=rev
Log:
[dsymutil] constify trivial function.
Modified:
llvm/trunk/tools/dsymutil/DwarfLinker.cpp
Modified: llvm/trunk/tools/dsymutil/DwarfLinker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/DwarfLinker.cpp?rev=229180&r1=229179&r2=229180&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/DwarfLinker.cpp (original)
+++ llvm/trunk/tools/dsymutil/DwarfLinker.cpp Fri Feb 13 17:18:27 2015
@@ -34,7 +34,7 @@ public:
Info.resize(OrigUnit.getNumDIEs());
}
- DWARFUnit &getOrigUnit() { return OrigUnit; }
+ DWARFUnit &getOrigUnit() const { return OrigUnit; }
DIEInfo &getInfo(unsigned Idx) { return Info[Idx]; }
const DIEInfo &getInfo(unsigned Idx) const { return Info[Idx]; }
More information about the llvm-commits
mailing list