aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-04-14 22:19:45 +0000
committerDouglas Gregor <dgregor@apple.com>2010-04-14 22:19:45 +0000
commit2d2d90750cfc4e11c3879c4bf7f913980a325575 (patch)
tree2d78c089ab73df78b14d203527a117fa339e9d26 /llvm/lib/CodeGen/MachineFunction.cpp
parent99bfbca6ec232c0ee876c5843ffe63fcd9ec724b (diff)
downloadllvm-2d2d90750cfc4e11c3879c4bf7f913980a325575.zip
llvm-2d2d90750cfc4e11c3879c4bf7f913980a325575.tar.gz
llvm-2d2d90750cfc4e11c3879c4bf7f913980a325575.tar.bz2
Once we've emitted a fatal diagnostic, keep counting errors but with a
separate count of "suppressed" errors. This way, semantic analysis bits that depend on the error count to determine whether problems occured (e.g., some template argument deduction failures, jump-scope checking) will not get confused. The actual problem here is that a missing #include (which is a fatal error) could cause the jump-scope checker to run on invalid code, which it is not prepared to do. Trivial fix for both <rdar://problem/7775941> and <rdar://problem/7775709>. llvm-svn: 101297
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions