llvm-project/clang/lib
Douglas Gregor 5c193c7ed6 When we're performing name lookup for a tag, we still allow ourselves
to see hidden declarations because every tag lookup is effectively a
redeclaration lookup. For example, image that

  struct foo;

is declared in a submodule that is known but hasn't been imported. If
someone later writes

  struct foo *foo_p;

then "struct foo" is either a reference or a redeclaration. To keep
the redeclaration chains sound, we treat it like a redeclaration for
name-lookup purposes.

llvm-svn: 147588
2012-01-05 01:11:47 +00:00
..
ARCMigrate Remove unused variables. 2011-12-25 01:18:52 +00:00
AST The value of a const weak variable is not an integer constant. 2012-01-05 00:13:19 +00:00
Analysis Teach the static analyzer to not treat XPC types as CF types. 2012-01-04 00:35:48 +00:00
Basic Store the submodules of a module in source order, as they are stored 2012-01-04 23:32:19 +00:00
CodeGen Fixes a code gen bug for setter code for a property of 2012-01-05 00:10:16 +00:00
Driver Driver/Darwin: Remove a hack that avoided passing -demangle to iOS linkers. 2012-01-04 21:45:27 +00:00
Frontend When generating includes for all of the headers we found in an 2012-01-05 00:04:05 +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 If we already have a definition for a top-level module that we deserialized from a module file, don't bother parsing a new definition 2012-01-05 00:12:00 +00:00
Parse Add an explicit LambdaExprContext to Declarator, to parallel BlockLiteralContext. Use it to ensure semantic analysis of types isn't confused by the lack of a type specifier. 2012-01-04 04:41:38 +00:00
Rewrite Fix canonicalization of protocol-qualified types 2012-01-02 02:00:30 +00:00
Sema When we're performing name lookup for a tag, we still allow ourselves 2012-01-05 01:11:47 +00:00
Serialization Store the submodules of a module in source order, as they are stored 2012-01-04 23:32:19 +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