summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/visibility.c
Commit message (Collapse)AuthorAgeFilesLines
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-18/+18
| | | | | | tests fail. llvm-svn: 188447
* Test that attribute(availability) doesn't override private_extern.John McCall2013-02-231-0/+7
| | | | | | rdar://12399248 llvm-svn: 175943
* Unbreak private_extern, which apparently we had zero tests for.John McCall2010-11-021-0/+14
| | | | llvm-svn: 118034
* When computing visibility, use the latest declaration's explicit visibilityJohn McCall2010-10-281-0/+7
| | | | | | | | attribute. Part of rdar://problem/8595231 llvm-svn: 117526
* A couple of tweaks to the visibility rules: John McCall2010-10-261-24/+32
| | | | | | | | | | | - tags with C linkage should ignore visibility=hidden - functions and variables with explicit visibility attributes should ignore the linkage of their types Either of these should be sufficient to fix PR8457. Also, FileCheck-ize a test case. llvm-svn: 117351
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-3/+3
| | | | | | | | | - 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). llvm-svn: 91446
* Use '-FOO' 'BAR' instead of '-FOO=BAR' for FOO in -stack-protector, ↵Daniel Dunbar2009-11-291-3/+3
| | | | | | -fvisibility, and -fconstant-string-class. llvm-svn: 90072
* Remove RUN: true lines.Daniel Dunbar2009-11-081-1/+0
| | | | llvm-svn: 86432
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-24/+24
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* MultiTestRunner: Validate '&&' at the end of RUN lines.Daniel Dunbar2009-07-251-1/+1
| | | | | | | | - This is just to normalize, these will go away soon hopefully. Added all the missing '&&'s that have crept in. :) llvm-svn: 77062
* Internal variables could mistakenly have "hidden" visibility whenDaniel Dunbar2009-04-101-1/+12
| | | | | | | | their emission was deferred. - <rdar://problem/6775234> variables with internal linkage should not be exposed with -fvisibility=hidden. llvm-svn: 68818
* Visibility attributes should only be set on definition.Daniel Dunbar2009-04-071-0/+30
llvm-svn: 68561
OpenPOWER on IntegriCloud