[llvm] r344927 - [llvm-exegesis] Fix name lookup ambiguity in MSVC after 344922

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 22 10:52:31 PDT 2018


Author: maskray
Date: Mon Oct 22 10:52:31 2018
New Revision: 344927

URL: http://llvm.org/viewvc/llvm-project?rev=344927&view=rev
Log:
[llvm-exegesis] Fix name lookup ambiguity in MSVC after 344922

Modified:
    llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.cpp

Modified: llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.cpp?rev=344927&r1=344926&r2=344927&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.cpp (original)
+++ llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.cpp Mon Oct 22 10:52:31 2018
@@ -75,7 +75,7 @@ private:
         llvm::CrashRecoveryContext::Enable();
         const bool Crashed = !CRC.RunSafely([this, &Counter, ScratchPtr]() {
           Counter.start();
-          Function(ScratchPtr);
+          this->Function(ScratchPtr);
           Counter.stop();
         });
         llvm::CrashRecoveryContext::Disable();




More information about the llvm-commits mailing list