[clang] fixing conditional explicit for out-of-line definition PR42980
authorGauthier Harnisch <tyker1@outlook.com>
Sun, 22 Sep 2019 21:59:10 +0000 (21:59 +0000)
committerGauthier Harnisch <tyker1@outlook.com>
Sun, 22 Sep 2019 21:59:10 +0000 (21:59 +0000)
commit914c4c306d1206670c3486987b55fedc11eccee4
tree54296e657305858bbec428968a61894585c4a9fc
parent638933acab3d4ffb828c2628bd11da77918098c4
[clang] fixing conditional explicit for out-of-line definition PR42980

Summary: not every read in CXXConstructorDecl::getExplicitSpecifierInternal() was made on the canonical declaration.

Reviewers: rsmith, aaron.ballman

Reviewed By: rsmith

Subscribers: cfe-commits

Tags: #clang

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

llvm-svn: 372530
clang/include/clang/AST/DeclCXX.h
clang/test/SemaCXX/cxx2a-explicit-bool.cpp