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
4 files changed