summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-11-09 23:41:00 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-11-09 23:41:00 +0000
commit9e59b577d8221601419f734f14ff19c594c269d6 (patch)
tree1425c0ffa3234253224d48a6715d79b4ac7620dc /clang/lib/Sema/Sema.h
parent4fb13c051d7a628ae024ba59073221e234b5d4e1 (diff)
downloadbcm5719-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 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 178ab13f166..d7518e0aa7b 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -109,10 +109,6 @@ public:
/// CurContext - This is the current declaration context of parsing.
DeclContext *CurContext;
- /// LexicalFileContext - The current lexical file declaration context,
- /// the translation unit or a namespace.
- DeclContext *LexicalFileContext;
-
/// PreDeclaratorDC - Keeps the declaration context before switching to the
/// context of a declarator's nested-name-specifier.
DeclContext *PreDeclaratorDC;
OpenPOWER on IntegriCloud