The warning was caused by r300539.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300542
91177308-0d34-0410-b5e6-
96231b3b80d8
return IsAbstract;
#include "clang/Basic/AttrSubMatchRulesList.inc"
}
+ llvm_unreachable("Invalid attribute subject match rule");
+ return false;
}
static void diagnoseExpectedAttributeSubjectSubRule(
OS << ";\n";
}
OS << " }\n";
- OS << " llvm_unreachable(\"Invalid match rule\");\n";
+ OS << " llvm_unreachable(\"Invalid match rule\");\nreturn false;\n";
OS << "}\n\n";
}