This is an archive of the discontinued LLVM Phabricator instance.

[fixup][Sema] Allow in C to define tags inside enumerations.
ClosedPublic

Authored by vsapsai on Sep 20 2017, 4:28 PM.

Details

Summary

Fix for too aggressive error err_type_defined_in_enum introduced in
r313386. Defining tags inside enumerations is prohibited in C++ but
allowed in C.

Diff Detail

Repository
rL LLVM

Event Timeline

vsapsai created this revision.Sep 20 2017, 4:28 PM
rnk accepted this revision.Sep 20 2017, 4:31 PM

lgtm

This revision is now accepted and ready to land.Sep 20 2017, 4:31 PM
This revision was automatically updated to reflect the committed changes.