summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-20 05:36:05 +0000
committerChris Lattner <sabre@nondot.org>2009-10-20 05:36:05 +0000
commitbd19b181008ebc1cdcec396d06fac96a0f28ffea (patch)
tree87090d0e16dbc1f2c797c474a28ece42c95f6f77 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7e858573a8bb2f4fdf2207832607234ab1e21b5e (diff)
Implement PR5242: don't desugar a type more than once in a diagnostic. This
implements a framework that allows us to use information about previously substituted values to simplify subsequent ones. Maybe this would be useful for C++'y stuff, who knows. We now get: t.c:4:21: error: invalid operands to binary expression ('size_t' (aka 'unsigned long *') and 'size_t') return (size_t) 0 + (size_t) 0; ~~~~~~~~~~ ^ ~~~~~~~~~~ on the testcase. Note that size_t is only aka'd once. llvm-svn: 84604
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions