summaryrefslogtreecommitdiff
path: root/include/clang/AST
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2019-08-27 11:35:49 +0000
committerBruno Ricci <riccibrun@gmail.com>2019-08-27 11:35:49 +0000
commit48d573c2e13904741c9505d513bf5156eab512b8 (patch)
tree85bcc409d8f314c519f7de197a388343b7830503 /include/clang/AST
parentea608fd0e435f69e736170345071ab09681f7510 (diff)
downloadclang-48d573c2e13904741c9505d513bf5156eab512b8.tar.gz
[clang] Ensure that statements, expressions and types are trivially destructible
Since statements, expressions and types are allocated with the BumpPtrAllocator from ASTContext their destructor is not executed. Two classes are currently exempted from the check : InitListExpr due to its ASTVector and ConstantArrayType due to its APInt. No functional changes. Differential Revision: https://reviews.llvm.org/D66646 Reviewed By: lebedev.ri, gribozavr git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST')
0 files changed, 0 insertions, 0 deletions