Skip to content

Commit

Permalink
[OpenMP] Add a missing 'const' (NFC) (#71596)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikerice1969 committed Nov 8, 2023
1 parent b85fdc4 commit 182b7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/include/clang/AST/StmtOpenMP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit 182b7e6

Please sign in to comment.