[llvm] r266153 - LTOInternalize: Fix member type, should be a reference and not a copy

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 16:58:30 PDT 2016


Author: mehdi_amini
Date: Tue Apr 12 18:58:30 2016
New Revision: 266153

URL: http://llvm.org/viewvc/llvm-project?rev=266153&view=rev
Log:
LTOInternalize: Fix member type, should be a reference and not a copy

From: Mehdi Amini <mehdi.amini at apple.com>

Modified:
    llvm/trunk/lib/LTO/LTOInternalize.cpp

Modified: llvm/trunk/lib/LTO/LTOInternalize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/LTO/LTOInternalize.cpp?rev=266153&r1=266152&r2=266153&view=diff
==============================================================================
--- llvm/trunk/lib/LTO/LTOInternalize.cpp (original)
+++ llvm/trunk/lib/LTO/LTOInternalize.cpp Tue Apr 12 18:58:30 2016
@@ -48,7 +48,7 @@ public:
 private:
   // Inputs
   const StringSet<> &MustPreserveSymbols;
-  const StringSet<> AsmUndefinedRefs;
+  const StringSet<> &AsmUndefinedRefs;
   const TargetMachine &TM;
 
   // Temps




More information about the llvm-commits mailing list