diff options
-rw-r--r-- | include/llvm/Assembly/AsmAnnotationWriter.h | 3 | ||||
-rw-r--r-- | include/llvm/Value.h | 2 |
2 files changed, 3 insertions, 2 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(); diff --git a/include/llvm/Value.h b/include/llvm/Value.h index b86d1374eb..ceb1ad246d 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -36,7 +36,7 @@ class TypeSymbolTable; template<typename ValueTy> class StringMapEntry; typedef StringMapEntry<Value*> ValueName; class raw_ostream; -struct AssemblyAnnotationWriter; +class AssemblyAnnotationWriter; //===----------------------------------------------------------------------===// // Value Class |