Utilities for Clang plugin

If !span is a tern thing, then I'm sorry for making you rename Span → Extent.