diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-07 14:22:23 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-07 14:22:23 +0000 |
commit | 3175fa5139ca7478fc42be60fa4c3eba1144b859 (patch) | |
tree | 6daf926d00a64c00c831b08f8a19f72442347a1b /clang/test/Analysis/array-struct.c | |
parent | c118934d12a0c1ad36902908a2d8b89602db1239 (diff) | |
download | bcm5719-llvm-3175fa5139ca7478fc42be60fa4c3eba1144b859.tar.gz bcm5719-llvm-3175fa5139ca7478fc42be60fa4c3eba1144b859.zip |
Properly deserialize ParamInfo of FunctionDecl.
When allocating an array for ParamInfo, the "decl->getNumParams()" call was used, but this will return 0 since it checks ParamInfo (which isn't yet defined and is null).
The result was that ParamInfo got an array of zero length to hold the ParmVarDecls.
llvm-svn: 58850
Diffstat (limited to 'clang/test/Analysis/array-struct.c')
0 files changed, 0 insertions, 0 deletions