aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorBalazs Keri <1.int32@gmail.com>2019-08-14 09:41:39 +0000
committerBalazs Keri <1.int32@gmail.com>2019-08-14 09:41:39 +0000
commitc50959431928097bbd675ff3a2346813982db176 (patch)
tree9d2eb3ce3260be37992ecd05c4a85a204b0966f3 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent967583bc087c035fdc4422d05be1030eecf2b241 (diff)
downloadllvm-c50959431928097bbd675ff3a2346813982db176.zip
llvm-c50959431928097bbd675ff3a2346813982db176.tar.gz
llvm-c50959431928097bbd675ff3a2346813982db176.tar.bz2
[ASTImporter] Import default expression of param before creating the param.
Summary: The default expression of a parameter variable should be imported before the parameter variable object is created. Otherwise the function is created with an incomplete parameter variable (default argument is nullptr) and in this intermediary state the expression is imported. This import can have a reference to the incomplete parameter variable that causes crash. Reviewers: martong, a.sidorin, shafik Reviewed By: martong Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D65577 llvm-svn: 368818
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions