summaryrefslogtreecommitdiffstats
path: root/lib/Sema
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-01-22 12:54:39 +0000
committerHans Wennborg <hans@hanshq.net>2018-01-22 12:54:39 +0000
commit8231d6059b6a185649957dd044adffe98ae3524e (patch)
tree43cb504f19ca9f50a6d359f75683d8cdfb6cbe63 /lib/Sema
parent269eda939b6cef6d88e3b6633010032b6cf70121 (diff)
Merging r322984:
------------------------------------------------------------------------ r322984 | rtrieu | 2018-01-19 21:46:19 +0100 (Fri, 19 Jan 2018) | 7 lines Allow BlockDecl in CXXRecord scope to have no access specifier. Using a BlockDecl in a default member initializer causes it to be attached to CXXMethodDecl without its access specifier being set. This prevents a crash where getAccess is called on this BlockDecl, since that method expects any Decl in CXXRecord scope to have an access specifier. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_60@323108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema')
0 files changed, 0 insertions, 0 deletions