diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-04-05 23:03:24 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-04-05 23:03:24 +0000 |
commit | d36d42d4aca35d15ef946a5f344b89be1baffecf (patch) | |
tree | 4ec41fcc32397fd51e86bcf4744ce2ec665f30d4 /include | |
parent | 493cba1b32ebd4064e56a2387099b790c8c32c0c (diff) | |
download | external_llvm-d36d42d4aca35d15ef946a5f344b89be1baffecf.zip external_llvm-d36d42d4aca35d15ef946a5f344b89be1baffecf.tar.gz external_llvm-d36d42d4aca35d15ef946a5f344b89be1baffecf.tar.bz2 |
Provide an empty virtual destructor to go with the virtual methods in
this class. Clang was warning on this with -Wnon-virtual-dtor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ExecutionEngine/RuntimeDyld.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ExecutionEngine/RuntimeDyld.h b/include/llvm/ExecutionEngine/RuntimeDyld.h index 01fc338..5d6d452 100644 --- a/include/llvm/ExecutionEngine/RuntimeDyld.h +++ b/include/llvm/ExecutionEngine/RuntimeDyld.h @@ -33,6 +33,7 @@ class RTDyldMemoryManager { void operator=(const RTDyldMemoryManager&); // DO NOT IMPLEMENT public: RTDyldMemoryManager() {} + virtual ~RTDyldMemoryManager() {} // Allocate ActualSize bytes, or more, for the named function. Return // a pointer to the allocated memory and update Size to reflect how much |