diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-08-31 12:41:55 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-08-31 12:41:55 +0000 |
commit | b79932addf6fac44be7675c51a8f24c7b38dce2d (patch) | |
tree | 7fb68f80cfa60521ae6e9762384684facb0e73cc /clang-tools-extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp | |
parent | f506f41434be973a04502697b9681b85ff7ed48b (diff) | |
download | llvm-b79932addf6fac44be7675c51a8f24c7b38dce2d.zip llvm-b79932addf6fac44be7675c51a8f24c7b38dce2d.tar.gz llvm-b79932addf6fac44be7675c51a8f24c7b38dce2d.tar.bz2 |
[asan] Fix the freopen interceptor to allow NULL instead of a filename
According to `man freopen`, passing NULL instead of a filename is valid, however the current implementation of the interceptor assumes this parameter is non-NULL. Let's fix that and add a test case.
Differential Revision: http://reviews.llvm.org/D11389
llvm-svn: 246435
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp')
0 files changed, 0 insertions, 0 deletions