Alternative version of D94973. Instead of a new AST node of kind OMPCanonicalLoop that acts as parent of a ForStmt or CXXForRangeStmt, introduce a new superclass for both classes for storying the properties for an OpenMP canonical loop.
This was suggested by @ABataev following the same approach taken in D83261 for directives. In this patch, the equivalent of OMPChildren is LoopChildren and the class corresponding to OMPExecutableDirective is MaybeCanonicalLoopStmt.
clang-tidy: error: unknown type name 'DeclRefExpr' [clang-diagnostic-error]
not useful
clang-tidy: error: unknown type name 'DeclRefExpr' [clang-diagnostic-error]
not useful