]> granicus.if.org Git - clang/commit
Sema: Predefine size_t in MSVC Compatibility mode
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 14 Jan 2014 06:19:35 +0000 (06:19 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 14 Jan 2014 06:19:35 +0000 (06:19 +0000)
commit56ea94e09d0aa6a80e25d89ce92967dcb51f134e
tree4a6bf67eb64a79283e84f480cd9ba03d0a74144e
parent77d9faed1f50f6eb12b0928b67f51e53f75eb195
Sema: Predefine size_t in MSVC Compatibility mode

MSVC defines size_t without any explicit declarations.  This change
allows us to be compatible with TUs that depend on this declaration
appearing from nowhere.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199190 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.cpp
test/SemaCXX/MicrosoftCompatibility.cpp