]> granicus.if.org Git - clang/commit
Fix for http://llvm.org/PR23392: magick/feature.c from ImageMagick-6.9.1-2 ICEs.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 7 May 2015 06:28:46 +0000 (06:28 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 7 May 2015 06:28:46 +0000 (06:28 +0000)
commitf681a19b9cee2d6c1db6ef3d8155077562988dd4
treed803acf8f6d3886369a01afc31c714a5fbcfd229
parentb1d02281465ea055ad641be3461777715024f58d
Fix for http://llvm.org/PR23392: magick/feature.c from ImageMagick-6.9.1-2 ICEs.
Fix for codegen of static variables declared inside of captured statements. Captured statements are actually a transparent DeclContexts, so we have to skip them when trying to get a mangled name for statics.
Differential Revision: http://reviews.llvm.org/D9522

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236701 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp
test/CodeGen/captured-statements.c
test/CodeGenCXX/captured-statements.cpp