[clang-tools-extra] r316093 - [clang-tidy] Fix buildbot for msvc
Jonas Toth via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 18 09:28:06 PDT 2017
Author: jonastoth
Date: Wed Oct 18 09:28:06 2017
New Revision: 316093
URL: http://llvm.org/viewvc/llvm-project?rev=316093&view=rev
Log:
[clang-tidy] Fix buildbot for msvc
The testcase defined `FILE` as `unsigned long`, but MSVC expect `unsigned long long`.
Modified:
clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-owning-memory-legacy-functions.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-owning-memory-legacy-functions.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-owning-memory-legacy-functions.cpp?rev=316093&r1=316092&r2=316093&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-owning-memory-legacy-functions.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-owning-memory-legacy-functions.cpp Wed Oct 18 09:28:06 2017
@@ -10,7 +10,7 @@ using owner = T;
} // namespace gsl
extern "C" {
-using size_t = unsigned long;
+using size_t = unsigned long long;
using FILE = int;
void *malloc(size_t ByteCount);
More information about the cfe-commits
mailing list