9f939f75c64770c746d78579f75a49f9c657e426 |
|
30-Jul-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Replacing err_attribute_argument_not_int with err_attribute_not_type_attr git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187419 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
73883c3d9bf1a03e5c0240e5a8755d5bea07c386 |
|
23-Jul-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Removed a redundant diagnostic and replaced it with a more standard one. Added a test case for the diagnostic. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
d29e24f24e9a130431eafefa42c36be8e7a597de |
|
04-Jul-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Add test for PR4997. This has been fixed for a while. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
34b0adb52f1528fb03313bdd5fd73632c11fc678 |
|
26-Feb-2013 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
Fix assertion failure when a field is given an address space. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176122 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
020972d5d6dc1f3c49839cfbadcccf4cbefb2f4d |
|
27-Jul-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Forbid address-space-qualified function types, per TR 18037 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136257 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
40249e7487c3314f185c63302aaad9edde6dfd53 |
|
02-Feb-2011 |
John McCall <rjmccall@apple.com> |
When diagnosing address-space changes, apply array-to-pointer decay first. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124702 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
86c05f3f28bcf07c97dfb1881686fc43be2f47c2 |
|
01-Feb-2011 |
John McCall <rjmccall@apple.com> |
Perform the bad-address-space conversions check as part of CheckPointerTypesForAssignment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
58f9e13e87e57236fee4b914eea9be6f92a1c345 |
|
05-Sep-2010 |
Chris Lattner <sabre@nondot.org> |
make clang print types as "const int *" instead of "int const*", which is should have done from the beginning. As usual, the most fun with this sort of change is updating all the testcases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
27f46ee38d9a6a28cf0438218a198a9da1cee5d6 |
|
09-Jul-2010 |
Douglas Gregor <dgregor@apple.com> |
Refer to implicit "conversions" rather than implicit "casts", which don't technically exist in the language. <rdar://problem/8085982> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107995 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
d4eea8362605807327735727a9098abe1eb23b19 |
|
09-Apr-2010 |
Douglas Gregor <dgregor@apple.com> |
Improve diagnostics when we fail to convert from a source type to a destination type for initialization, assignment, parameter-passing, etc. The main issue fixed here is that we used rather confusing wording for diagnostics such as t.c:2:9: warning: initializing 'char const [2]' discards qualifiers, expected 'char *' [-pedantic] char *name = __func__; ^ ~~~~~~~~ We're not initializing a 'char const [2]', we're initializing a 'char *' with an expression of type 'char const [2]'. Similar problems existed for other diagnostics in this area, so I've normalized them all with more precise descriptive text to say what we're initializing/converting/assigning/etc. from and to. The warning for the code above is now: t.c:2:9: warning: initializing 'char *' from an expression of type 'char const [2]' discards qualifiers [-pedantic] char *name = __func__; ^ ~~~~~~~~ Fixes <rdar://problem/7447179>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100832 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.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/address_spaces.c
|
27a84d01614609c094029a49f7a86f0f7f8fe7f1 |
|
30-Sep-2009 |
Tanya Lattner <tonic@nondot.org> |
Add an error for function parameters that have a qualified address space since this is not allowed by the embedded c extension spec. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83165 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
0953e767ff7817f97b3ab20896b229891eeff45b |
|
24-Sep-2009 |
John McCall <rjmccall@apple.com> |
Refactor the representation of qualifiers to bring ExtQualType out of the Type hierarchy. Demote 'volatile' to extended-qualifier status. Audit our use of qualifiers and fix a few places that weren't dealing with qualifiers quite right; many more remain. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82705 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
efadb7768e7c7418185f5a4010ecd8b21ca9731b |
|
28-Jul-2009 |
John McCall <rjmccall@apple.com> |
Bounds checking for address spaces. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77303 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
ecca7536488e425417dcb005c39cc15ae1947aab |
|
13-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
fix rdar://6774906, a crash handling implicit conversions between pointers in different address spaces. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68941 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.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/address_spaces.c
|
35d276f443462249b436951c1c663820569e1768 |
|
27-Feb-2009 |
Chris Lattner <sabre@nondot.org> |
upgrade various 'implicit int' warnings from an ext-warn to warning when not in C89 mode. This makes it enabled by default instead of only enabled with -pedantic. Clang defaults to c99 mode, so people will see this more often than with GCC, but they can always use -std=c89 if they really want c89. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
863ea9aa73c0e7f19694ab7d618debbcde3e4157 |
|
12-Jan-2009 |
Chris Lattner <sabre@nondot.org> |
testcase that works now with r62061 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
8e7dafec4b70303dfaff95151cd06bfc5532720c |
|
25-Mar-2008 |
Nate Begeman <natebegeman@mac.com> |
Extend QualType::getAddressSpace to do the right thing for array types, and in the future, RecordTypes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48784 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
c8e89a8ce5057750c338854085dca26f8d3136ac |
|
14-Mar-2008 |
Nate Begeman <natebegeman@mac.com> |
Correctly error on arrays with automatic storage full of objects with non-default address space, and fix comment. Add a test for this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
5af27e02917089dd107c58c1cfdb064544010773 |
|
14-Mar-2008 |
Nate Begeman <natebegeman@mac.com> |
ISO/IEC TR 18037 An address space name cannot be used to qualify an object that has automatic storage duration. Still not catching ASQual'd allocas of array type, just scalars at the moment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48350 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|
7380466f2e9a5c835344454444cd3ad89ccca6e6 |
|
21-Feb-2008 |
Chris Lattner <sabre@nondot.org> |
add some semantic checks for address spaces. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47423 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/address_spaces.c
|