diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2020-08-11 13:49:11 +0200 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2020-08-11 13:49:57 +0200 |
commit | 031738a5611843674d5f739e739e8a386d5e741b (patch) | |
tree | 08dd66d0f10593214e4e04a2715c63dede350b6e /lldb/source/Commands/CommandObjectWatchpoint.cpp | |
parent | 91bd9db2cdbc12176c3a058d407ef58ced30ea23 (diff) | |
download | llvm-031738a5611843674d5f739e739e8a386d5e741b.zip llvm-031738a5611843674d5f739e739e8a386d5e741b.tar.gz llvm-031738a5611843674d5f739e739e8a386d5e741b.tar.bz2 |
[AST][RecoveryExpr] Don't preserve the return type if the FunctionDecl is invalid.
If a functionDecl is invalid (e.g. return type cannot be formed), int is
use as he fallback type, which may lead to some bogus diagnostics.
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D85714
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpoint.cpp')
0 files changed, 0 insertions, 0 deletions