mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-26 17:57:07 +00:00
[flang] Added documentation explaining the use of std::list (flang-compiler/f18#988)
Original-commit: flang-compiler/f18@094f558907 Reviewed-on: https://github.com/flang-compiler/f18/pull/988
This commit is contained in:
parent
3064bdcce9
commit
232711df35
@ -166,6 +166,11 @@ assembled with C++ move semantics during parse tree construction.
|
||||
Their default and copy constructors are deliberately deleted in their
|
||||
declarations.
|
||||
|
||||
The std::list<> data type is used in the parse tree to reliably store pointers
|
||||
to other relevant entries in the tree. Since the tree lists are moved and
|
||||
spliced at certain points std::list<> provides the necessary guarantee of the
|
||||
stability of pointers into these lists.
|
||||
|
||||
There is a general purpose library by means of which parse trees may
|
||||
be traversed.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user