Fix operator precedence.

llvm-svn: 62038
This commit is contained in:
Sebastian Redl 2009-01-11 13:39:06 +00:00
parent ba3dc38840
commit f70b683e89
1 changed files with 1 additions and 1 deletions

View File

@ -2999,7 +2999,7 @@ Sema::DeclTy *Sema::ActOnTag(Scope *S, unsigned TagType, TagKind TK,
// Find the scope where we'll be declaring the tag.
while (S->isClassScope() ||
(getLangOptions().CPlusPlus && S->isFunctionPrototypeScope()) ||
(S->getFlags() & Scope::DeclScope == 0))
((S->getFlags() & Scope::DeclScope) == 0))
S = S->getParent();
}