llvm-undname: Correctly demangle vararg parameters
authorNico Weber <nicolasweber@gmx.de>
Tue, 4 Jun 2019 19:10:08 +0000 (19:10 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 4 Jun 2019 19:10:08 +0000 (19:10 +0000)
commit1dce82636c9241b8208abe05ba02e499424338d5
tree93eadc38febf04b3d0f32bf609b6fff79168dcf5
parent463854846853c3e4e099d31c51edec18e00730c0
llvm-undname: Correctly demangle vararg parameters

FunctionSignatureNode already had an IsVariadic field,
but it wasn't used anywhere yet. Set it and use it.

llvm-svn: 362541
llvm/include/llvm/Demangle/MicrosoftDemangle.h
llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
llvm/lib/Demangle/MicrosoftDemangle.cpp
llvm/lib/Demangle/MicrosoftDemangleNodes.cpp
llvm/test/Demangle/ms-basic.test