]> granicus.if.org Git - clang/commit
When we transform a C++ exception declaration (e.g., for template
authorDouglas Gregor <dgregor@apple.com>
Thu, 14 Apr 2011 22:32:28 +0000 (22:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 14 Apr 2011 22:32:28 +0000 (22:32 +0000)
commitefdf988611c1eb02770643cd3fabd5df2f579353
treefe09f3ac8c71672b57c13a5ce279b164c0ab7454
parentad762fcdc16b9e4705b12b09d92b8c026212b906
When we transform a C++ exception declaration (e.g., for template
instantiation), be sure to add the transformed declaration into the
current DeclContext. Also, remove the -Wuninitialized hack that works
around this bug. Fixes <rdar://problem/9200676>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129544 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/UninitializedValues.cpp
lib/Sema/TreeTransform.h