[clang] [clang] Warn on umask() argument bits outside 0777 (PR #198130)
Denys Fedoryshchenko via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 28 15:38:04 PDT 2026
================
@@ -3800,6 +3800,14 @@ def VFork : LibBuiltin<"unistd.h"> {
let Prototype = "pid_t()";
}
+// POSIX sys/stat.h
+
+def Umask : LibBuiltin<"sys/stat.h"> {
+ let Spellings = ["umask"];
+ let Attributes = [IgnoreSignature];
+ let Prototype = "";
----------------
nuclearcat wrote:
Amended, thank you!
https://github.com/llvm/llvm-project/pull/198130
More information about the cfe-commits
mailing list