llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Mike Rice (mikerice1969) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/71596.diff 1 Files Affected: - (modified) clang/include/clang/AST/StmtOpenMP.h (+1-1) ``````````diff diff --git a/clang/include/clang/AST/StmtOpenMP.h b/clang/include/clang/AST/StmtOpenMP.h index 2725747e051e728..62164339153573c 100644 --- a/clang/include/clang/AST/StmtOpenMP.h +++ b/clang/include/clang/AST/StmtOpenMP.h @@ -994,7 +994,7 @@ class OMPLoopTransformationDirective : public OMPLoopBasedDirective { unsigned getNumAssociatedLoops() const { return getLoopsNumber(); } /// Return the number of loops generated by this loop transformation. - unsigned getNumGeneratedLoops() { return NumGeneratedLoops; } + unsigned getNumGeneratedLoops() const { return NumGeneratedLoops; } /// Get the de-sugared statements after the loop transformation. /// `````````` </details> https://github.com/llvm/llvm-project/pull/71596 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits