diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-11-08 12:03:28 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-11-08 12:03:28 +0100 |
commit | 79b3cce7f143ebcbc57a3c4599cbd7a1541a742b (patch) | |
tree | 728db97291fadafb882b75de559e299c278d098c /lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c | |
parent | 0a8bd77e7741b36248c4af73d05f659fb8e4d8a6 (diff) | |
download | bcm5719-llvm-79b3cce7f143ebcbc57a3c4599cbd7a1541a742b.tar.gz bcm5719-llvm-79b3cce7f143ebcbc57a3c4599cbd7a1541a742b.zip |
[lldb][NFC] Refactor some IsClangType checks in ClangASTContext
Summary:
All type in these functions need be valid and Clang types, so
we might as well replace these checks with IsClangType.
Also lets IsClangType explicitly check for validity instead of
assuming that the TypeSystem is a nullptr.
Subscribers: abidh, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70001
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c')
0 files changed, 0 insertions, 0 deletions