llvm-project/clang/lib/Serialization
Richard Smith 541b38be7b Switch the semantic DeclContext for a block-scope declaration of a function or
variable from being the function to being the enclosing namespace scope (in
C++) or the TU (in C). This allows us to fix a selection of related issues
where we would build incorrect redeclaration chains for such declarations, and
fail to notice type mismatches.

Such declarations are put into a new IdentifierNamespace, IDNS_LocalExtern,
which is only found when searching scopes, and not found when searching
DeclContexts. Such a declaration is only made visible in its DeclContext if
there are no non-LocalExtern declarations.

llvm-svn: 191064
2013-09-20 01:15:31 +00:00
..
ASTCommon.cpp Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
ASTCommon.h Note when a decl is used in AST files. 2013-09-05 00:02:25 +00:00
ASTReader.cpp Don't eagerly load all conversion operators when loading a class declaration 2013-08-30 04:46:40 +00:00
ASTReaderDecl.cpp Switch the semantic DeclContext for a block-scope declaration of a function or 2013-09-20 01:15:31 +00:00
ASTReaderInternals.h Enhance the ObjC global method pool to record whether there were 0, 1, or >= 2 methods (with a particular selector) inside categories. 2013-04-17 00:08:58 +00:00
ASTReaderStmt.cpp Add the intrinsic __builtin_convertvector 2013-09-18 03:29:45 +00:00
ASTWriter.cpp Note when a decl is used in AST files. 2013-09-05 00:02:25 +00:00
ASTWriterDecl.cpp Revert "Revert "[-cxx-abi microsoft] Mangle local TagDecls appropriately"" 2013-09-17 23:57:10 +00:00
ASTWriterStmt.cpp Add the intrinsic __builtin_convertvector 2013-09-18 03:29:45 +00:00
CMakeLists.txt Implement the writer side of the global module index. 2013-01-23 22:38:11 +00:00
GeneratePCH.cpp [libclang] Allow building a precompiled preamble with compiler errors 2013-06-11 00:36:55 +00:00
GlobalModuleIndex.cpp Use llvm::sys::fs::createUniqueFile. 2013-07-05 21:13:58 +00:00
Makefile Reintroduce the serialization library, with fixed dependencies. 2010-08-17 20:43:28 +00:00
Module.cpp [PCH] We don't need to instantiate HeaderFileInfoTrait in ASTReader more than once. 2013-03-06 18:12:44 +00:00
ModuleManager.cpp Add a bit more info to modules fatal error. 2013-09-05 23:50:58 +00:00