Skip to content
Commit 14f232ea authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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
parent 0bbe94d6
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