OSDN Git Service

cmake: disable -Wnon-virtual-dtor when it gives false positives
authorDylan Noblesmith <nobled@dreamwidth.org>
Sat, 23 Aug 2014 21:10:56 +0000 (21:10 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Sat, 23 Aug 2014 21:10:56 +0000 (21:10 +0000)
commit136fd4c7e245447783fb49b430d3dc6ee2a7d65e
treeecbd2f760aa0de75e1062c9739b28aa578409723
parent8eb867e97d880b958b96dcc57b92076acf1d625f
cmake: disable -Wnon-virtual-dtor when it gives false positives

clang has only been smart enough not to trigger -Wnon-virtual-dtor
warnings on final classes since r208449 (in clang 3.5). Building
with older versions is extremely noisy, so disable the warning
on those compilers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216327 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake