[PATCH] D87534: Sema: introduce `__attribute__((__swift_name__))`
Saleem Abdulrasool via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 11 13:12:44 PDT 2020
compnerd added inline comments.
================
Comment at: clang/include/clang/Basic/Attr.td:2173
+ SubjectList<[Enum, EnumConstant, Field, Function, GlobalVar, Struct, TypedefName,
+ ObjCInterface, ObjCClassMethod, ObjCInstanceMethod, ObjCProperty, ObjCProtocol],
+ ErrorDiag, "ExpectedSwiftNameSubjects">;
----------------
Note for @rjmccall and @doug.gregor - this version actually enumerates the subjects to which this attribute appertains unlike what was in the original swift version. Are there other subjects which this should list?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87534/new/
https://reviews.llvm.org/D87534
More information about the cfe-commits
mailing list