We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef3771 commit 76cff3bCopy full SHA for 76cff3b
clang/include/clang/Sema/SemaConcept.h
@@ -257,6 +257,7 @@ struct NormalizedConstraint {
257
case ConstraintKind::FoldExpanded:
258
return FoldExpanded.Pattern->getBeginLoc();
259
}
260
+ llvm_unreachable("Unknown ConstraintKind enum");
261
262
263
SourceLocation getEndLoc() const {
@@ -270,6 +271,7 @@ struct NormalizedConstraint {
270
271
272
return FoldExpanded.Pattern->getEndLoc();
273
274
275
276
277
SourceRange getSourceRange() const { return {getBeginLoc(), getEndLoc()}; }
0 commit comments