summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/attr-weakref.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Delay attribute checking until auto types are deducedNico Rieck2014-01-211-1/+3
| | | | | | | | | Checking in ActOnVariableDeclarator computes and caches the linkage using the non-deduced auto type which defaults to external linkage. Depending on how the auto type is deduced linkage can change and conflict with the cached linkage, hitting asserts. llvm-svn: 199774
* Switching the WeakRef attribute to using the new checkStringLiteralArgument ↵Aaron Ballman2013-09-131-0/+2
| | | | | | helper function. llvm-svn: 190719
* Delay linkage checks when validating the weakref attribute.Rafael Espindola2013-01-161-1/+4
| | | | llvm-svn: 172678
* When checking the 'weak' and 'weakref' attributes, look for non-externalJohn McCall2011-02-081-3/+3
| | | | | | | linkage rather than the presence of the 'static' storage class specifier. Fixes rdar://problem/8814626. llvm-svn: 125126
* Fix PR8720 by printing an error message with a substring that the gcc ↵Rafael Espindola2010-12-071-1/+1
| | | | | | testsuite searches for. llvm-svn: 121137
* Add support for the weakref attribute. We still produce "alias weak" as ↵Rafael Espindola2010-02-231-0/+31
llvm-gcc does, but are more strict on what uses of weakref we accept. llvm-svn: 96992
OpenPOWER on IntegriCloud