diff options
Diffstat (limited to 'clang/lib/AST/OpenMPClause.cpp')
| -rw-r--r-- | clang/lib/AST/OpenMPClause.cpp | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/clang/lib/AST/OpenMPClause.cpp b/clang/lib/AST/OpenMPClause.cpp index 791df7e..59d9459 100644 --- a/clang/lib/AST/OpenMPClause.cpp +++ b/clang/lib/AST/OpenMPClause.cpp @@ -124,6 +124,7 @@ const OMPClauseWithPreInit *OMPClauseWithPreInit::get(const OMPClause *C) {    case OMPC_nowait:    case OMPC_untied:    case OMPC_mergeable: +  case OMPC_threadset:    case OMPC_threadprivate:    case OMPC_groupprivate:    case OMPC_flush: @@ -2035,6 +2036,13 @@ void OMPClausePrinter::VisitOMPDefaultClause(OMPDefaultClause *Node) {    OS << ")";  } +void OMPClausePrinter::VisitOMPThreadsetClause(OMPThreadsetClause *Node) { +  OS << "threadset(" +     << getOpenMPSimpleClauseTypeName(OMPC_threadset, +                                      unsigned(Node->getThreadsetKind())) +     << ")"; +} +  void OMPClausePrinter::VisitOMPProcBindClause(OMPProcBindClause *Node) {    OS << "proc_bind("       << getOpenMPSimpleClauseTypeName(OMPC_proc_bind, | 
