ClamAV is an open source (GPLv2) anti-virus toolkit.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
clamav/libclamav/c++/llvm30_compat.h

25 lines
763 B

#ifdef LLVM30
#define constType Type
#define constArrayType ArrayType
#define constStructType StructType
#define constPointerType PointerType
#define constFunctionType FunctionType
#define ARRAYREF(t,a,b) ArrayRef<t>(a,b)
#define ARRAYREFPARAM(t,a,b,n) ArrayRef<t> n
#define ARRAYREFP(a,b,n) n
#define ARRAYREFVECTOR(t,a) ArrayRef<t>(a)
#define HINT(n) n,
#define OPT(n) ,n
#else
#define constType const Type
#define constArrayType const ArrayType
#define constStructType const StructType
#define constPointerType const PointerType
#define constFunctionType const FunctionType
#define ARRAYREF(t,a,b) (a),(b)
#define ARRAYREFPARAM(t,a,b,n) a, b
#define ARRAYREFP(a,b,n) a, b
#define ARRAYREFVECTOR(t,a) (a).begin(),(a).end()
#define HINT(n)
#define OPT(n)
#endif