Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Optionally demote fatal errors to non-fatal errors. | Manuel Klimek | 2016-03-01 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). | Alexander Kornienko | 2015-06-22 | 1 | -1/+1 |
| | | | | llvm-svn: 240353 | ||||
* | Fixed/added namespace ending comments using clang-tidy. NFC | Alexander Kornienko | 2015-06-22 | 1 | -1/+1 |
| | | | | | | | | | | | | The patch is generated using this command: $ tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ work/llvm/tools/clang To reduce churn, not touching namespaces spanning less than 10 lines. llvm-svn: 240270 | ||||
* | Make DiagnosticErrorTrap work even if SuppressAllDiagnostics is enabled. | Richard Smith | 2014-12-05 | 1 | -0/+49 |
Patch by Brad King! llvm-svn: 223525 |