]> granicus.if.org Git - clang/commit
Empty the CtorLists/DtorLists once emitted.
authorVassil Vassilev <v.g.vassilev@gmail.com>
Thu, 27 Oct 2016 09:12:20 +0000 (09:12 +0000)
committerVassil Vassilev <v.g.vassilev@gmail.com>
Thu, 27 Oct 2016 09:12:20 +0000 (09:12 +0000)
commit926caf25d5ae278d9570309e562133a970cc80db
tree274a90b5fa148e0ae6c4a44d9271b830fa0c5469
parentf8e31c9bb6dc5e8a1b51f56ff675ebdbf92fcf16
Empty the CtorLists/DtorLists once emitted.

This is essential when clang is running in incremental processing mode because
we don't want to reemit the 'tors over and over again.

Patch by Axel Naumann!

Reviewed by Richard Smith and me. (https://reviews.llvm.org/D25605)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285277 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h