diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-17 00:08:38 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-17 00:08:38 +0000 |
commit | 0d5a069f66df09b3308ccfdce84a88170034c657 (patch) | |
tree | ac4d8f199efea6a265fa37b6990e7b99cb6849e0 /lib/Sema/SemaTemplateInstantiate.cpp | |
parent | 8bf4ab319e232f185e9965c5bb417dee62706c8f (diff) |
Add support for "type safety" attributes that allow checking that 'void *'
function arguments and arguments for variadic functions are of a particular
type which is determined by some other argument to the same function call.
Usecases include:
* MPI library implementations, where these attributes enable checking that
buffer type matches the passed MPI_Datatype;
* for HDF5 library there is a similar usecase as MPI;
* checking types of variadic functions' arguments for functions like
fcntl() and ioctl().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplateInstantiate.cpp')
0 files changed, 0 insertions, 0 deletions