Skip to content

Commit 235f1e7

Browse files
authored
[Clang] Fix typo in __fprintf_chk Prototype (#80012)
An extra int was copied.
1 parent 1d3300d commit 235f1e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Basic/Builtins.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ def FPrintfChk : Builtin {
10651065
def PrintfChk : Builtin {
10661066
let Spellings = ["__builtin___printf_chk"];
10671067
let Attributes = [FunctionWithBuiltinPrefix, PrintfFormat<1>];
1068-
let Prototype = "int(int, int, char const* restrict, ...)";
1068+
let Prototype = "int(int, char const* restrict, ...)";
10691069
}
10701070

10711071
def VFPrintfChk : Builtin {

0 commit comments

Comments
 (0)