commit | b65cf41707d190d5ce3d48b9e5bd2dc9d7b4a4c0 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue May 20 03:56:00 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue May 20 03:56:00 2008 +0000 |
tree | 71f9004f00c463cdbc31c970480efea9a92f12c2 | |
parent | 3bbc1989a38cada2f3ae92a43eb311bf341eeddf [diff] |
Reclaim memory allocated for ParmVarDecl's in FunctionDecl::Destroy. Fixed a bug in ParmVarDecl::param_end(): Handle the case where there are no ParmVarDecls for a FunctionDecl, but its function prototype has formal arguments (can happen with typedefs). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51297 91177308-0d34-0410-b5e6-96231b3b80d8