forked from OSchip/llvm-project
Add documentation for the pcs attribute, based on r129534's commit message.
llvm-svn: 205160
This commit is contained in:
parent
6dafe97271
commit
9ee5f9190b
|
@ -1030,7 +1030,7 @@ def Pcs : InheritableAttr {
|
|||
["aapcs", "aapcs-vfp"],
|
||||
["AAPCS", "AAPCS_VFP"]>];
|
||||
// let Subjects = [Function, ObjCMethod];
|
||||
let Documentation = [Undocumented];
|
||||
let Documentation = [PcsDocs];
|
||||
}
|
||||
|
||||
def Pure : InheritableAttr {
|
||||
|
|
|
@ -577,6 +577,15 @@ The semantics are as follows:
|
|||
}];
|
||||
}
|
||||
|
||||
def PcsDocs : Documentation {
|
||||
let Category = DocCatFunction;
|
||||
let Content = [{
|
||||
On ARM targets, this can attribute can be used to select calling conventions,
|
||||
similar to ``stdcall`` on x86. Valid parameter values are "aapcs" and
|
||||
"aapcs-vfp".
|
||||
}];
|
||||
}
|
||||
|
||||
def DocCatConsumed : DocumentationCategory<"Consumed Annotation Checking"> {
|
||||
let Content = [{
|
||||
Clang supports additional attributes for checking basic resource management
|
||||
|
|
Loading…
Reference in New Issue