HomePhabricator

[clang]: Remove assertion which checks explicit declaration

Authored by gousemoodhin on Aug 20 2020, 6:07 PM.

Description

[clang]: Remove assertion which checks explicit declaration

explicit keyword is declared outside of class is invalid, invalid explicit declaration is handled inside DiagnoseFunctionSpecifiers() function. To avoid compiler crash in case of invalid explicit declaration, remove assertion.

Reviewed By: rsmith

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

Details

Committed
rsmithAug 20 2020, 6:15 PM
Reviewer
rsmith
Differential Revision
D83929: [clang]: Remove assertion which checks explicit declaration
Parents
rG95e18b2d9d5f: [PowerPC] Fix a typo for InstAlias of mfsprg
Branches
Unknown
Tags
Unknown