[lldb] Add MacroQualified switch cases for r360109
authorKrasimir Georgiev <krasimir@google.com>
Tue, 7 May 2019 13:59:30 +0000 (13:59 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Tue, 7 May 2019 13:59:30 +0000 (13:59 +0000)
commit435e76a558b324ecb77dac417663e1f7f49695c9
tree789a95553dbdda580b2fca9c36ff5f0839c3cf42
parent54743d5767f0e6f996ea9ff7ec47fdecfbfdb8ac
[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

llvm-svn: 360146
lldb/source/Symbol/ClangASTContext.cpp