summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2015-11-23 19:56:46 +0000
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2015-11-23 19:56:46 +0000
commitb5395ff11ac206e9cb3cd5fa97cb14c077e688ff (patch)
treeaf867a9f3e9a12c5f310a4ee03d152eece98b0a1 /lib/CodeGen/CGExprComplex.cpp
parente74abb7de829051f037d567d1cb3221a2bd5aa70 (diff)
downloadclang-b5395ff11ac206e9cb3cd5fa97cb14c077e688ff.tar.gz
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 declaration isn't mangled (extern C). This results in a partially mangled name which isn't useful for much. This patch makes clang_Cursor_getMangling return an empty string if the declaration isn't mangled. Patch by Michael Wu <mwu@mozilla.com>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions