aboutsummaryrefslogtreecommitdiff
path: root/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
commitdc5ddbf7de0862ebc4aef9c60be953ca80a62ff2 (patch)
tree648869598256d8d7d826b86ac173763896b14dcb /test/Analysis/array-struct.c
parentff6ec3903630fa3b97477cf3474b55170eab0164 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
0 files changed, 0 insertions, 0 deletions