diff options
author | Gabor Marton <martongabesz@gmail.com> | 2019-01-07 14:05:19 +0000 |
---|---|---|
committer | Gabor Marton <martongabesz@gmail.com> | 2019-01-07 14:05:19 +0000 |
commit | 3081690c84a185ed308013dc421e4e44cfd20c78 (patch) | |
tree | 0565e6c1ac18fc36539b4c832cee7b258cfcf6c7 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | 90f4b94da3bc48c6645fa15d8060f72d9a443449 (diff) | |
download | bcm5719-llvm-3081690c84a185ed308013dc421e4e44cfd20c78.tar.gz bcm5719-llvm-3081690c84a185ed308013dc421e4e44cfd20c78.zip |
[CTU] Make loadExternalAST return with non nullptr on success
Summary:
In loadExternalAST we return with either an error or with a valid
ASTUnit pointer which should not be a nullptr.
This prevents in the call site any superfluous check for being a nullptr.
Reviewers: xazax.hun, a_sidorin, Szelethus, balazske
Subscribers: rnkovacs, dkrupp, gamesh411, cfe-commits
Differential Revision: https://reviews.llvm.org/D55280
llvm-svn: 350521
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions