[cfe-commits] r91067 - /cfe/trunk/lib/Parse/RAIIObjectsForParser.h
Benjamin Kramer
benny.kra at googlemail.com
Thu Dec 10 13:50:22 PST 2009
Author: d0k
Date: Thu Dec 10 15:50:21 2009
New Revision: 91067
URL: http://llvm.org/viewvc/llvm-project?rev=91067&view=rev
Log:
Privatize class members.
Modified:
cfe/trunk/lib/Parse/RAIIObjectsForParser.h
Modified: cfe/trunk/lib/Parse/RAIIObjectsForParser.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/RAIIObjectsForParser.h?rev=91067&r1=91066&r2=91067&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/RAIIObjectsForParser.h (original)
+++ cfe/trunk/lib/Parse/RAIIObjectsForParser.h Thu Dec 10 15:50:21 2009
@@ -66,10 +66,10 @@
/// \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;
More information about the cfe-commits
mailing list