Provides a common hierarchy of all types of errors that can occur during extraction.
Provides classes and predicates for working with C/C++ code.
Superclass for the extraction error hierarchy.
A recoverable extraction error. These are compiler errors from the frontend. Upon encountering one of these, we still continue extraction, but the database will be incomplete for that file.
An unknown error happened during extraction. These are only displayed if we know that we encountered an error during extraction, but, for some reason, failed to emit a proper diagnostic with location information and error message.
An unrecoverable extraction error, where extraction was unable to finish. This can be caused by a multitude of reasons, for example: - hitting a frontend assertion - crashing due to dereferencing an invalid pointer - stack overflow - out of memory
An error that, if present, leads to a file being marked as non-successfully extracted.