Skip to content
Commit 58683755 authored by Dmitri Gribenko's avatar Dmitri Gribenko
Browse files

Allow the warning 'case value not in enumerated type' to be silenced with

the following pattern.

If 'case' expression refers to a static const variable of the correct enum
type, then we count this as a sufficient declaration of intent by the user,
so we silence the warning.

llvm-svn: 196546
parent ae945121
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment