summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/misc/MacroRepeatedSideEffectsCheck.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Fix misc-macro-repeated-side-effects false positive with ↵Alexander Kornienko2016-04-231-0/+11
| | | | | | stringified arguments llvm-svn: 267254
* [clang-tidy] Remove unnecessary getName() on Decls and Types feeding into a ↵Benjamin Kramer2016-04-071-2/+2
| | | | | | | | | | DiagnosticBuilder Going through a string removes some of the smarts of the diagnosic printer and makes the code more complicated. This change has some cosmetic impact on the output but that's mostly minor. llvm-svn: 265680
* [clang-tidy] Enhance clang-tidy misc-macro-repeated-side-effects...Daniel Marjamaki2015-07-021-18/+50
| | | | | | | | | | | Enhance clang-tidy misc-macro-repeated-side-effects to handle ? and : better. When ? is used in a macro, there are 2 possible control flow paths through the macro. These paths are tracked separately so problems can be detected properly. http://reviews.llvm.org/D10653 llvm-svn: 241245
* clang-tidy: Remove an unused private field. NFCJustin Bogner2015-06-181-5/+3
| | | | | | Clang was warning on this. llvm-svn: 239988
* clang-tidy: Add checker that warn when macro argument with side effects is ↵Daniel Marjamaki2015-06-171-0/+143
repeated in the macro llvm-svn: 239909
OpenPOWER on IntegriCloud