diff options
author | Raphael Isemann <teemperor@gmail.com> | 2020-01-14 11:35:57 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2020-01-14 12:04:24 +0100 |
commit | 9492e9d8cfd356109276da5aa926b297db0e16db (patch) | |
tree | 0fda8c7bee98528f844df9dcf088c41ccd0741ca /lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py | |
parent | 5a6eae3dea2342c2a83e4502de43927808f8ca21 (diff) | |
download | bcm5719-llvm-9492e9d8cfd356109276da5aa926b297db0e16db.tar.gz bcm5719-llvm-9492e9d8cfd356109276da5aa926b297db0e16db.zip |
[lldb][NFC] Cleanup ClangASTContext::CompleteTagDeclarationDefinition
Makes this function exit early instead of nesting if statements.
Also removed all the if (tag_type->getDecl()) checks. If we created
a TagType with a nullptr as a Decl then Clang would have already
deferenced that nullptr during TagType creation so there is no point
in gracefully handling a nullptr here.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py')
0 files changed, 0 insertions, 0 deletions