Improve our handling of the -Wunused-variable warning in templates. In
particular, don't complain about unused variables that have dependent type until instantiation time, so that we can look at the type of the variable. Moreover, only complain about unused variables that have neither a user-declared constructor nor a non-trivial destructor. llvm-svn: 103362
Loading
Please register or sign in to comment