]> granicus.if.org Git - clang/commit
For 'open' check in UnixAPIChecker, hard code value of 'O_CREAT' on Darwin.
authorTed Kremenek <kremenek@apple.com>
Thu, 8 Apr 2010 22:15:34 +0000 (22:15 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 8 Apr 2010 22:15:34 +0000 (22:15 +0000)
commitbace4ba042d87a0ed0ec15dbe6caad946b97bd33
treec7e5db3e59b69e31bf006299c3870d01c1cdd234
parent8804bdcac242741528036d7e62f26ae5b6a01261
For 'open' check in UnixAPIChecker, hard code value of 'O_CREAT' on Darwin.
This is still not an ideal solution, but should disable the check for other
targets where the value of O_CREAT is different.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100818 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Support/Optional.h
lib/Checker/UnixAPIChecker.cpp