Privatize class members.

llvm-svn: 91067
This commit is contained in:
Benjamin Kramer 2009-12-10 21:50:21 +00:00
parent 7a2865a217
commit e9ff5fe2e6
1 changed files with 2 additions and 2 deletions

View File

@ -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 &GTIO, bool Val)
: GreaterThanIsOperator(GTIO), OldGreaterThanIsOperator(GTIO) {
GreaterThanIsOperator = Val;