summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/invalid-analyzer-config-value.c
Commit message (Collapse)AuthorAgeFilesLines
* [driver] [analyzer] Fix --analyze -Xanalyzer after r349863.Artem Dergachev2018-12-211-0/+4
| | | | | | | | | | | | | | If an -analyzer-config is passed through -Xanalyzer, it is not found while looking for -Xclang. Additionally, don't emit -analyzer-config-compatibility-mode for *every* -analyzer-config flag we encounter; one is enough. https://reviews.llvm.org/D55823 rdar://problem/46504165 llvm-svn: 349866
* Revert "Revert "[driver] [analyzer] Fix a backward compatibility issue after ↵George Karpenkov2018-12-211-0/+5
| | | | | | | | | | r348038."" This reverts commit 144927939587b790c0536f4ff08245043fc8d733. Fixes the bug in the original commit. llvm-svn: 349863
* Revert "[driver] [analyzer] Fix a backward compatibility issue after r348038."Artem Dergachev2018-12-201-5/+0
| | | | | | | | | | | | This reverts commits r349824, r349828, r349835. More buildbot failures were noticed. Differential Revision: https://reviews.llvm.org/D55823 rdar://problem/46504165 llvm-svn: 349843
* [driver] [analyzer] Fix redundant test output.Artem Dergachev2018-12-201-1/+2
| | | | | | | | | | | The -c flag causes a .o file to appear every time we run a test. Remove it. Differential Revision: https://reviews.llvm.org/D55823 rdar://problem/46504165 llvm-svn: 349835
* [driver] [analyzer] Fix buildbots after r349824.Artem Dergachev2018-12-201-1/+1
| | | | | | | | | | Buildbots can't find the linker, which we don't really need in our tests. Differential Revision: https://reviews.llvm.org/D55823 rdar://problem/46504165 llvm-svn: 349828
* [driver] [analyzer] Fix a backward compatibility issue after r348038.Artem Dergachev2018-12-201-0/+4
| | | | | | | | | | | | | | | | | | | Since r348038 we emit an error every time an -analyzer-config option is not found. The driver, however, suppresses this error with another flag, -analyzer-config-compatibility-mode, so backwards compatibility is maintained, while analyzer developers still enjoy the new typo-free experience. The backwards compatibility turns out to be still broken when the -analyze action is not specified; it is still possible to specify -analyzer-config in that case. This should be fixed now. Patch by Kristóf Umann! Differential Revision: https://reviews.llvm.org/D55823 rdar://problem/46504165 llvm-svn: 349824
* [analyzer] Emit an error for invalid -analyzer-config inputsKristof Umann2018-11-301-0/+71
Differential Revision: https://reviews.llvm.org/D53280 llvm-svn: 348038
OpenPOWER on IntegriCloud