]> granicus.if.org Git - clang/commit
Introduce the notion of a single "delayed" diagnostic into the
authorDouglas Gregor <dgregor@apple.com>
Mon, 22 Mar 2010 15:10:57 +0000 (15:10 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 22 Mar 2010 15:10:57 +0000 (15:10 +0000)
commit93ea5cb0edf8e509c5113e70cb05ee247c9bdf6b
tree56a9397970221b1cbc8c95442675e223e977d5c3
parentc24d72154e95545dcd6d74c893082d11fd51053d
Introduce the notion of a single "delayed" diagnostic into the
Diagnostic subsystem, which is used in the rare case where we find a
serious problem (i.e., an inconsistency in the file system) while
we're busy formatting another diagnostic. In this case, the delayed
diagnostic will be emitted after we're done with the other
diagnostic. This is only to be used for fatal conditions detected at
very inconvenient times, where we can neither stop the current
diagnostic in flight nor can we suppress the second error.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99175 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
lib/Basic/Diagnostic.cpp
lib/Basic/SourceManager.cpp