Previously, we parsed it only in the top level, which excludes namespaces and extern "C" blocks.
rdar://problem/48818890
Thanks!
Erik
Paths
| Differential D59282
[Parse] Parse '#pragma clang attribute' as an external-declaration ClosedPublic Authored by erik.pilkington on Mar 12 2019, 5:51 PM.
Details Summary Previously, we parsed it only in the top level, which excludes namespaces and extern "C" blocks. rdar://problem/48818890 Thanks!
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 12 2019, 9:22 PM Closed by commit rL356075: [Parse] Parse '#pragma clang attribute' as an external-declaration (authored by epilk). · Explain WhyMar 13 2019, 11:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 190458 cfe/trunk/lib/Parse/Parser.cpp
cfe/trunk/test/Parser/pragma-attribute-context.cpp
|