Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
395228fdc343df39c2507e414dc1406a185c6d37
/
test
/
SemaCXX
/
warn-unused-value.cpp
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
5a7120c
When emitting a diagnostic about two-phase name lookup, don't do useless
by Nick Lewycky
· 12 years ago
6e52183
Fix a QoI bug with overloaded operators inside macros.
by Matt Beaumont-Gay
· 13 years ago
0faede6
Improve the unused-value check to look into comma expressions and filter out
by John McCall
· 14 years ago