xcode – Apple LLVM 4.2,Objective-C的可用__attribute __(())列表

xcode – Apple LLVM 4.2,Objective-C的可用__attribute __(())列表,第1张

概述我正在寻找可用__attribute __(())指令的列表,我找不到它们.我只知道__attribute __((objc_requires_super)). 我发誓我搜索和搜索,我没有找到任何东西.也许我错过了一些包含在搜索中的术语. 非常感谢. 文档有时会落后.要获得完整的列表,没有比源代码更新的地方了! https://github.com/llvm-mirror/clang/blob/m 我正在寻找可用__attribute __(())指令的列表,我找不到它们.我只知道__attribute __((objc_requires_super)).

我发誓我搜索和搜索,我没有找到任何东西.也许我错过了一些包含在搜索中的术语.

非常感谢.

解决方法 文档有时会落后.要获得完整的列表,没有比源代码更新的地方了!

https://github.com/llvm-mirror/clang/blob/master/include/clang/Basic/Attr.td

这是一个例子:

def Visibility : inheritableAttr {  let Clone = 0;  let Spellings = [GNU<"visibility">,CXX11<"gnu","visibility">];  let Args = [EnumArgument<"Visibility","VisibilityType",["default","hIDden","internal","protected"],["Default","HIDden","Protected"]>];}

在这里我们可以看到它是如何在GNU和CXX11 GNU中定义的.它还显示了这种情况下的有效参数(默认,隐藏,内部,受保护).

总结

以上是内存溢出为你收集整理的xcode – Apple LLVM 4.2,Objective-C的可用__attribute __(())列表全部内容,希望文章能够帮你解决xcode – Apple LLVM 4.2,Objective-C的可用__attribute __(())列表所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1097984.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存