Skip to content
Commit 5647d319 authored by Chris Lattner's avatar Chris Lattner
Browse files

fix a bug in SourceManager::getInstantiationLocSlowCase, where

we'd add an offset from the spelling location space to the 
instantiation location, which doesn't make sense and would
lead up to the text diagnostics crashing when presented with
non-sensical locations.

This fixes rdar://7597492, a crash on 255.vortex.

llvm-svn: 96004
parent dc68f953
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment