]> granicus.if.org Git - clang/commit
PR18551: accepts invalid strong enum to bool when operator! is used
authorAlp Toker <alp@nuanti.com>
Mon, 20 Jan 2014 07:20:22 +0000 (07:20 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 20 Jan 2014 07:20:22 +0000 (07:20 +0000)
commite936a1d13511058c2def779525b4fbba3f2ee6be
tree074af2a9c6c52aaded284107d7a0f93ffd0d59a4
parent6ff751e7df135f689e1d19af6bd5d9f1e27e1bbc
PR18551: accepts invalid strong enum to bool when operator! is used

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