]> granicus.if.org Git - clang/commit
[clang] Ensure that comment classes are trivially destructible
authorBruno Ricci <riccibrun@gmail.com>
Tue, 27 Aug 2019 11:21:00 +0000 (11:21 +0000)
committerBruno Ricci <riccibrun@gmail.com>
Tue, 27 Aug 2019 11:21:00 +0000 (11:21 +0000)
commitea608fd0e435f69e736170345071ab09681f7510
tree82969e717e0f7a6e9f6b5429b4706f1372763445
parentf8a76fe080eda7eb1f3a286713a24f0a9704e31c
[clang] Ensure that comment classes are trivially destructible

As in D66646, these classes are also allocated with a BumpPtrAllocator,
and therefore should be trivially destructible.

Differential Revision: https://reviews.llvm.org/D66722

Reviewed By: Mordante, gribozavr

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370041 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Comment.cpp