From 648d846e4f140c30ab9d322870ea3fdd94debba2 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 10 Dec 2009 21:50:21 +0000 Subject: [PATCH] Privatize class members. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91067 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Parse/RAIIObjectsForParser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Parse/RAIIObjectsForParser.h b/lib/Parse/RAIIObjectsForParser.h index d048f04341..06bbbc23a0 100644 --- a/lib/Parse/RAIIObjectsForParser.h +++ b/lib/Parse/RAIIObjectsForParser.h @@ -66,10 +66,10 @@ namespace clang { /// \brief RAII object that makes '>' behave either as an operator /// or as the closing angle bracket for a template argument list. - struct GreaterThanIsOperatorScope { + class GreaterThanIsOperatorScope { bool &GreaterThanIsOperator; bool OldGreaterThanIsOperator; - + public: GreaterThanIsOperatorScope(bool >IO, bool Val) : GreaterThanIsOperator(GTIO), OldGreaterThanIsOperator(GTIO) { GreaterThanIsOperator = Val; -- 2.40.0