diff options
author | Fangrui Song <i@maskray.me> | 2021-09-01 01:12:32 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-09-01 01:12:32 -0700 |
commit | 4852c770fe8703145dd2a35395985646ce57a454 (patch) | |
tree | 7327ce18868073992b65278e89d4b0f6351f14c3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 85fd44d7fef628004c7efd066cc38edb309875b6 (diff) | |
download | llvm-4852c770fe8703145dd2a35395985646ce57a454.zip llvm-4852c770fe8703145dd2a35395985646ce57a454.tar.gz llvm-4852c770fe8703145dd2a35395985646ce57a454.tar.bz2 |
[SCEV] Fix GCC -Wnon-virtual-dtor
SCEVPredicate has a friend declaration. The friend can technically call the
protected destructor, so the warning is legitimate. Clang simply doesn't implement
the friend check.
Make the dtor virtual to fix the issue.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions