This is an archive of the discontinued LLVM Phabricator instance.

[Attr] Move ParsedTargetAttr out of the TargetAttr class
ClosedPublic

Authored by craig.topper on Dec 6 2019, 5:21 PM.

Details

Summary

Need to forward declare it in ASTContext.h for D68627, so it can't be a nested struct.

Diff Detail

Event Timeline

craig.topper created this revision.Dec 6 2019, 5:21 PM

Should this be in a namespace? Can't tell from the header file, is it at least in clang?

craig.topper marked an inline comment as done.Dec 6 2019, 6:26 PM
craig.topper added inline comments.
clang/include/clang/AST/Attr.h
359

There's an ending namespace comment here and there's no namespace starting since the end of my change. And I assume Attrs.inc doesn't leave a dangling namespace?

erichkeane accepted this revision.Dec 6 2019, 7:03 PM
This revision is now accepted and ready to land.Dec 6 2019, 7:03 PM
rnk accepted this revision.Dec 7 2019, 7:31 AM

Lg

aaron.ballman accepted this revision.Dec 7 2019, 9:29 AM
aaron.ballman added a subscriber: aaron.ballman.

LGTM

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2019, 12:44 PM