llvm-project/clang/lib
Douglas Gregor 5407920f82 During name lookup, use redecl_iterator to walk over the redeclaration
chain to determine whether any declaration of the given entity is
visible, eliminating the redundant (and less efficient)
getPreviousDeclaration() implementation.

This tweak uncovered an omission in the handling of
RedeclarableTemplateDecl, where we weren't making sure to search for
additional redeclarations of a template in other module files. Things
would be cleaner if RedeclarableTemplateDecl actually used Redeclarable.

llvm-svn: 147687
2012-01-06 22:05:37 +00:00
..
ARCMigrate Remove unused variables. 2011-12-25 01:18:52 +00:00
AST Revert r147664; it's breaking clang regression tests. 2012-01-06 20:42:20 +00:00
Analysis Thread safety analysis: added support for trylock attribute. 2012-01-06 19:16:50 +00:00
Basic __FLT_EVAL_METHOD__ should be 1 on NetBSD/i386, since it defaults to 2012-01-06 18:32:26 +00:00
CodeGen Revert r147664; it's breaking clang regression tests. 2012-01-06 20:42:20 +00:00
Driver Revert r147664; it's breaking clang regression tests. 2012-01-06 20:42:20 +00:00
Frontend When loading an AST file, set SourceManager::MainFileID to the main file of the AST file, 2012-01-05 21:36:25 +00:00
FrontendTool Per discussion on the list, remove BitcodeVerify pass to reimplement as a free function. 2011-12-14 00:29:23 +00:00
Headers Don't depend on undefined macros being 0, there are options for the 2012-01-03 19:22:38 +00:00
Index Replace all comparisons between ObjCInterfaceDecl pointers with calls 2011-12-15 00:29:59 +00:00
Lex When inferring a submodule ID during module creation, look up the 2012-01-06 17:19:32 +00:00
Parse More lambda work. Fixes a minor bug Richard pointed out, makes lookup for lambda parameters work correctly, recording more information into the AST. 2012-01-06 03:05:34 +00:00
Rewrite Fix uninitialized variable warning. 2012-01-06 20:05:14 +00:00
Sema During name lookup, use redecl_iterator to walk over the redeclaration 2012-01-06 22:05:37 +00:00
Serialization During name lookup, use redecl_iterator to walk over the redeclaration 2012-01-06 22:05:37 +00:00
StaticAnalyzer [analyzer] Be less pessimistic about invalidation of global variables 2012-01-04 23:54:01 +00:00
CMakeLists.txt The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00
Makefile The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00