summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-01-14 11:35:57 +0100
committerRaphael Isemann <teemperor@gmail.com>2020-01-14 12:04:24 +0100
commit9492e9d8cfd356109276da5aa926b297db0e16db (patch)
tree0fda8c7bee98528f844df9dcf088c41ccd0741ca /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parent5a6eae3dea2342c2a83e4502de43927808f8ca21 (diff)
downloadbcm5719-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/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud