Exemple #1
0
/**
 * \brief Retrieve a source location representing the first character within a
 * source range.
 */
func (s SourceRange) Start() SourceLocation {
	o := C.clang_getRangeStart(s.c)
	return SourceLocation{o}
}
Exemple #2
0
// Retrieve a source location representing the first character within a source range.
func (sr SourceRange) Start() SourceLocation {
	return SourceLocation{C.clang_getRangeStart(sr.c)}
}