added special treatment for nested function for clang
Merge pull request #69 from Kontinuation/master

added special treatment for nested function for clang