Example #1
0
/**
 * \brief Returns non-zero if the given source location is in a system header.
 */
func (loc SourceLocation) IsInSystemHeader() bool {
	o := C.clang_Location_isInSystemHeader(loc.c)
	if o != 0 {
		return true
	}
	return false
}
Example #2
0
// Returns non-zero if the given source location is in a system header.
func (sl SourceLocation) IsInSystemHeader() bool {
	o := C.clang_Location_isInSystemHeader(sl.c)

	return o != C.int(0)
}