commit | 41e79e2912e3765170bb74c9ecf514d01aebffff | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Feb 12 18:52:52 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Feb 12 18:52:52 2010 +0000 |
tree | 4314b6ccba7f6aa5dcb84d91aac4d8587603030e | |
parent | c1eec891eb008cf3bc89d69d90af82678513f79b [diff] |
restructure code a bit: there are two potential issues worth asserting about in this code: 1) if the source range is bogus (begin loc after end loc), and 2) if the client is trying to highlight a range that is purely whitespace. It is possible to just silently ignore #2, but it seems like it is always a bug, so lets keep asserting on this condition, but with a better assert message. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95998 91177308-0d34-0410-b5e6-96231b3b80d8