teak-llvm/clang/test
Douglas Gregor b61c07aca0 When caching code completions for global declarations, keep track of
the usage type of each declaration result, then compare those types to
the preferred type of the completion. This provides parity in the
priority calculation between the code-completion results produced
directly from Sema and those cached by ASTUnit. 

For the standard Cocoa.h (+ others) example, there's a penalty of 3-4
hundredeths of a second when caching the global results (for ~31,000
results), because we need an ASTContext-agnostic representation of
types for the comparison, and therefore we use... strings. Eventually,
we'd like to implement a more efficient ASTContext-agnostic encoding
of types.

llvm-svn: 111165
2010-08-16 18:08:11 +00:00
..
Analysis Model the effects of strcpy() and stpcpy() in CStringChecker. Other changes: 2010-08-16 07:51:42 +00:00
ASTMerge Hack in some really terrible C++ record PCH support that I need right now. 2010-06-03 19:28:45 +00:00
CodeCompletion When performing code completion for a case statement in a switch whose 2010-07-28 21:50:18 +00:00
CodeGen support for vec_add, vec_adds, vec_and, vec_andc with bool arguments 2010-08-16 16:22:12 +00:00
CodeGenCXX Fix initialization for members of anonymous struct in a union. 2010-08-16 17:27:13 +00:00
CodeGenObjC Patch to issue warning when colllection expresion's type 2010-08-12 22:25:42 +00:00
CodeGenObjCXX Just disable the hidden-visibility optimization for now by hiding it behind 2010-08-12 23:36:15 +00:00
Coverage Eliminate the "minimal" and printing parser actions, which only ever 2010-07-26 04:08:02 +00:00
CXX Work around a crash when checking access to injected class names 2010-08-13 07:02:08 +00:00
Driver Driver/OptParser: Add a NoForward flag to prevent forwarding certain options to 2010-08-13 04:44:20 +00:00
FixIt Introduce -f{no-}spell-checking options to enable/disable 2010-07-09 17:35:33 +00:00
Frontend Revert r110440, the fix for PR4897. Chris claims to have a better way. 2010-08-08 07:49:23 +00:00
Headers Add AVX intrinsics header 2010-08-04 22:03:36 +00:00
Index When caching code completions for global declarations, keep track of 2010-08-16 18:08:11 +00:00
Lexer tests: Make FileCheck version check that preamble isn't longer than we expected. 2010-07-22 02:22:24 +00:00
Misc tests: Use %clangxx when using driver for C++, in case C++ support is disabled. 2010-06-29 16:52:24 +00:00
Parser Fix a crash when parsing malformed out-of-line member function 2010-08-16 17:58:53 +00:00
PCH Instead of modifying the ObjC AST to not modify existing declarations, teach chained PCH to overwrite declarations from earlier PCH files in dependent ones. Tell Sema to note when it changes AST nodes so that they have to be reserialized. Finally, the ObjCProtocolDecls created in forward decls, like the ObjCInterfaceDecls in @class forward decls, are not lexically part of the decl context; only the definition is. 2010-08-13 00:28:03 +00:00
Preprocessor Push location through the MacroUndefined PPCallback and use it to print #undefs in -dD mode. (PR7818) 2010-08-07 22:27:00 +00:00
Rewriter Initialize block's imported variable(s) in 2010-07-28 23:27:30 +00:00
Sema Commit improved version of 111026 & 111027. 2010-08-15 01:15:20 +00:00
SemaCXX Emit diagnostic error when the field of an anonymous struct is non trivial. 2010-08-16 17:27:08 +00:00
SemaObjC When issuing warning for future conflict resolution, 2010-08-13 18:09:39 +00:00
SemaObjCXX Patch to issue warning when colllection expresion's type 2010-08-12 22:25:42 +00:00
SemaTemplate PR7837: For qualified id's, make sure the decl context is complete if not 2010-08-06 23:41:47 +00:00
CMakeLists.txt CMake: Clang test targets depend on the {FileCheck,not,count} tools. 2010-07-29 22:57:17 +00:00
cxx-sections.data
lit.cfg tests: Use %clangxx when using driver for C++, in case C++ support is disabled. 2010-06-29 16:52:24 +00:00
lit.site.cfg.in Rework site config for cmake to be generated at configure time, and only pass 2009-11-07 23:53:32 +00:00
make_test_dirs.pl
Makefile daniel doesn't hate me, he hates macpython 2.5, which 2010-07-18 18:42:35 +00:00
TestRunner.sh Switch TestRunner.sh to just use 'lit'. 2009-09-20 22:00:23 +00:00