Use 'class' instead of 'struct'.

llvm-svn: 91085
This commit is contained in:
Zhongxing Xu 2009-12-11 00:55:44 +00:00
parent afd1edb52e
commit 1239de1592
1 changed files with 2 additions and 1 deletions

View File

@ -22,10 +22,11 @@ using namespace clang;
namespace {
struct RefState {
class RefState {
enum Kind { Allocated, Released, Escaped } K;
const Stmt *S;
public:
RefState(Kind k, const Stmt *s) : K(k), S(s) {}
bool isAllocated() const { return K == Allocated; }