From: Aaron Ballman Date: Thu, 28 Apr 2022 16:57:07 +0000 (-0400) Subject: Fix "not all control paths return a value" diagnostic; NFC X-Git-Tag: upstream/15.0.7~9128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b687974842d2c3442091681fb4d3008ef5810a7;p=platform%2Fupstream%2Fllvm.git Fix "not all control paths return a value" diagnostic; NFC --- diff --git a/clang/include/clang/AST/RecursiveASTVisitor.h b/clang/include/clang/AST/RecursiveASTVisitor.h index 79e5294..ae6442d 100644 --- a/clang/include/clang/AST/RecursiveASTVisitor.h +++ b/clang/include/clang/AST/RecursiveASTVisitor.h @@ -551,6 +551,7 @@ bool RecursiveASTVisitor::TraverseConceptRequirement( return getDerived().TraverseConceptNestedRequirement( cast(R)); } + llvm_unreachable("unexpected case"); } template