]> granicus.if.org Git - clang/commit
Instantiate the BlockDecl in ActOnBlockStart() so we can use it as a DeclContext.
authorSteve Naroff <snaroff@apple.com>
Wed, 8 Oct 2008 18:44:00 +0000 (18:44 +0000)
committerSteve Naroff <snaroff@apple.com>
Wed, 8 Oct 2008 18:44:00 +0000 (18:44 +0000)
commit1c90bfcbd7ff5d09694acf50a32dbb716a968b61
treeadb881fc2943d084c4dad033518cda4192a60897
parente0a798ef0f13995d5f2128dd11a20f8af2d62d6a
Instantiate the BlockDecl in ActOnBlockStart() so we can use it as a DeclContext.
This required changes to attach the compound statement later on (like we do for functions).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57304 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
lib/AST/Decl.cpp
lib/Sema/Sema.h
lib/Sema/SemaExpr.cpp