commit | 25cc0b9d0ddc1abe0342afb30c6934f9fa632265 | [log] [tgz] |
---|---|---|
author | Argiris Kirtzidis <akyrtzi@gmail.com> | Tue Jul 14 03:18:53 2009 +0000 |
committer | Argiris Kirtzidis <akyrtzi@gmail.com> | Tue Jul 14 03:18:53 2009 +0000 |
tree | ef0faab3169dd174072cf97696286b723f446caa | |
parent | 8eb9fefdba0e9765422aaffcebb485077ece8e32 [diff] |
Fixes for a couple of things: - Declaration context of ParmVarDecls (that we got from the Declarator) was not their containing function. - C++ out-of-line method definitions didn't get an access specifier. Both were exposed by a crash when emitting a C++ method to a PCH file (assert at Decl::CheckAccessDeclContext()). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75597 91177308-0d34-0410-b5e6-96231b3b80d8