JonasToth added a comment.

@jbcoe and @aaron.ballman i think an valid warning would be if there is another 
check in an `else if` statement. 
so singular `if(enum_value == Enum::Kind)` is still ok, but another branch 
checking on the enum is suspiscious.


Repository:
  rL LLVM

https://reviews.llvm.org/D30896



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to