Pass source location as const reference

Change-Id: Ib0b8298ae178d1e80c4f0c81564ecd4a44fd917e
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>