[llvm-commits] [llvm] r55290 - in /llvm/trunk/include/llvm: Assembly/AsmAnnotationWriter.h Value.h
Chris Lattner
sabre at nondot.org
Sun Aug 24 11:38:56 PDT 2008
Author: lattner
Date: Sun Aug 24 13:38:56 2008
New Revision: 55290
URL: http://llvm.org/viewvc/llvm-project?rev=55290&view=rev
Log:
we should use 'class' for non-pod types instead of 'struct' to
make it easier to deal with the VC++ struct/class bug.
Modified:
llvm/trunk/include/llvm/Assembly/AsmAnnotationWriter.h
llvm/trunk/include/llvm/Value.h
Modified: llvm/trunk/include/llvm/Assembly/AsmAnnotationWriter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Assembly/AsmAnnotationWriter.h?rev=55290&r1=55289&r2=55290&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Assembly/AsmAnnotationWriter.h (original)
+++ llvm/trunk/include/llvm/Assembly/AsmAnnotationWriter.h Sun Aug 24 13:38:56 2008
@@ -24,7 +24,8 @@
class Instruction;
class raw_ostream;
-struct AssemblyAnnotationWriter {
+class AssemblyAnnotationWriter {
+public:
virtual ~AssemblyAnnotationWriter();
Modified: llvm/trunk/include/llvm/Value.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Value.h?rev=55290&r1=55289&r2=55290&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Value.h (original)
+++ llvm/trunk/include/llvm/Value.h Sun Aug 24 13:38:56 2008
@@ -36,7 +36,7 @@
template<typename ValueTy> class StringMapEntry;
typedef StringMapEntry<Value*> ValueName;
class raw_ostream;
-struct AssemblyAnnotationWriter;
+class AssemblyAnnotationWriter;
//===----------------------------------------------------------------------===//
// Value Class
More information about the llvm-commits
mailing list