summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Initialize the usage stack earlierBen Boeckel2010-09-221-14/+2
|
* Factor out the checks for unused variablesBen Boeckel2010-09-222-9/+19
|
* When using the API, check for Add vs. RemoveBen Boeckel2010-09-171-1/+8
|
* Fix typo in VariableUnusedViaUnset testBen Boeckel2010-09-171-1/+1
|
* Remove old false positive avoidance codeBen Boeckel2010-09-171-4/+0
| | | | | | | | | | | | From email explaining existence in the first place: This is from before when the used checks throwing false positives about unused due to changing the definition without checking whether it *had* a value to begin with and me not realizing they were false positives. I was thinking that it was warning from ARGC et. al. not being used since the previous macro or function call and the new value warning about overwriting the old value.
* Revert "Add test for unused warnings at the end of scope"Ben Boeckel2010-09-172-17/+0
| | | | | | | This reverts commit 91c4c9921c40361df860c1384a46ed77c6118c23. The test doesn't work yet and should not have been put on this branch yet.
* Exempt CMAKE(CURRENT|PARENT)_LIST_FILE from usageBen Boeckel2010-09-161-0/+6
|
* Ignore CLI warnings for ABI determinationBen Boeckel2010-09-161-0/+4
|
* Only return local keys that are definedBen Boeckel2010-09-161-1/+4
|
* Use the API so that warnings can be trackedBen Boeckel2010-09-161-1/+1
|
* Check for unused variables in the dtorBen Boeckel2010-09-161-0/+9
|
* Add test for unused warnings at the end of scopeBen Boeckel2010-09-162-0/+17
|
* Fix detection of unused variables when settingBen Boeckel2010-09-161-3/+3
|
* Add test for unused detection via setting itBen Boeckel2010-09-162-0/+19
|
* Don't warn if the variable wasn't definedBen Boeckel2010-09-161-1/+6
|
* Add test for usage checks via unsetBen Boeckel2010-09-162-0/+23
|
* Remove VarRemoved code since it's been supercededBen Boeckel2010-09-162-15/+0
|
* Rework CheckVariableForUnused usageBen Boeckel2010-09-162-5/+7
|
* Fix line lengths to be no more than 78Ben Boeckel2010-09-164-14/+26
|
* Improve unused warning logicBen Boeckel2010-09-151-4/+4
| | | | Only warn when changing the definition of an initialized variable.
* Mark ARGC, ARGV*, and ARGN as usedBen Boeckel2010-09-151-0/+8
|
* Ignore CMAKE_MATCH_* variables for usageBen Boeckel2010-09-151-0/+2
|
* Add method to allow variables to be marked as usedBen Boeckel2010-09-152-0/+7
|
* CMAKE_DO_TRY_COMPILE is no longer usedBen Boeckel2010-09-141-3/+1
|
* Fix the path used for ignoring system warningsBen Boeckel2010-09-141-4/+3
|
* Fix missing case for usage of a variableBen Boeckel2010-09-141-0/+1
|
* Factor out checks for unused variablesBen Boeckel2010-09-142-18/+36
|
* Remove now unused variablesBen Boeckel2010-09-081-2/+0
|
* Use built-ins for readability and maintainabilityBen Boeckel2010-09-082-6/+7
|
* Push the initialize and unused states when copyingBen Boeckel2010-09-071-0/+2
|
* Be consistent with single and double quotesBen Boeckel2010-09-022-4/+4
|
* Add documentation for check-system-varsBen Boeckel2010-09-021-0/+3
|
* Fix the spelling of the flag for warn-unused-varsBen Boeckel2010-09-021-1/+1
|
* Change logic of flag to turn off cli unused checksBen Boeckel2010-09-022-5/+5
| | | | | Since we default to checking unused cli variables, make the flag turn off the checks.
* Add test for uninitialized variablesBen Boeckel2010-09-021-0/+13
|
* Add tests for unused command line variablesBen Boeckel2010-09-022-0/+29
|
* Fix detection of system filesBen Boeckel2010-09-022-4/+7
| | | | | Instead of looking to see if the file is under CMAKE_ROOT, check to see if it is instead under the source or binary directories in use.
* Run the unused variables check on the final passBen Boeckel2010-09-023-15/+23
|
* VariableWatch is not available when bootstrappingBen Boeckel2010-09-021-0/+4
|
* Add a missing comma to the warning messageBen Boeckel2010-09-011-2/+2
|
* Add a flag to warn about system filesBen Boeckel2010-09-016-7/+32
|
* Rename flags again and use variablewatch for cliBen Boeckel2010-09-019-38/+47
|
* Add warn-unused to the Qt interfaceBen Boeckel2010-09-014-0/+34
|
* Default to marking things as usedBen Boeckel2010-09-012-3/+2
| | | | | | | | | | If we don't then: cmake --warn-unused --warn-unused-all acts differently than: cmake --warn-unused-all --warn-unused
* Rename find-unused to warn-unusedBen Boeckel2010-09-015-19/+19
|
* Rename strict-mode to warn-uninitializedBen Boeckel2010-09-019-28/+27
|
* Detect unused variablesBen Boeckel2010-09-012-2/+69
|
* Add flags to detect unused variablesBen Boeckel2010-09-013-0/+24
|
* Complete strict-mode checks for uninitialized varsBen Boeckel2010-09-013-2/+37
|
* Add method to get the local scope variablesBen Boeckel2010-09-012-0/+16
|