llvm-project/clang/lib
Douglas Gregor 07665a69e8 Introduce support for "transparent" DeclContexts, which are
DeclContexts whose members are visible from enclosing DeclContexts up
to (and including) the innermost enclosing non-transparent
DeclContexts. Transparent DeclContexts unify the mechanism to be used
for various language features, including C enumerations, anonymous
unions, C++0x inline namespaces, and C++ linkage
specifications. Please refer to the documentation in the Clang
internals manual for more information.

Only enumerations and linkage specifications currently use transparent
DeclContexts.

Still to do: use transparent DeclContexts to implement anonymous
unions and GCC's anonymous structs extension, and, later, the C++0x
features. We also need to tighten up the DeclContext/ScopedDecl link
to ensure that every ScopedDecl is in a single DeclContext, which
will ensure that we can then enforce ownership and reduce the memory
footprint of DeclContext.

llvm-svn: 61735
2009-01-05 19:45:36 +00:00
..
AST Introduce support for "transparent" DeclContexts, which are 2009-01-05 19:45:36 +00:00
Analysis Add a bunch of comments and FIXMEs. 2008-12-24 07:46:32 +00:00
Basic instead of forcing blocks on by default, make them default to off, but let 2008-12-04 23:20:07 +00:00
CodeGen Generate debug info for VLA types 2009-01-05 01:23:29 +00:00
Driver Add Fedora 10 GCC paths. 2008-12-25 09:28:01 +00:00
Headers Add a MS specific intrinsic. 2008-12-27 04:26:15 +00:00
Lex simplify Preprocessor::getSpelling now that identifiers carry around 2009-01-05 19:44:41 +00:00
Parse Introduce support for "transparent" DeclContexts, which are 2009-01-05 19:45:36 +00:00
Rewrite CMake: Builds and installs clang binary and libs (no docs yet). It 2008-10-26 00:56:18 +00:00
Sema Introduce support for "transparent" DeclContexts, which are 2009-01-05 19:45:36 +00:00
CMakeLists.txt CMake: Builds and installs clang binary and libs (no docs yet). It 2008-10-26 00:56:18 +00:00
Makefile add a libDriver, for now only move the text diangostics stuff from Driver to there 2008-08-05 23:33:20 +00:00