rename getNumParmVarDeclsFromType back to getNumParams(),
remove a special case that was apparently for typeof() and
generalize the code in SemaDecl that handles typedefs to 
handle any sugar type (including typedef, typeof, etc).
Improve comment to make it more clear what is going on.

llvm-svn: 70015
3 files changed
tree: d3480e8146b8f11194513b8ed53f72fad20ad3bd
  1. clang/
  2. llvm/