]> granicus.if.org Git - clang/commit
Tighten the setAccess assert. We now allow AS_none if the decl contex is not a C...
authorAnders Carlsson <andersca@mac.com>
Wed, 25 Mar 2009 23:38:06 +0000 (23:38 +0000)
committerAnders Carlsson <andersca@mac.com>
Wed, 25 Mar 2009 23:38:06 +0000 (23:38 +0000)
commit1329c274628cc8c4e8ad472b41d1a78c8123f611
tree3bb7d7ab81697205ca638a0c5d9c4e233ababc20
parent3d7a12a50558c31d4351e923c15ab57688f4fdf2
Tighten the setAccess assert. We now allow AS_none if the decl contex is not a C++ record decl.

Also, fix fallout from the change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67717 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclBase.h
lib/AST/DeclBase.cpp
lib/Sema/SemaDecl.cpp
test/SemaCXX/nested-name-spec.cpp