diff options
author | Michael Liao <michael.hliao@gmail.com> | 2019-03-29 03:55:52 +0000 |
---|---|---|
committer | Michael Liao <michael.hliao@gmail.com> | 2019-03-29 03:55:52 +0000 |
commit | ce38992a307908a3b2b97950a3a2a356ab32410d (patch) | |
tree | 7be964708ca96744b13ee52046b7a30e785c8a29 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
parent | 5fddf091879e195d1f3ac83e8384ec1ff2882c23 (diff) | |
download | bcm5719-llvm-ce38992a307908a3b2b97950a3a2a356ab32410d.tar.gz bcm5719-llvm-ce38992a307908a3b2b97950a3a2a356ab32410d.zip |
[Sema] Fix a crash when nonnull checking
Summary:
- If a parameter is used, nonnull checking needs function prototype to
retrieve the corresponding parameter's attributes. However, at the
prototype substitution phase when a template is being instantiated,
expression may be created and checked without a fully specialized
prototype. Under such a scenario, skip nonnull checking on that
argument.
Reviewers: rjmccall, tra, yaxunl
Subscribers: javed.absar, kristof.beyls, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D59900
llvm-svn: 357236
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions