[msan] Fix a few compilation warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168878 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evgeniy Stepanov 2012-11-29 13:12:03 +00:00
parent 323c3acf51
commit 2ea25f2f1c

View File

@ -186,8 +186,8 @@ private:
/// \brief An empty volatile inline asm that prevents callback merge.
InlineAsm *EmptyAsm;
friend class MemorySanitizerVisitor;
friend class VarArgAMD64Helper;
friend struct MemorySanitizerVisitor;
friend struct VarArgAMD64Helper;
};
} // namespace
@ -336,6 +336,8 @@ struct VarArgHelper {
/// This method is called after visiting all interesting (see above)
/// instructions in a function.
virtual void finalizeInstrumentation() = 0;
virtual ~VarArgHelper() {}
};
struct MemorySanitizerVisitor;