diff options
author | Eric Christopher <echristo@gmail.com> | 2018-05-30 21:11:45 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2018-05-30 21:11:45 +0000 |
commit | 7c6bc9f175dc2ca686f9d73dc388f71b480628cf (patch) | |
tree | c2008efe761ffa751c31436320a4b8f5cbde240b /include/clang/Basic/Builtins.def | |
parent | ce5f8b38a883dfcf6ec3b55346594cd6337e3e87 (diff) |
Add fopen to the list of builtins that we check and whitelist.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333594 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Builtins.def')
-rw-r--r-- | include/clang/Basic/Builtins.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/Builtins.def b/include/clang/Basic/Builtins.def index 2126acb941..510b143d5b 100644 --- a/include/clang/Basic/Builtins.def +++ b/include/clang/Basic/Builtins.def @@ -862,6 +862,7 @@ LIBBUILTIN(sscanf, "icC*RcC*R.", "fs:1:", "stdio.h", ALL_LANGUAGES) LIBBUILTIN(vscanf, "icC*Ra", "fS:0:", "stdio.h", ALL_LANGUAGES) LIBBUILTIN(vfscanf, "iP*RcC*Ra", "fS:1:", "stdio.h", ALL_LANGUAGES) LIBBUILTIN(vsscanf, "icC*RcC*Ra", "fS:1:", "stdio.h", ALL_LANGUAGES) +LIBBUILTIN(fopen, "P*cC*cC*", "f", "stdio.h", ALL_LANGUAGES) LIBBUILTIN(fread, "zv*zzP*", "f", "stdio.h", ALL_LANGUAGES) LIBBUILTIN(fwrite, "zvC*zzP*", "f", "stdio.h", ALL_LANGUAGES) |