[llvm] r184593 - [objc-arc-opts] Make IsTrackingImpreciseReleases a const method.
Michael Gottesman
mgottesman at apple.com
Fri Jun 21 13:52:50 PDT 2013
Author: mgottesman
Date: Fri Jun 21 15:52:49 2013
New Revision: 184593
URL: http://llvm.org/viewvc/llvm-project?rev=184593&view=rev
Log:
[objc-arc-opts] Make IsTrackingImpreciseReleases a const method.
Thanks to Bill Wendling for pointing this out!
Modified:
llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
Modified: llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp?rev=184593&r1=184592&r2=184593&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ObjCARCOpts.cpp Fri Jun 21 15:52:49 2013
@@ -542,7 +542,7 @@ namespace {
RRI.IsTailCallRelease = NewValue;
}
- bool IsTrackingImpreciseReleases() {
+ bool IsTrackingImpreciseReleases() const {
return RRI.ReleaseMetadata != 0;
}
More information about the llvm-commits
mailing list