History log of /external/clang/test/SemaCXX/unused.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
84c3b9745f813a784b5d8ce77f2785750523d9eb 23-Oct-2012 Matt Beaumont-Gay <matthewbg@google.com> Fix -Wunused-value to not warn on expressions that have unresolved lookups due
to dependent arguments.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166468 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/unused.cpp
6319917b5021e9602389b49ca4f245d235e9b90a 25-Sep-2012 Eli Friedman <eli.friedman@gmail.com> Handle C++ functional casts in a similar way to C-style casts in
unused expression warnings. <rdar://problem/12359208>.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/unused.cpp
4059da87fa2fe9f415c9656dc63e75d5d4a489ef 24-May-2012 Eli Friedman <eli.friedman@gmail.com> 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.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/unused.cpp
a6115068cde719142eb394db88612c185cabd05b 24-May-2012 Eli Friedman <eli.friedman@gmail.com> 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>.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/unused.cpp
6a0166edea84e6abccce393c15e3dee7b96f7eb6 16-Jan-2010 Douglas Gregor <dgregor@apple.com> Improve the test for unused-expression warnings slightly

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93644 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/unused.cpp
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/unused.cpp
852871abbff45f1c1d3787755a27fce08365b166 29-Apr-2009 Eli Friedman <eli.friedman@gmail.com> PR4103: Silence bogus unused expression warning.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/unused.cpp