summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Decl.cpp
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2015-09-30 14:04:23 +0000
committerJames Y Knight <jyknight@google.com>2015-09-30 14:04:23 +0000
commit48fefa3724c0d85b49dc78afd9b7c29ab560d190 (patch)
treeae1f9cdaccc2ec9b81bbca76bbcd0231132a3e89 /clang/lib/AST/Decl.cpp
parent867a93824629589b07c9634897d7726942d58c50 (diff)
downloadbcm5719-llvm-48fefa3724c0d85b49dc78afd9b7c29ab560d190.tar.gz
bcm5719-llvm-48fefa3724c0d85b49dc78afd9b7c29ab560d190.zip
Fix FunctionParmPackExpr::Create() to take a ParmVarDecl* array.
FunctionParmPackExpr actually stores an array of ParmVarDecl* (and accessors return that). But, the FunctionParmPackExpr::Create() constructor accepted an array of Decl *s instead. It was easy for this mismatch to occur without any obvious sign of something wrong, since both the store and the access used independent 'reinterpet_cast<XX>(this+1)' calls. llvm-svn: 248905
Diffstat (limited to 'clang/lib/AST/Decl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud