Replace a bunch of duplicate conditions with the call from types::.

llvm-svn: 254986
1 file changed