]> granicus.if.org Git - clang/commit
Parsing of namespaces:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 27 Apr 2008 13:50:30 +0000 (13:50 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 27 Apr 2008 13:50:30 +0000 (13:50 +0000)
commit2d1c5d313cd0c229cc614e74baa4c5756a4b46f4
tree7d70bf13b88e07d74c70202bf6c6fd4e10dea312
parent642e38baaeedb1a35c36df02a1ac57002a43a694
Parsing of namespaces:

-NamespaceDecl for the AST
-Checks for name clashes between namespaces and tag/normal declarations.

This commit doesn't implement proper name lookup for namespaces.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50321 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/AST/Decl.h
include/clang/AST/DeclBase.h
include/clang/Basic/DiagnosticKinds.def
include/clang/Parse/Action.h
lib/AST/Decl.cpp
lib/AST/DeclSerialization.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
test/Sema/cxx-namespace.cpp [new file with mode: 0644]