History log of /external/clang/test/SemaCXX/warn-unused-result.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
33337ca4d89605025818daf83390ab4271d598d9 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master clang for rebase to r235153

Change-Id: Ia94bbcb6da7c75b6e7c2afedd1001094d62a7324
/external/clang/test/SemaCXX/warn-unused-result.cpp
0e2c34f92f00628d48968dfea096d36381f494cb 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master clang for rebase to r230699.

Change-Id: I6a546ab3d4ae37119eebb735e102cca4f80ab520
/external/clang/test/SemaCXX/warn-unused-result.cpp
176edba5311f6eff0cad2631449885ddf4fbc9ea 01-Dec-2014 Stephen Hines <srhines@google.com> Update aosp/master Clang for rebase to r222490.

Change-Id: Ic557ac55e97fbf6ee08771c7b7c3594777b0aefd
/external/clang/test/SemaCXX/warn-unused-result.cpp
a32966fd8474e7a7002f65d32ace6b7e18dee66b 16-Oct-2013 Benjamin Kramer <benny.kra@googlemail.com> Sema: Simplify the check if a method returns an instance of the class.

Just checking if the parent of the method is the same as the return type
should be sufficient. Also fixes PR17587.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-unused-result.cpp
97c81bfaf0b6c90576081c5af7ea22fab6f2b7f9 13-Nov-2012 Kaelyn Uhrain <rikka@google.com> For classes that have the warn_unused_result attribute, don't apply the
attribute to the class' methods even when they return an instance of the
class (e.g. assignment operators).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167873 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-unused-result.cpp
d449c792d98f58277e02c0ddc8330cd9de5f82f5 13-Nov-2012 Kaelyn Uhrain <rikka@google.com> A couple of small fixes to r167783

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-unused-result.cpp
51ceb7bab599ea7d39d290ff5e88e4a1f0f5bc5c 13-Nov-2012 Kaelyn Uhrain <rikka@google.com> Enable C++11 attribute syntax for warn_unused_result and allow it to be
applied to CXXRecordDecls, where functions with that return type will
inherit the warn_unused_result attribute.

Also includes a tiny fix (with no discernable behavior change for
existing code) to re-sync AttributeDeclKind enum and
err_attribute_wrong_decl_type with warn_attribute_wrong_decl_type since
the enum is used with both diagnostic messages to chose the correct
description.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/warn-unused-result.cpp
34d49471e0b6386aefdc0f6bd15e4a4876ce5db1 21-Feb-2011 Chandler Carruth <chandlerc@gmail.com> Clean up the tests for warning about unused function results given the
appropriate attribute. Add a bit more testing that finds a pretty bad
regression (since ~forever) in this warning. Fix it with a nice 2 line
change. =]

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