Skip to content

Commit

Permalink
[OpenCL] Add missing virtual destructor
Browse files Browse the repository at this point in the history
Followup after f9ffe61 ("[OpenCL] Factor out
OpenCLBuiltinFileEmitterBase; NFC", 2021-08-09) introduced a
-Wnon-virtual-dtor warning.
  • Loading branch information
svenvh committed Aug 9, 2021
1 parent d6bf9dc commit 19bd806
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
Expand Up @@ -238,6 +238,7 @@ class OpenCLBuiltinFileEmitterBase {
public:
OpenCLBuiltinFileEmitterBase(RecordKeeper &Records, raw_ostream &OS)
: Records(Records), OS(OS) {}
virtual ~OpenCLBuiltinFileEmitterBase() = default;

// Entrypoint to generate the functions for testing all OpenCL builtin
// functions.
Expand Down

0 comments on commit 19bd806

Please sign in to comment.