diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-12 18:52:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-12 18:52:52 +0000 |
commit | fc38aa7091bd977cc82fa9f1497bffab865a2a31 (patch) | |
tree | b34898e9ba262cd63b922a715ddf99dd0676f1fb /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 30d99f4b9b6aeab0235d6b523ab5d32e47bf7013 (diff) | |
download | llvm-fc38aa7091bd977cc82fa9f1497bffab865a2a31.zip llvm-fc38aa7091bd977cc82fa9f1497bffab865a2a31.tar.gz llvm-fc38aa7091bd977cc82fa9f1497bffab865a2a31.tar.bz2 |
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.
llvm-svn: 95998
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions