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 | 9e59b577d8221601419f734f14ff19c594c269d6 (patch) | |
tree | 1425c0ffa3234253224d48a6715d79b4ac7620dc /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 4fb13c051d7a628ae024ba59073221e234b5d4e1 (diff) | |
download | bcm5719-llvm-9e59b577d8221601419f734f14ff19c594c269d6.tar.gz bcm5719-llvm-9e59b577d8221601419f734f14ff19c594c269d6.zip |
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
llvm-svn: 58948
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions