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 | e4a5a90e8d6bc6a5ed0bf5f152a658c680b94867 (patch) | |
tree | 112b79dc4a78ef7626787a7e959876003c8572ed /clang/lib/Basic | |
parent | 476e5a3c9e573de598a9acbe90f7efb8c53ba3e3 (diff) | |
download | bcm5719-llvm-e4a5a90e8d6bc6a5ed0bf5f152a658c680b94867.tar.gz bcm5719-llvm-e4a5a90e8d6bc6a5ed0bf5f152a658c680b94867.zip |
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().
llvm-svn: 162067
Diffstat (limited to 'clang/lib/Basic')
0 files changed, 0 insertions, 0 deletions