OSDN Git Service

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)
commite95d304fd362e68e985c9624ce5503099f63a3ee
tree86765a10de25c6339e518fe213cc541f8555a31f
parent15766ec56623c80fa9771fc15e8f468fd4b77e6c
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".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254592 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp