/** * \brief Returns non-zero if the given source location is in the main file of * the corresponding translation unit. */ func (loc SourceLocation) IsFromMainFile() bool { o := C.clang_Location_isFromMainFile(loc.c) if o != 0 { return true } return false }
// Returns non-zero if the given source location is in the main file of the corresponding translation unit. func (sl SourceLocation) IsFromMainFile() bool { o := C.clang_Location_isFromMainFile(sl.c) return o != C.int(0) }