Beispiel #1
0
// IsVolatileQualified determines whether a Type has the "volatile" qualifier
// set, without looking through typedefs that may have added "volatile" at a
// different level.
func (t Type) IsVolatileQualified() bool {
	o := C.clang_isVolatileQualifiedType(t.c)
	if o != C.uint(0) {
		return true
	}
	return false
}
Beispiel #2
0
// Determine whether a CXType has the "volatile" qualifier set, without looking through typedefs that may have added "volatile" at a different level.
func (t Type) IsVolatileQualifiedType() bool {
	o := C.clang_isVolatileQualifiedType(t.c)

	return o != C.uint(0)
}