llvm-project/clang/test
John McCall fc93cf9777 When building types from declarators, instead of building two types (one for
the DeclaratorInfo, one for semantic analysis), just build a single type whose
canonical type will reflect the semantic analysis (assuming the type is
well-formed, of course).

To make that work, make a few changes to the type system:
* allow the nominal pointee type of a reference type to be a (possibly sugared)
  reference type.  Also, preserve the original spelling of the reference type.
  Both of these can be ignored on canonical reference types.
* Remove ObjCProtocolListType and preserve the associated source information on
  the various ObjC TypeLocs.  Preserve the spelling of protocol lists except in
  the canonical form.
* Preserve some level of source type structure on parameter types, but
  canonicalize on the canonical function type.  This is still a WIP.

Drops code size, makes strides towards accurate source location representation,
slight (~1.7%) progression on Cocoa.h because of complexity drop.

llvm-svn: 84907
2009-10-22 22:37:11 +00:00
..
Analysis RegionStore: Use the *default* binding (instead of the *direct* binding) of an Objective-C object 2009-10-20 01:20:57 +00:00
CXX In some dependent contexts, incomplete array types persist into FinalizeDeclaratorGroup. Don't require them to have a complete type. This allows us to compile Hello World with the Apache stdcxx library. If you don't use endl, it even links and runs. 2009-10-17 19:37:06 +00:00
CodeCompletion - Fixup SortCodeCompleteResult() to properly sort keywords on Mac OS (compare was system dependent). Worked on Linux, failed on Mac OS (which caused the recently added testcase to fail on Linux). 2009-10-08 23:45:10 +00:00
CodeGen Force triple; this test was failing on non-darwin platforms due to different 2009-10-21 19:59:43 +00:00
CodeGenCXX Code gen for '.*' binary expressions - WIP. 2009-10-21 23:45:42 +00:00
CodeGenObjC Disable tests that check debug info intrinsic. This does not work if debug info intrinsics are not used to encode debug info. 2009-10-12 23:46:58 +00:00
Coverage Add test for finding bfin backend. 2009-08-18 07:07:14 +00:00
Driver Update test; the driver can find a different gcc tool chain directory when 2009-10-22 16:05:11 +00:00
FixIt Update test case; I'm confused why this wasn't failing on the buildbot 2009-05-16 19:30:01 +00:00
Frontend Update PCH serialization of FunctionDecl flags. 2009-09-22 05:38:14 +00:00
Index Keep track of whether declararions were loaded from a precompiled 2009-10-16 20:01:17 +00:00
Lexer Converted to use FileCheck. 2009-10-13 18:51:26 +00:00
Misc Workaround a bug exposed by the FileCheckify of message-length.c, the caret end 2009-10-19 09:11:21 +00:00
PCH Use %S, not `pwd`, and enable a line that *does* work. 2009-08-01 05:57:38 +00:00
Parser test commit 2009-10-13 05:45:19 +00:00
Preprocessor Disable Microsoft extensions to fix failure on Windows. 2009-10-22 20:34:27 +00:00
Rewriter Prep for new warning. 2009-07-22 00:43:08 +00:00
Sema fix #2 :) 2009-10-22 19:56:49 +00:00
SemaCXX When building types from declarators, instead of building two types (one for 2009-10-22 22:37:11 +00:00
SemaObjC Changed text of warning in my last patch. 2009-10-20 17:24:11 +00:00
SemaObjCXX this test crashes, disable it harder. 2009-07-28 18:22:50 +00:00
SemaTemplate When a template-id expression refers to a member function template, turn it into an (implicit) member access expression. Fixes PR5220 2009-10-22 07:19:14 +00:00
CMakeLists.txt Add support for a chain of stat caches in the FileManager, rather than 2009-10-16 18:18:30 +00:00
Makefile Allow the PYTHON make variable to override the default Python when running Clang tests, from Ken Dyck. 2009-09-29 14:54:28 +00:00
TestRunner.sh Switch TestRunner.sh to just use 'lit'. 2009-09-20 22:00:23 +00:00
cxx-sections.data Update C++ section data and directory structure to reflect N2914 2009-06-30 16:45:27 +00:00
lit.cfg Add the lib path to LD_LIBRARY_PATH, so finding .so works (more) portably. 2009-09-26 07:36:09 +00:00
lit.site.cfg.in Add the lib path to LD_LIBRARY_PATH, so finding .so works (more) portably. 2009-09-26 07:36:09 +00:00
make_test_dirs.pl Add the structure for a C++ test suite that mimics the structure of the C++ standard 2009-06-13 06:06:53 +00:00