summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkedTree.h
Commit message (Collapse)AuthorAgeFilesLines
* use CM_NULLPTRDaniel Pfeifer2016-06-281-1/+1
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-33/+17
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* cmLinkedTree: Add Pop methodBrad King2015-11-251-0/+21
| | | | | | | Add a method to increment an iterator (follow the "up" pointer) to the previous level in the stack of scopes and free storage of the top of the stack if possible. This will allow short-lived scopes to be created and destroyed by matching Push/Pop pairs without accumulating storage.
* cmLinkedTree: Rename 'Extend' method to 'Push'Brad King2015-11-251-6/+6
| | | | | | Logically the method pushes a nested scope on top of a given scope because the "up" pointer sequence forms a stack independent of any other branches of the tree.
* cmState: Make it possible to order cmState::Snapshot.Stephen Kelly2015-08-231-0/+7
|
* cmLinkedTree: Add Clear API.Stephen Kelly2015-08-021-0/+6
|
* cmLinkedTree: Add operator* to the iterator.Stephen Kelly2015-07-041-0/+18
|
* cmState: Extract a cmLinkedTree container adaptor.Stephen Kelly2015-06-041-0/+164
This will be used to contain most of the content of the cmState in several different trees. Refer to the BuildsystemDirectory state from the SnapshotData state. Currently these trees have the same structure, but that will change when we have more snapshot types.