[llvm] r204928 - The forward declare should be a struct instead of a class (to be consistent with the definition, as well as to silence an MSVC C4099 warning).

Aaron Ballman aaron at aaronballman.com
Thu Mar 27 07:10:01 PDT 2014


Author: aaronballman
Date: Thu Mar 27 09:10:00 2014
New Revision: 204928

URL: http://llvm.org/viewvc/llvm-project?rev=204928&view=rev
Log:
The forward declare should be a struct instead of a class (to be consistent with the definition, as well as to silence an MSVC C4099 warning).

Modified:
    llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h

Modified: llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h?rev=204928&r1=204927&r2=204928&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h (original)
+++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h Thu Mar 27 09:10:00 2014
@@ -22,7 +22,7 @@
 namespace llvm {
 
 class MCAssembler;
-class MCFixupKindInfo;
+struct MCFixupKindInfo;
 class Target;
 class MCObjectWriter;
 





More information about the llvm-commits mailing list