[llvm] r271044 - Fix compilation with GCC, which treats this as a constructor name not a type

Richard Smith via llvm-commits llvm-commits at lists.llvm.org
Fri May 27 14:05:35 PDT 2016


Author: rsmith
Date: Fri May 27 16:05:35 2016
New Revision: 271044

URL: http://llvm.org/viewvc/llvm-project?rev=271044&view=rev
Log:
Fix compilation with GCC, which treats this as a constructor name not a type
name. (GCC is correct here per the latest language DRs.)

Modified:
    llvm/trunk/lib/Fuzzer/FuzzerTraceState.cpp

Modified: llvm/trunk/lib/Fuzzer/FuzzerTraceState.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerTraceState.cpp?rev=271044&r1=271043&r2=271044&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerTraceState.cpp (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerTraceState.cpp Fri May 27 16:05:35 2016
@@ -175,7 +175,7 @@ static bool RecordingMemcmp = false;
 class TraceState {
  public:
   TraceState(MutationDispatcher &MD, const Fuzzer::FuzzingOptions &Options,
-             const Fuzzer::Fuzzer *F)
+             const Fuzzer *F)
       : MD(MD), Options(Options), F(F) {}
 
   LabelRange GetLabelRange(dfsan_label L);




More information about the llvm-commits mailing list