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.
Paths
| Differential D70001
[lldb][NFC] Refactor some IsClangType checks in ClangASTContext ClosedPublic Authored by teemperor on Nov 8 2019, 3:02 AM.
Details
Summary All type in these functions need be valid and Clang types, so Also lets IsClangType explicitly check for validity instead of
Diff Detail
Event TimelineClosed by commit rG79b3cce7f143: [lldb][NFC] Refactor some IsClangType checks in ClangASTContext (authored by teemperor). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 228399 lldb/source/Symbol/ClangASTContext.cpp
lldb/source/Symbol/ClangUtil.cpp
|