HomePhabricator

[lldb] Add MacroQualified switch cases for r360109

Description

[lldb] Add MacroQualified switch cases for r360109

Summary:
r360109 added a new enum case, causing lldb build to fail with several errors like:
lldb/source/Symbol/ClangASTContext.cpp:4342:11: error: enumeration value 'MacroQualified' not handled in switch [-Werror,-Wswitch]

switch (qual_type->getTypeClass()) {
        ^

This adds the missing switch cases.
I'm not an lldb maintainer and just used my best judgement that it's probably expected that we break in these cases. Feel free to ping / revert / fix this change if this behavior is not appropriate.

Reviewers: gribozavr

Reviewed By: gribozavr

Differential Revision: https://reviews.llvm.org/D61640

Details

Committed
krasimirMay 7 2019, 6:59 AM
Reviewer
gribozavr
Differential Revision
D61640: [lldb] Add MacroQualified switch cases for r360109
Branches
Unknown
Tags
Unknown