[PR41247] Fixed parsing of private keyword in C++.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 28 Mar 2019 11:47:14 +0000 (11:47 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 28 Mar 2019 11:47:14 +0000 (11:47 +0000)
commit314fab6d7fa9554b77e311577ccd0c527053c6ce
tree5cdf766aff5a1f272a2cc5c9e59b80903d7b6bb4
parent38a0616c1df029aff481eb0224dacb55c317865e
[PR41247] Fixed parsing of private keyword in C++.

Fixed bug in C++ to prevent parsing 'private' as a
valid address space qualifier.

Differential Revision: https://reviews.llvm.org/D59874

llvm-svn: 357162
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseTentative.cpp
clang/test/SemaOpenCLCXX/private-access-specifier.cpp [new file with mode: 0644]