================ @@ -9406,6 +9406,14 @@ StmtResult TreeTransform<Derived>::TransformOMPInformationalDirective( D->getBeginLoc(), D->getEndLoc()); } +template <typename Derived> +StmtResult TreeTransform<Derived>::TransformOMPCompoundRootDirective( + OMPCompoundRootDirective *D) { + // This function should never be found in a template. Directive splitting + // only happens in non-template functions. + llvm_unreachable("TransformOMPCompoundRootDirective in a template"); ---------------- jdoerfert wrote:
I'm not sure llvm_unreachable is the right kind of error here. Maybe it is. Is there precedent? https://github.com/llvm/llvm-project/pull/118878 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits