Commit Graph

2 Commits

Author SHA1 Message Date
Marcel Hlopko
bde9c3b683 [cxx-interop] Fix header guards in test/Interop (#35039) 2020-12-15 09:20:19 +01:00
zoecarver
05faa07c48 [cxx-interop] Support bool-based enums.
This is a small fix to prevent a crash. This change simply adds another
condition for the "bool" branch that checks if "type" is associated with
a "clang::EnumDecl" with an underlying type of "bool", and if so, treats
"type" as a "Bool".
2020-10-24 23:08:59 -07:00