summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/array-struct.c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-11-07 14:22:23 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-11-07 14:22:23 +0000
commit3175fa5139ca7478fc42be60fa4c3eba1144b859 (patch)
tree6daf926d00a64c00c831b08f8a19f72442347a1b /clang/test/Analysis/array-struct.c
parentc118934d12a0c1ad36902908a2d8b89602db1239 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud