Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
7121bdb91b86f6053765bda18dd0a8a118929ace
/
test
/
SemaCXX
/
unused.cpp
84c3b97
Fix -Wunused-value to not warn on expressions that have unresolved lookups due
by Matt Beaumont-Gay
· 12 years ago
6319917
Handle C++ functional casts in a similar way to C-style casts in
by Eli Friedman
· 12 years ago
4059da8
A minor tweak to the new volatile lvalue warning: don't warn on "(void)x", where "x" refers to a local variable. This should silence a useless warning in compiler-rt and other places.
by Eli Friedman
· 12 years ago
a611506
Add a warning to diagnose statements in C++ like "*(volatile int*)x;". Conceptually, this is part of -Wunused-value, but I added a separate flag -Wunused-volatile-lvalue so it doesn't get turned off by accident with -Wno-unused-value. I also made a few minor improvements to existing unused value warnings in the process. <rdar://problem/11516811>.
by Eli Friedman
· 12 years ago
6a0166e
Improve the test for unused-expression warnings slightly
by Douglas Gregor
· 15 years ago
a572887
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
by Daniel Dunbar
· 15 years ago
852871a
PR4103: Silence bogus unused expression warning.
by Eli Friedman
· 15 years ago