File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ namespace yaml {
276
276
template <> struct MappingTraits <ExportSection> {
277
277
static void mapping (IO &IO, ExportSection &Section) {
278
278
const auto *Ctx = reinterpret_cast <TextAPIContext *>(IO.getContext ());
279
- assert ((!Ctx || ( Ctx && Ctx ->FileKind != FileType::Invalid) ) &&
279
+ assert ((!Ctx || Ctx->FileKind != FileType::Invalid) &&
280
280
" File type is not set in YAML context" );
281
281
282
282
IO.mapRequired (" archs" , Section.Architectures );
@@ -298,7 +298,7 @@ template <> struct MappingTraits<ExportSection> {
298
298
template <> struct MappingTraits <UndefinedSection> {
299
299
static void mapping (IO &IO, UndefinedSection &Section) {
300
300
const auto *Ctx = reinterpret_cast <TextAPIContext *>(IO.getContext ());
301
- assert ((!Ctx || ( Ctx && Ctx ->FileKind != FileType::Invalid) ) &&
301
+ assert ((!Ctx || Ctx->FileKind != FileType::Invalid) &&
302
302
" File type is not set in YAML context" );
303
303
304
304
IO.mapRequired (" archs" , Section.Architectures );
You can’t perform that action at this time.
0 commit comments