llvm-project/clang/test
Chris Lattner a21ad8058a Fix several bugs in array -> pointer decomposition.
First, we got several CVR propagation cases wrong, which Eli pointed
out in PR2039.

Second, we didn't propagate address space qualifiers correctly, leading
to incorrect lowering of code in CodeGen/address-space.c.

Third, we didn't uniformly propagate the specifier in the array to the
pointer ("int[restrict 4]" -> "int *restrict").

This adds an ASTContext::getArrayDecayedType member that handles the 
non-trivial logic for this seemingly simple operation.

llvm-svn: 49078
2008-04-02 05:18:44 +00:00
..
Analysis Added path-sensitive check for return statements that return the address 2008-03-31 15:02:58 +00:00
Analysis-Apple Expanded NSString checking to check for nil for a few more methods. 2008-03-27 22:05:32 +00:00
CodeGen Fix several bugs in array -> pointer decomposition. 2008-04-02 05:18:44 +00:00
Lexer Fix PR2090, a typo in digraph processing. 2008-02-24 19:05:57 +00:00
Misc Removed option "-parse-ast-check" from clang driver. This is now implemented 2007-09-26 20:14:22 +00:00
Parser implement simple support for arbitrary token lookahead. Change the 2008-03-10 06:06:04 +00:00
Preprocessor fix this test. 2008-03-22 00:07:50 +00:00
Rewriter Only have the rewriter produce a file when there are no errors. 2008-03-28 22:26:09 +00:00
Sema Fix several bugs in array -> pointer decomposition. 2008-04-02 05:18:44 +00:00
Serialization Added "complex.c" (a copy of test/Codegen/complex.) to the serialization 2007-11-29 19:05:51 +00:00
Makefile Added test case for static analyzer to detect uses of uninitialized pointers as receivers in Objective-C message expressions. 2008-03-26 21:51:44 +00:00
Makefile.parallel Added test case for static analyzer to detect uses of uninitialized pointers as receivers in Objective-C message expressions. 2008-03-26 21:51:44 +00:00
TestRunner.sh The newest version of valgrind, 3.3.0, no longer appends PIDs to log filenames 2008-03-23 03:42:18 +00:00