Fix PR30440: Initialize FunctionTypeDepth in CXXNameMangler
authorAlex Lorenz <arphaman@gmail.com>
Thu, 6 Oct 2016 09:37:15 +0000 (09:37 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 6 Oct 2016 09:37:15 +0000 (09:37 +0000)
commit7ba609a220bb5755f018cd0740fefcffd8900725
tree47bdd7df5f400dd8124cdf70d5b4a87e87d7de16
parentd3f5af0fe4e786621b9601b1efc4a21f11e52492
Fix PR30440: Initialize FunctionTypeDepth in CXXNameMangler

This commit fixes PR 30440 by initializing CXXNameMangler's FunctionTypeDepth
in the two constructors added in r274222 (The commit that caused this
regression).

rdar://28455269

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

llvm-svn: 283428
clang/lib/AST/ItaniumMangle.cpp
clang/test/CodeGenCXX/mangle-abi-tag.cpp