summaryrefslogtreecommitdiffstats
path: root/clang/test/Tooling/clang-check-analyzer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Tooling] Allow -flto flags and filter out -Wa, flagsChih-Hung Hsieh2018-08-221-0/+3
| | | | | | | | | | | | | This change fixes the problem in https://bugs.llvm.org/show_bug.cgi?id=38332 by allowing driver::Action::BackendJobClass to run with the analyzer. Otherwise, such jobs will look up the non-existing compilation database and then run without flags. Also filter out the -Wa,* flags that could be passed to and ignored by the clang compiler. Clang-tidy gives warnings about unused -Wa,* flags. Differential Revision: http://reviews.llvm.org/D51002 llvm-svn: 340421
* int function without a return statement is invalid C++.Artyom Skrobov2015-11-271-1/+1
| | | | | | Changing the return type to void. llvm-svn: 254206
* Add support for static analysis to clang-checkPavel Labath2013-06-061-0/+4
Summary: This adds a command line argument '-analyze' to clang-check which runs the clang static analyzer on the source files. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D926 llvm-svn: 183399
OpenPOWER on IntegriCloud