]> granicus.if.org Git - clang/commit
Do not crash with -serialize.
authorNico Weber <nicolasweber@gmx.de>
Sun, 10 Aug 2008 19:20:05 +0000 (19:20 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 10 Aug 2008 19:20:05 +0000 (19:20 +0000)
commitbe1eb5c9194a4b465e55f7f3920cbee2d94952b0
treedac6d3a1c690279f4cfa04e8ac002e699864ab33
parent76de9d7a32b16246e2acd0d1ecd7355faceb4901
Do not crash with -serialize.

This happened because seralization was done in the constructor, and at that time the TranslationUnit is no longer valid.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54618 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/ASTConsumers.cpp