| commit | 79413956d48b07c17b9600b8433089c0784b9fd6 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Thu Dec 04 23:50:19 2008 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Thu Dec 04 23:50:19 2008 +0000 |
| tree | 7d322436f511e0aaa753f424d90ab0d609ce2aee | |
| parent | 2ca529ce61f63caed2484b7ee19018df63d7cd12 [diff] |
change getCurFunctionDecl to skip through Block contexts to find the containing block. Introduce a new getCurFunctionOrMethodDecl method to check to see if we're in a function or objc method. Minor cleanups to other related places. This fixes rdar://6405429. llvm-svn: 60564