clang-1/Driver
Douglas Gregor 074149e11b 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.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61735 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-05 19:45:36 +00:00
..
ASTConsumers.cpp Introduce support for "transparent" DeclContexts, which are 2009-01-05 19:45:36 +00:00
ASTConsumers.h Added driver option "-cxx-inheritance-view" for viewing the C++ hierarchy of a class in GraphViz. 2008-10-23 23:36:29 +00:00
Analyses.def Hook up the Plist diagnostic client to the driver. 2008-11-03 23:18:07 +00:00
AnalysisConsumer.cpp Add an option to make 'RemoveDeadBindings' a configurable behavior. This enables 2008-12-22 01:52:37 +00:00
AnalysisConsumer.h Hook up the Plist diagnostic client to the driver. 2008-11-03 23:18:07 +00:00
Backend.cpp Rename AddReadAttrs to FunctionAttrs. This is related to Duncan's patch r61525. 2008-12-31 19:51:31 +00:00
CMakeLists.txt CMake: Builds and installs clang binary and libs (no docs yet). It 2008-10-26 00:56:18 +00:00
CacheTokens.cpp PTH: Use 3 bytes instead of 4 bytes to encode the persistent ID for a token. 2008-12-23 18:41:34 +00:00
DependencyFile.cpp Improve dependency file support. 2008-10-27 20:01:06 +00:00
DiagChecker.cpp Rewrite FindDiagnostics to be more strict about the formatting of the 2008-11-24 01:28:17 +00:00
HTMLPrint.cpp More #include cleaning 2008-08-11 04:54:23 +00:00
Makefile Use LINK_COMPONENTS instead of hard coding LLVM libraries. 2008-10-24 06:24:13 +00:00
PrintParserCallbacks.cpp Convert a two more statement actions to smart pointers. 2008-12-28 16:13:43 +00:00
PrintPreprocessedOutput.cpp [LLVM up] Update for raw_fd_ostream change. This fixes a FIXME that 2008-11-13 05:09:21 +00:00
RewriteBlocks.cpp Actually distinguish between RecordDecl::field_iterator and RecordDecl::field_const_iterator, propagating the constness down to the FieldDecls. 2008-12-11 17:59:21 +00:00
RewriteMacros.cpp [LLVM up] Update for raw_fd_ostream change. This fixes a FIXME that 2008-11-13 05:09:21 +00:00
RewriteObjC.cpp Fix <rdar://problem/6465284> clang ObjC rewriter: objc_super messed up again. 2008-12-23 20:11:22 +00:00
RewriteTest.cpp Add newline at the end of file, to silence compiler warning. 2008-10-20 08:12:48 +00:00
SerializationTest.cpp [LLVM up] Update for raw_fd_ostream change. This fixes a FIXME that 2008-11-13 05:09:21 +00:00
clang.cpp Force i[0-9]86 to i386 when using LLVM_HOSTTRIPLE. 2008-12-12 18:34:35 +00:00
clang.h Remove unused function declaration. 2008-11-11 04:48:20 +00:00