History log of /external/clang/test/Sema/attr-deprecated.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
176edba5311f6eff0cad2631449885ddf4fbc9ea 01-Dec-2014 Stephen Hines <srhines@google.com> Update aosp/master Clang for rebase to r222490.

Change-Id: Ic557ac55e97fbf6ee08771c7b7c3594777b0aefd
/external/clang/test/Sema/attr-deprecated.c
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/test/Sema/attr-deprecated.c
9ec4099a0946a46108a8e22a4b30d45d5443decd 16-Jul-2013 Eli Friedman <eli.friedman@gmail.com> Merge attributes on typedef decls.

Not completely sure this is right, but it's clearly better than what
we did before this commit (effectively dropping the attribute).

<rdar://problem/14413117>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186373 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
f66a0dda541cd859a928193efba6dc5d7ba8fe54 09-Aug-2012 Eli Friedman <eli.friedman@gmail.com> Handle deprecation diagnostics correctly for C struct fields and Objective-C properties/ivars. <rdar://problem/6642337>.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161534 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
c3b2308f66fe8abd2c1a911b500c0b989c295819 08-Aug-2012 Eli Friedman <eli.friedman@gmail.com> Unify the codepaths for emitting deprecation warnings. The test changes are just to account for us emitting notes more consistently.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161528 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
350e956532d99ce2e804a478df5b6f1f5e096d88 27-May-2012 Fariborz Jahanian <fjahanian@apple.com> -Wdeprecated warning to include reference (as a note)
to the declaration in this patch. // rdar://10893232


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157537 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
fc038e9ef8ed262724f42597ca5c844de97b1202 17-Dec-2011 Eli Friedman <eli.friedman@gmail.com> Remove a non-gcc-compatible extension that would apply attributes on declarations without a declarator to structs. Add a warning for ignored attributes. Patch by Michael Han.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146796 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
39b4fc888d2b9b8fe1a9c982964b5054ba1c3c73 28-Nov-2011 Fariborz Jahanian <fjahanian@apple.com> pinpoint name/location of deprecated/unavailable enumerator
whose enum has been made deprecated/unavailable in the warning.
// rdar://10201690


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145264 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
97db7265ac1993e14e5877292e23d5ed2e9cf719 29-Sep-2011 Fariborz Jahanian <fjahanian@apple.com> c - Enumerators may inherit the deprecated/unavailable
attributes from the enumeration type.
// rdar://10201690


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
54001c1e6a87b792b0711b822def2b1bfe1ad4a1 29-Jun-2011 Douglas Gregor <dgregor@apple.com> Check for deprecated/unavailable/etc attributes on fields that are
initialized via initializer lists. Fixes <rdar://problem/9694686>.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
4820908be98f340a4c2a563a622ae693a7219c50 08-Nov-2010 John McCall <rjmccall@apple.com> Document Clang's support for attributes on individual enumerators and
tweak the documentation for deprecation-with-message. Provide __has_feature
tests for both. rdar://problem/8605692



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
5b629aa86c987f276d00453b6c9ab8424f7903fe 23-Oct-2010 John McCall <rjmccall@apple.com> Parse attributes on enumerators and instantiate attributes on enum decls.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117182 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
7d5c45ed9dc2842ce8e65ea26ced0957be36a569 08-Jul-2010 Chandler Carruth <chandlerc@gmail.com> Add support for differentiating between attributes ignored when handled and
unknown attributes that we discard. Add a diagnostic group for unknown
attribute warnings to allow turning these off when we don't care. Also
consolidates the tests for this case.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
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/Sema/attr-deprecated.c
54abf7d4fa3123b8324c09d2a4dfb789fd818403 04-Nov-2009 John McCall <rjmccall@apple.com> Change our basic strategy for avoiding deprecation warnings when the decl use
appears in a deprecated context. In the new strategy, we emit the warnings
as usual unless we're currently parsing a declaration, where "declaration" is
restricted to mean a decl group or a few special cases in Objective C. If
we *are* parsing a declaration, we queue up the deprecation warnings until
the declaration has been completely parsed, and then emit them only if the
decl is not deprecated.
We also standardize the bookkeeping for deprecation so as to avoid special cases.




git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
523382640e9b099dd64ba0875a60a9356845b068 25-Oct-2009 Chris Lattner <sabre@nondot.org> Implement rdar://6756623 - use of deprecated type in deprecated typedef should not warn


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
d451f836be2d2839f6ac87181c5a52f4f6be397e 25-Oct-2009 Chris Lattner <sabre@nondot.org> When parsing a top level struct declaration, make sure to
process decl attributes instead of dropping them on the floor.
This allows us to diagnose cases like the testcase. Also don't
diagnose deprecated stuff in ActOnTag: not all uses of tags
may be 'uses', and SemaType does this now.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85071 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
1eb4433ac451dc16f4133a88af2d002ac26c58ef 09-Sep-2009 Mike Stump <mrs@apple.com> Remove tabs, and whitespace cleanups.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename clang to clang-cc.

Tests and drivers updated, still need to shuffle dirs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
22bd905673a73ccb9b5e45a7038ec060c9650ffe 16-Feb-2009 Chris Lattner <sabre@nondot.org> diagnose uses of deprecated typenames and tags.
We now pass all the deprecation tests in the objc.dg suite.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64679 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
553905db4c758883345efa3c4c07e1dba2c74a2f 16-Feb-2009 Chris Lattner <sabre@nondot.org> add support for deprecated objc ivars.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
cfdff38e8e931c0020dff10a32221d8fedb287a6 16-Feb-2009 Chris Lattner <sabre@nondot.org> Add support for deprecated members of RecordDecls (e.g. struct fields).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64634 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
61a0f17301f889260de739219c3e1d4c8039210e 15-Feb-2009 Chris Lattner <sabre@nondot.org> allow implementations of deprecated functions to use deprecated symbols.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64572 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
4238254b9846589e401019349badbad9aa8b6fe6 14-Feb-2009 Chris Lattner <sabre@nondot.org> new tests, it would be nice to not warn on the second one.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64549 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
b235caa53b6743fda9f749a8218760c024e4cf9e 13-Feb-2009 Anders Carlsson <andersca@mac.com> Start warning about unknown attributes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64447 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c
f37da0ea0e25f66b122fe2e73c2ea04dcb2cd253 26-Jun-2008 Chris Lattner <sabre@nondot.org> rename some attr tests for consistency.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-deprecated.c