]> granicus.if.org Git - clang/commit
Slightly tweak this condition. "isTransparentContext()" was checking whether an
authorNick Lewycky <nicholas@mxc.ca>
Sat, 10 Mar 2012 07:47:07 +0000 (07:47 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 10 Mar 2012 07:47:07 +0000 (07:47 +0000)
commit1659c3758b4b2dbd618aed9ff8d1863f11b1bd9b
tree3a479c4f765fe2e42ee85faee1ec4a9140cb175b
parent8d17681906209923fad4a02d829a857a447f137b
Slightly tweak this condition. "isTransparentContext()" was checking whether an
enum is scoped or not, which is not relevant here. Instead, phrase the loop in
the same terms that the standard uses, instead of this awkward set of
conditions that is *nearly* equal.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152489 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/enum-scoped.cpp