hanchenye-llvm-project/clang/unittests/Basic
Manuel Klimek 016c024ca4 Optionally demote fatal errors to non-fatal errors.
This behavior is enabled when the new CXTranslationUnit_KeepGoing
option is passed to clang_parseTranslationUnit{,2}. It is geared
towards use by IDEs and similar consumers of the clang-c API where
fatal errors may arise when parsing incomplete code mid-edit, or
when include paths are not properly configured yet. In such situations
one still wants to get as much information as possible about a TU.
Previously, the semantic analysis would not instantiate templates
or report additional fatal errors after the first fatal error was
encountered.

Fixes PR24268.

Patch by Milian Wolff.

llvm-svn: 262318
2016-03-01 10:56:19 +00:00
..
CMakeLists.txt
CharInfoTest.cpp
DiagnosticTest.cpp Optionally demote fatal errors to non-fatal errors. 2016-03-01 10:56:19 +00:00
FileManagerTest.cpp Add missing include. 2015-03-01 21:36:40 +00:00
SourceManagerTest.cpp Fix -Wextra-semi warnings. 2015-07-22 20:46:26 +00:00
VirtualFileSystemTest.cpp Revert "[VFS] Add 'overlay-relative' field to YAML files" and "[VFS] Fix call to getVFSFromYAML in unittests" 2016-02-23 07:06:12 +00:00