Changeset View
Changeset View
Standalone View
Standalone View
clang/include/clang/AST/RecursiveASTVisitor.h
//===--- RecursiveASTVisitor.h - Recursive AST Visitor ----------*- C++ -*-===// | //===--- RecursiveASTVisitor.h - Recursive AST Visitor ----------*- C++ -*-===// | ||||
Lint: Lint: clang-format not found in user's PATH; not linting file. | |||||
// | // | ||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||
// See https://llvm.org/LICENSE.txt for license information. | // See https://llvm.org/LICENSE.txt for license information. | ||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
▲ Show 20 Lines • Show All 2,818 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
DEF_TRAVERSE_STMT(OMPParallelDirective, | DEF_TRAVERSE_STMT(OMPParallelDirective, | ||||
{ TRY_TO(TraverseOMPExecutableDirective(S)); }) | { TRY_TO(TraverseOMPExecutableDirective(S)); }) | ||||
DEF_TRAVERSE_STMT(OMPSimdDirective, | DEF_TRAVERSE_STMT(OMPSimdDirective, | ||||
{ TRY_TO(TraverseOMPExecutableDirective(S)); }) | { TRY_TO(TraverseOMPExecutableDirective(S)); }) | ||||
DEF_TRAVERSE_STMT(OMPTileDirective, | |||||
{ TRY_TO(TraverseOMPExecutableDirective(S)); }) | |||||
DEF_TRAVERSE_STMT(OMPForDirective, | DEF_TRAVERSE_STMT(OMPForDirective, | ||||
{ TRY_TO(TraverseOMPExecutableDirective(S)); }) | { TRY_TO(TraverseOMPExecutableDirective(S)); }) | ||||
DEF_TRAVERSE_STMT(OMPForSimdDirective, | DEF_TRAVERSE_STMT(OMPForSimdDirective, | ||||
{ TRY_TO(TraverseOMPExecutableDirective(S)); }) | { TRY_TO(TraverseOMPExecutableDirective(S)); }) | ||||
DEF_TRAVERSE_STMT(OMPSectionsDirective, | DEF_TRAVERSE_STMT(OMPSectionsDirective, | ||||
{ TRY_TO(TraverseOMPExecutableDirective(S)); }) | { TRY_TO(TraverseOMPExecutableDirective(S)); }) | ||||
▲ Show 20 Lines • Show All 224 Lines • ▼ Show 20 Lines | |||||
template <typename Derived> | template <typename Derived> | ||||
bool RecursiveASTVisitor<Derived>::VisitOMPSimdlenClause(OMPSimdlenClause *C) { | bool RecursiveASTVisitor<Derived>::VisitOMPSimdlenClause(OMPSimdlenClause *C) { | ||||
TRY_TO(TraverseStmt(C->getSimdlen())); | TRY_TO(TraverseStmt(C->getSimdlen())); | ||||
return true; | return true; | ||||
} | } | ||||
template <typename Derived> | template <typename Derived> | ||||
bool RecursiveASTVisitor<Derived>::VisitOMPSizesClause(OMPSizesClause *C) { | |||||
for (Expr *E : C->getSizesRefs()) | |||||
TRY_TO(TraverseStmt(E)); | |||||
return true; | |||||
} | |||||
template <typename Derived> | |||||
bool | bool | ||||
RecursiveASTVisitor<Derived>::VisitOMPCollapseClause(OMPCollapseClause *C) { | RecursiveASTVisitor<Derived>::VisitOMPCollapseClause(OMPCollapseClause *C) { | ||||
TRY_TO(TraverseStmt(C->getNumForLoops())); | TRY_TO(TraverseStmt(C->getNumForLoops())); | ||||
return true; | return true; | ||||
} | } | ||||
template <typename Derived> | template <typename Derived> | ||||
bool RecursiveASTVisitor<Derived>::VisitOMPDefaultClause(OMPDefaultClause *) { | bool RecursiveASTVisitor<Derived>::VisitOMPDefaultClause(OMPDefaultClause *) { | ||||
▲ Show 20 Lines • Show All 534 Lines • Show Last 20 Lines |
clang-format not found in user's PATH; not linting file.