Fix class SCEVPredicate has virtual functions and accessible non-virtual destructor.
authorAndy Gibbs <andyg1001@hotmail.co.uk>
Thu, 3 Dec 2015 08:20:20 +0000 (08:20 +0000)
committerAndy Gibbs <andyg1001@hotmail.co.uk>
Thu, 3 Dec 2015 08:20:20 +0000 (08:20 +0000)
commit81b1a27e537fe0dd9071c49dc53b427829c4064d
treed37558259e543e481e9211a0118457b89d7d4328
parent9606d19a65254ae2a399895f7db84d788b63f926
Fix class SCEVPredicate has virtual functions and accessible non-virtual destructor.

It is not enough to simply make the destructor virtual since there is a g++ 4.7
issue (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53613) that throws the
error "looser throw specifier for ... overridding ~SCEVPredicate() noexcept".

llvm-svn: 254592
llvm/include/llvm/Analysis/ScalarEvolution.h
llvm/lib/Analysis/ScalarEvolution.cpp