diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-09 23:41:00 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-09 23:41:00 +0000 |
commit | 5239304ff761b8b03eefb772bd5d830a9b9f1aea (patch) | |
tree | 53033fe5ea5d74e5ba0656a854938755a05018ef /lib/CodeGen/ModuleBuilder.cpp | |
parent | 0f84a23cc542a76f97aee735cdf3ff948b149879 (diff) |
Introduce ScopedDecl::getLexicalDeclContext() which is different from ScopedDecl::getDeclContext() when there are nested-names.
e.g.:
namespace A {
void f(); // SemanticDC (getDeclContext) == LexicalDC (getLexicalDeclContext) == 'namespace A'
}
void A::f(); // SemanticDC == namespace 'A'
// LexicalDC == global namespace
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions