summaryrefslogtreecommitdiff
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-24 18:38:56 +0000
committerChris Lattner <sabre@nondot.org>2008-08-24 18:38:56 +0000
commit42387462303a8eb917569305d5390c8da64ac82f (patch)
tree7c3f9e3e105562167665476b64baa6107c6a3234 /include/llvm/Assembly
parent5a1c68c776076047060a6c7228520528539ba93b (diff)
downloadllvm-42387462303a8eb917569305d5390c8da64ac82f.tar.gz
llvm-42387462303a8eb917569305d5390c8da64ac82f.tar.bz2
llvm-42387462303a8eb917569305d5390c8da64ac82f.tar.xz
we should use 'class' for non-pod types instead of 'struct' to
make it easier to deal with the VC++ struct/class bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55290 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r--include/llvm/Assembly/AsmAnnotationWriter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Assembly/AsmAnnotationWriter.h b/include/llvm/Assembly/AsmAnnotationWriter.h
index b254940722..6c3ddaf7d0 100644
--- a/include/llvm/Assembly/AsmAnnotationWriter.h
+++ b/include/llvm/Assembly/AsmAnnotationWriter.h
@@ -24,7 +24,8 @@ class BasicBlock;
class Instruction;
class raw_ostream;
-struct AssemblyAnnotationWriter {
+class AssemblyAnnotationWriter {
+public:
virtual ~AssemblyAnnotationWriter();