================
@@ -2252,7 +2252,7 @@ void Parser::ParseBaseClause(Decl *ClassDecl) {
while (true) {
// Parse a base-specifier.
BaseResult Result = ParseBaseSpecifier(ClassDecl);
- if (Result.isInvalid()) {
+ if (!Result.isUsable()) {
----------------
cor3ntin wrote:
Result can either be invalid, null, or valid - this changes what we do in the
null case, ie we don't want null base classes - does that make sense?
https://github.com/llvm/llvm-project/pull/147213
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits