[llvm] r345244 - [llvm-exegesis] Fix warning in r345243.

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 25 01:06:36 PDT 2018


Author: courbet
Date: Thu Oct 25 01:06:35 2018
New Revision: 345244

URL: http://llvm.org/viewvc/llvm-project?rev=345244&view=rev
Log:
[llvm-exegesis] Fix warning in r345243.

warning C4099: 'llvm::exegesis::PfmCountersInfo': type name first seen using 'class' now seen using 'struct'

Modified:
    llvm/trunk/tools/llvm-exegesis/lib/LlvmState.h

Modified: llvm/trunk/tools/llvm-exegesis/lib/LlvmState.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-exegesis/lib/LlvmState.h?rev=345244&r1=345243&r2=345244&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/LlvmState.h (original)
+++ llvm/trunk/tools/llvm-exegesis/lib/LlvmState.h Thu Oct 25 01:06:35 2018
@@ -30,7 +30,7 @@ namespace llvm {
 namespace exegesis {
 
 class ExegesisTarget;
-class PfmCountersInfo;
+struct PfmCountersInfo;
 
 // An object to initialize LLVM and prepare objects needed to run the
 // measurements.




More information about the llvm-commits mailing list