This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Missing virtual destructor in KMPAffinity
ClosedPublic

Authored by grokos on Feb 22 2017, 1:40 PM.

Details

Summary

Class KMPAffinity has virtual functions, therefore it needs a virtual destructor too. If the virtual destructor is missing, the compiler emits a warning, compiling with -Werror makes the compilation fail.

Diff Detail

Repository
rL LLVM

Event Timeline

grokos created this revision.Feb 22 2017, 1:40 PM
This revision is now accepted and ready to land.Feb 22 2017, 2:51 PM
This revision was automatically updated to reflect the committed changes.