Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Initialize the usage stack earlier | Ben Boeckel | 2010-09-22 | 1 | -14/+2 |
| | |||||
* | Factor out the checks for unused variables | Ben Boeckel | 2010-09-22 | 2 | -9/+19 |
| | |||||
* | When using the API, check for Add vs. Remove | Ben Boeckel | 2010-09-17 | 1 | -1/+8 |
| | |||||
* | Fix typo in VariableUnusedViaUnset test | Ben Boeckel | 2010-09-17 | 1 | -1/+1 |
| | |||||
* | Remove old false positive avoidance code | Ben Boeckel | 2010-09-17 | 1 | -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 Boeckel | 2010-09-17 | 2 | -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 usage | Ben Boeckel | 2010-09-16 | 1 | -0/+6 |
| | |||||
* | Ignore CLI warnings for ABI determination | Ben Boeckel | 2010-09-16 | 1 | -0/+4 |
| | |||||
* | Only return local keys that are defined | Ben Boeckel | 2010-09-16 | 1 | -1/+4 |
| | |||||
* | Use the API so that warnings can be tracked | Ben Boeckel | 2010-09-16 | 1 | -1/+1 |
| | |||||
* | Check for unused variables in the dtor | Ben Boeckel | 2010-09-16 | 1 | -0/+9 |
| | |||||
* | Add test for unused warnings at the end of scope | Ben Boeckel | 2010-09-16 | 2 | -0/+17 |
| | |||||
* | Fix detection of unused variables when setting | Ben Boeckel | 2010-09-16 | 1 | -3/+3 |
| | |||||
* | Add test for unused detection via setting it | Ben Boeckel | 2010-09-16 | 2 | -0/+19 |
| | |||||
* | Don't warn if the variable wasn't defined | Ben Boeckel | 2010-09-16 | 1 | -1/+6 |
| | |||||
* | Add test for usage checks via unset | Ben Boeckel | 2010-09-16 | 2 | -0/+23 |
| | |||||
* | Remove VarRemoved code since it's been superceded | Ben Boeckel | 2010-09-16 | 2 | -15/+0 |
| | |||||
* | Rework CheckVariableForUnused usage | Ben Boeckel | 2010-09-16 | 2 | -5/+7 |
| | |||||
* | Fix line lengths to be no more than 78 | Ben Boeckel | 2010-09-16 | 4 | -14/+26 |
| | |||||
* | Improve unused warning logic | Ben Boeckel | 2010-09-15 | 1 | -4/+4 |
| | | | | Only warn when changing the definition of an initialized variable. | ||||
* | Mark ARGC, ARGV*, and ARGN as used | Ben Boeckel | 2010-09-15 | 1 | -0/+8 |
| | |||||
* | Ignore CMAKE_MATCH_* variables for usage | Ben Boeckel | 2010-09-15 | 1 | -0/+2 |
| | |||||
* | Add method to allow variables to be marked as used | Ben Boeckel | 2010-09-15 | 2 | -0/+7 |
| | |||||
* | CMAKE_DO_TRY_COMPILE is no longer used | Ben Boeckel | 2010-09-14 | 1 | -3/+1 |
| | |||||
* | Fix the path used for ignoring system warnings | Ben Boeckel | 2010-09-14 | 1 | -4/+3 |
| | |||||
* | Fix missing case for usage of a variable | Ben Boeckel | 2010-09-14 | 1 | -0/+1 |
| | |||||
* | Factor out checks for unused variables | Ben Boeckel | 2010-09-14 | 2 | -18/+36 |
| | |||||
* | Remove now unused variables | Ben Boeckel | 2010-09-08 | 1 | -2/+0 |
| | |||||
* | Use built-ins for readability and maintainability | Ben Boeckel | 2010-09-08 | 2 | -6/+7 |
| | |||||
* | Push the initialize and unused states when copying | Ben Boeckel | 2010-09-07 | 1 | -0/+2 |
| | |||||
* | Be consistent with single and double quotes | Ben Boeckel | 2010-09-02 | 2 | -4/+4 |
| | |||||
* | Add documentation for check-system-vars | Ben Boeckel | 2010-09-02 | 1 | -0/+3 |
| | |||||
* | Fix the spelling of the flag for warn-unused-vars | Ben Boeckel | 2010-09-02 | 1 | -1/+1 |
| | |||||
* | Change logic of flag to turn off cli unused checks | Ben Boeckel | 2010-09-02 | 2 | -5/+5 |
| | | | | | Since we default to checking unused cli variables, make the flag turn off the checks. | ||||
* | Add test for uninitialized variables | Ben Boeckel | 2010-09-02 | 1 | -0/+13 |
| | |||||
* | Add tests for unused command line variables | Ben Boeckel | 2010-09-02 | 2 | -0/+29 |
| | |||||
* | Fix detection of system files | Ben Boeckel | 2010-09-02 | 2 | -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 pass | Ben Boeckel | 2010-09-02 | 3 | -15/+23 |
| | |||||
* | VariableWatch is not available when bootstrapping | Ben Boeckel | 2010-09-02 | 1 | -0/+4 |
| | |||||
* | Add a missing comma to the warning message | Ben Boeckel | 2010-09-01 | 1 | -2/+2 |
| | |||||
* | Add a flag to warn about system files | Ben Boeckel | 2010-09-01 | 6 | -7/+32 |
| | |||||
* | Rename flags again and use variablewatch for cli | Ben Boeckel | 2010-09-01 | 9 | -38/+47 |
| | |||||
* | Add warn-unused to the Qt interface | Ben Boeckel | 2010-09-01 | 4 | -0/+34 |
| | |||||
* | Default to marking things as used | Ben Boeckel | 2010-09-01 | 2 | -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-unused | Ben Boeckel | 2010-09-01 | 5 | -19/+19 |
| | |||||
* | Rename strict-mode to warn-uninitialized | Ben Boeckel | 2010-09-01 | 9 | -28/+27 |
| | |||||
* | Detect unused variables | Ben Boeckel | 2010-09-01 | 2 | -2/+69 |
| | |||||
* | Add flags to detect unused variables | Ben Boeckel | 2010-09-01 | 3 | -0/+24 |
| | |||||
* | Complete strict-mode checks for uninitialized vars | Ben Boeckel | 2010-09-01 | 3 | -2/+37 |
| | |||||
* | Add method to get the local scope variables | Ben Boeckel | 2010-09-01 | 2 | -0/+16 |
| |