hanchenye-llvm-project/clang/test
Ted Kremenek 3b204e4c2e Add some basic type checking for attributes ns_returns_retained and
cf_returns_retained. Currently this attribute can now be applied to any
Objective-C method or C function that returns a pointer or Objective-C object
type.

Modify the tablegen definition of diagnostic 'warn_attribute_wrong_decl_type' to
expect that the diagnostics infrastructure will add quotes around the attribute
name when appropriate. Alonq with this change, I modified the places where this
warning is issued to passed the attribute's IdentifierInfo* instead of having a
hard-coded C constant string.

llvm-svn: 71718
2009-05-13 21:07:32 +00:00
..
Analysis Add some basic type checking for attributes ns_returns_retained and 2009-05-13 21:07:32 +00:00
CodeGen ABI handling: Fix invalid assertion, it is possible for a valid 2009-05-13 18:54:26 +00:00
CodeGenCXX push GlobalDecl through enough of the CodeGenModule interfaces 2009-05-12 21:21:08 +00:00
CodeGenObjC Patch to implement ivar synthesis of properties declared in protocols 2009-05-12 18:14:29 +00:00
Coverage remove obsolete tests. 2009-04-22 22:06:26 +00:00
Driver Test for x86 target features, I forgot to commit this. 2009-05-11 23:06:15 +00:00
FixIt Fixed the Fix-It hints for comparison against a string literal. Thanks, Chris! 2009-04-06 18:45:53 +00:00
Frontend Fixed the test. 2009-04-10 22:09:52 +00:00
Lexer accept "#pragma clang foo" where we accept "#pragma GCC foo". 2009-05-12 18:21:11 +00:00
Misc adjust this to bourne shell syntax 2009-05-06 06:00:28 +00:00
PCH Make precompiled headers work with -E. When we're only preprocessing 2009-05-12 01:31:05 +00:00
Parser Refactor the parsing of declarations so that template declarations can 2009-05-12 21:31:51 +00:00
Preprocessor Fix rdar://6880630 - # in _Pragma does not start a preprocessor directive. 2009-05-13 06:10:29 +00:00
Rewriter Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
Sema Fix <rdar://problem/6880975> [format string] Assertion failed: (Arg < NumArgs && "Arg access out of range!"). 2009-05-13 16:06:05 +00:00
SemaCXX Disable access control by default. It can be enabled with the -faccess-control option. When we have better support for it, we can enable it by default again. 2009-05-13 19:49:53 +00:00
SemaObjC Changed wording of warning when attribute is on 2009-05-13 00:47:33 +00:00
SemaObjCXX Improve handling of (X86) target features. 2009-05-06 03:16:41 +00:00
SemaTemplate Explicit instantiations of templates now instantiate the definitions 2009-05-13 20:28:22 +00:00
Makefile Update to account for the great driver renaming. 2009-03-25 17:56:16 +00:00
TestRunner.sh If stderr isn't a terminal, don't try to guess the terminal width or 2009-05-06 21:28:42 +00:00