1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Fix -Wdelete-non-virtual-dtor warnings by making SampleProfile methods non-virtual

llvm-svn: 194568
This commit is contained in:
Alexey Samsonov 2013-11-13 13:09:39 +00:00
parent 7b4e2dda6b
commit 89a2c4d5df

View File

@ -81,10 +81,10 @@ class SampleProfile {
public:
SampleProfile(StringRef F) : Profiles(0), Filename(F) {}
virtual void dump();
virtual void loadText();
virtual void loadNative() { llvm_unreachable("not implemented"); }
virtual bool emitAnnotations(Function &F);
void dump();
void loadText();
void loadNative() { llvm_unreachable("not implemented"); }
bool emitAnnotations(Function &F);
void printFunctionProfile(raw_ostream &OS, StringRef FName);
void dumpFunctionProfile(StringRef FName);