summaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Merge topic 'refactor-conditions-evaluation'Brad King2021-08-068-474/+573
|\
| * Refactor: Move version compare op table out of the functionAlex Turbov2021-08-031-7/+7
| * Refactor: Remove redundant checks for `0` and `1` literalsAlex Turbov2021-08-031-9/+1
| * Refactor: Copy exactly required count of args and avoid `pop_back()`Alex Turbov2021-08-031-6/+7
| * Style: Better names of local vars for `IN_LIST` handlerAlex Turbov2021-08-031-4/+6
| * Refactor: Extract the logic of testing for special variable to funcAlex Turbov2021-08-031-14/+27
| * Refactor: Introduce `cmArgumentList` container classAlex Turbov2021-08-038-154/+262
| * Refactor: Reduce one more condition checking on handling math compareAlex Turbov2021-08-031-12/+13
| * Refactor: Avoid `if` → `else if` → … for compare operatorsAlex Turbov2021-08-032-62/+104
| * Refactor: Set `const` to `cmConditionEvaluator::IsKeyword` parametersAlex Turbov2021-08-032-3/+4
| * Refactor: No need to move iterators after matchAlex Turbov2021-08-031-40/+28
| * Refactor: Replace `std::to_string` w/ more specialized `bool2string`Alex Turbov2021-08-031-5/+9
| * Refactor: Reorder `MATCHES` handler from top below to the fail-fastAlex Turbov2021-08-031-18/+18
| * Refactor: Reduce variables scope in `HandleLevel2`Alex Turbov2021-08-031-14/+12
| * Refactor: Simplify boolean to string result assignmentsAlex Turbov2021-08-031-5/+4
| * Refactor: Replace `if` block w/ boolean expressionAlex Turbov2021-08-031-6/+2
| * Refactor: Avoid redundant `operator<<` on printing messagesAlex Turbov2021-08-031-9/+15
| * Refactor: Opt-out do+while loops and reduce nesting level in handlersAlex Turbov2021-08-031-309/+287
| * Refactor: Remove `reducible` flag from `handleLevelN()` functionsAlex Turbov2021-08-031-45/+45
| * Refactor: Make `cmConditionEvaluator::IsTrue` a bit more compactAlex Turbov2021-08-031-19/+13
| * Refactor: Generalize policy checking in `HandleLevel1`Alex Turbov2021-07-261-18/+25
| * Refactor: When handle predicates, there is no need to check 2nd argAlex Turbov2021-07-261-30/+34
| * Refactor: Initialize args vector from iterators instead of copyAlex Turbov2021-07-261-4/+2
| * Refactor: Speedup predicates and binary operationAlex Turbov2021-07-262-50/+61
| * Style: Add empty lines to increase readabilityAlex Turbov2021-07-261-0/+20
| * Refactor: Deduplicate code for `AND` and `OR` handling in `if()` commandAlex Turbov2021-07-261-16/+9
| * Refactor: Rewrite parenthesis scanner to avoid `if`sAlex Turbov2021-07-261-12/+5
| * Refactor: Make `HandleBinaryOp` and `HandlePredicate` free functionsAlex Turbov2021-07-262-70/+52
| * Refactor: More `auto` and constnessAlex Turbov2021-07-261-33/+27
| * Refactor: Make `IncrementArguments()` the free functionAlex Turbov2021-07-262-25/+22
| * Refactor: Turn the innter `while` loop in `HandleLevelN()` into `for`Alex Turbov2021-07-261-30/+10
| * Refactor: Turn `reducible` flag into booleanAlex Turbov2021-07-262-18/+18
| * Refactor: Use `cm::string_view` for static const literalsAlex Turbov2021-07-262-47/+50
| * Refactor: Opt-out `if` stataments to select 1st paramAlex Turbov2021-07-261-18/+10
| * Refactor: Add constnessAlex Turbov2021-07-261-10/+10
| * Refactor: Use anonymous namespace instead of `static` keyword for constsAlex Turbov2021-07-261-32/+34
* | Merge branch 'release-3.21'Brad King2021-08-060-0/+0
|\ \
| * \ Merge topic 'ninja-lwyu-ar' into release-3.21Brad King2021-08-065-1/+14
| |\ \
* | \ \ Merge topic 'ninja-lwyu-ar'Brad King2021-08-064-0/+10
|\ \ \ \
| * \ \ \ Merge branch 'backport-ninja-lwyu-ar' into ninja-lwyu-arBrad King2021-08-034-0/+10
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Ninja: Revert accidental LINK_WHAT_YOU_USE impl for static librariesĐoàn Trần Công Danh2021-08-035-1/+14
* | | | | Merge branch 'release-3.21'Brad King2021-08-060-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'release-3.20' into release-3.21Brad King2021-08-060-0/+0
| |\ \ \ \
* | \ \ \ \ Merge branch 'release-3.20'Brad King2021-08-060-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'macos-10.4' into release-3.20Brad King2021-08-021-1/+3
| |\ \ \ \ \
* | \ \ \ \ \ Merge branch 'release-3.21'Brad King2021-08-060-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'macos-10.4' into release-3.21Brad King2021-08-061-1/+3
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | |
* | | | | | | Merge topic 'macos-10.4'Brad King2021-08-061-1/+3
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | macOS: Restore support for Mac OS X 10.4 (Tiger)Evan Miller2021-08-021-1/+3
| | |/ / / / | |/| | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-08-061-1/+1