Remove unnecessary by-reference return.
authorJim Grosbach <grosbach@apple.com>
Thu, 16 Sep 2010 17:45:21 +0000 (17:45 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 16 Sep 2010 17:45:21 +0000 (17:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114099 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCInst.h

index 2966f0dea6baa4adf779b2d7b1ae8f5ab6ffdf03..622973ead91be7e483c25e09b53437ddd54d5e10 100644 (file)
@@ -75,7 +75,7 @@ public:
     ImmVal = Val;
   }
 
-  const double &getFPImm() const {
+  const double getFPImm() const {
     assert(isFPImm() && "This is not an FP immediate");
     return FPImmVal;
   }