clang-1/lib
Douglas Gregor f5586f6b31 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.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111165 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-16 18:08:11 +00:00
..
AST Implement support for member pointers under the Microsoft C++ ABI in the 2010-08-16 03:33:14 +00:00
Analysis Fix a bug where child statements could not be identified as being in a CFGBlock in CFGStmtMap::getBlock. 2010-08-11 23:36:58 +00:00
Basic Remove dead code, caught by unused function warnings. 2010-08-15 01:15:58 +00:00
Checker Model the effects of strcpy() and stpcpy() in CStringChecker. Other changes: 2010-08-16 07:51:42 +00:00
CodeGen Implement support for member pointers under the Microsoft C++ ABI in the 2010-08-16 03:33:14 +00:00
Driver Pass some things to the linker that gcc passes. -r is the only one of these that I'm sure about, but the others seem to be listed on FreeBSD by gcc -dumpspecs, so I hope they're right. Apparently -r is also not passed on GNU/Linux (and should be), but I can't see where the toolchain definition for this platform live. 2010-08-15 22:58:12 +00:00
Frontend When caching code completions for global declarations, keep track of 2010-08-16 18:08:11 +00:00
Headers support for vec_add, vec_adds, vec_and, vec_andc with bool arguments 2010-08-16 16:22:12 +00:00
Index Remove unused location-to-AST-node resolver. libclang's implementation supercedes it 2010-07-19 16:18:30 +00:00
Lex Don't emit end-of-file diagnostics like "unterminated conditional" or 2010-08-12 17:04:55 +00:00
Parse Fix a crash when parsing malformed out-of-line member function 2010-08-16 17:58:53 +00:00
Rewrite Make the FixItOptions object required instead of optional. 2010-08-15 16:47:39 +00:00
Sema Fix initialization for members of anonymous struct in a union. 2010-08-16 17:27:13 +00:00
CMakeLists.txt Split libAnalysis into two libraries: libAnalysis and libChecker. 2010-01-25 04:41:41 +00:00
Makefile Move lib/Runtime to runtime/, and build after everything else. 2010-06-30 22:10:38 +00:00