Re: r249639 - Make clang_Cursor_getMangling not mangle if the declaration isn't mangled

2015-10-07 Thread Craig Topper via cfe-commits
FYI, this caused a -Wdeclaration-after-statement warning that I fixed in r249652. On Wed, Oct 7, 2015 at 5:01 PM, Ehsan Akhgari via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: ehsan > Date: Wed Oct 7 19:01:20 2015 > New Revision: 249639 > > URL: http://llvm.org/viewvc/llvm-project

r249639 - Make clang_Cursor_getMangling not mangle if the declaration isn't mangled

2015-10-07 Thread Ehsan Akhgari via cfe-commits
Author: ehsan Date: Wed Oct 7 19:01:20 2015 New Revision: 249639 URL: http://llvm.org/viewvc/llvm-project?rev=249639&view=rev Log: Make clang_Cursor_getMangling not mangle if the declaration isn't mangled Right now clang_Cursor_getMangling will attempt to mangle any declaration, even if the decl