aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-06-25 00:44:06 +0000
committerGreg Clayton <gclayton@apple.com>2011-06-25 00:44:06 +0000
commita2721476e7e8ec57418b460d27fd0900e8e7aa30 (patch)
tree9fdaf40ff3793d9907fe6007e245528e2d6ccc75 /llvm/lib/Object/Object.cpp
parent5f836782222045a4b87837917ba8f61f25e92df4 (diff)
downloadllvm-a2721476e7e8ec57418b460d27fd0900e8e7aa30.zip
llvm-a2721476e7e8ec57418b460d27fd0900e8e7aa30.tar.gz
llvm-a2721476e7e8ec57418b460d27fd0900e8e7aa30.tar.bz2
This commit adds broad architectural support for hierarchical
inspection of namespaces in the expression parser. ClangExpressionDeclMap hitherto reported that namespaces had been completely imported, even though the namespaces are returned empty. To deal with this situation, ClangASTSource was recently extended with an API to complete incomplete type definitions, and, for greater efficiency, to complete these definitions partially, returning only those objects that have a given name. This commit supports these APIs on LLDB's side, and uses it to provide information on types resident in namespaces. Namespaces are now imported as they were -- that is to say, empty -- but with minimal import mode on. This means that Clang will come back and request their contents by name as needed. We now respond with information on the contained types; this will be followed soon by information on functions and variables. llvm-svn: 133852
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions