From: James Y Knight Date: Fri, 1 Jan 2016 01:12:48 +0000 (+0000) Subject: [TrailingObjects] Fix "Convert classes in OpenMPClause.h" for MSVC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f67bb92df4793771375b3eb756ae99e6365812ec;p=clang [TrailingObjects] Fix "Convert classes in OpenMPClause.h" for MSVC "friend class OMPVarListClause" -> "friend OMPVarListClause". It's a template, not a class. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256684 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/OpenMPClause.h b/include/clang/AST/OpenMPClause.h index 56548ebb98..7632a4b356 100644 --- a/include/clang/AST/OpenMPClause.h +++ b/include/clang/AST/OpenMPClause.h @@ -1156,7 +1156,7 @@ class OMPPrivateClause final : public OMPVarListClause, private llvm::TrailingObjects { friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; friend class OMPClauseReader; /// \brief Build clause with number of variables \a N. /// @@ -1252,7 +1252,7 @@ class OMPFirstprivateClause final : public OMPVarListClause, private llvm::TrailingObjects { friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; friend class OMPClauseReader; /// \brief Build clause with number of variables \a N. @@ -1393,7 +1393,7 @@ class OMPLastprivateClause final // lastprivate clause. // friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; friend class OMPClauseReader; /// \brief Build clause with number of variables \a N. @@ -1565,7 +1565,7 @@ class OMPSharedClause final : public OMPVarListClause, private llvm::TrailingObjects { friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; /// \brief Build clause with number of variables \a N. /// /// \param StartLoc Starting location of the clause. @@ -1629,7 +1629,7 @@ class OMPReductionClause final : public OMPVarListClause, private llvm::TrailingObjects { friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; friend class OMPClauseReader; /// \brief Location of ':'. SourceLocation ColonLoc; @@ -1835,7 +1835,7 @@ class OMPLinearClause final : public OMPVarListClause, private llvm::TrailingObjects { friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; friend class OMPClauseReader; /// \brief Modifier of 'linear' clause. OpenMPLinearClauseKind Modifier; @@ -2059,7 +2059,7 @@ class OMPAlignedClause final : public OMPVarListClause, private llvm::TrailingObjects { friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; friend class OMPClauseReader; /// \brief Location of ':'. SourceLocation ColonLoc; @@ -2160,7 +2160,7 @@ class OMPCopyinClause final // implicit threads. friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; friend class OMPClauseReader; /// \brief Build clause with number of variables \a N. /// @@ -2310,7 +2310,7 @@ class OMPCopyprivateClause final : public OMPVarListClause, private llvm::TrailingObjects { friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; friend class OMPClauseReader; /// \brief Build clause with number of variables \a N. /// @@ -2463,7 +2463,7 @@ class OMPFlushClause final : public OMPVarListClause, private llvm::TrailingObjects { friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; /// \brief Build clause with number of variables \a N. /// /// \param StartLoc Starting location of the clause. @@ -2527,7 +2527,7 @@ class OMPDependClause final : public OMPVarListClause, private llvm::TrailingObjects { friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; friend class OMPClauseReader; /// \brief Dependency type (one of in, out, inout). OpenMPDependClauseKind DepKind; @@ -2734,7 +2734,7 @@ public: class OMPMapClause final : public OMPVarListClause, private llvm::TrailingObjects { friend TrailingObjects; - friend class OMPVarListClause; + friend OMPVarListClause; friend class OMPClauseReader; /// \brief Map type modifier for the 'map' clause.