|
30 | 30 |
|
31 | 31 | namespace lldb_private {
|
32 | 32 |
|
33 |
| -//---------------------------------------------------------------------- |
34 |
| -/// @class SwiftPersistentExpressionState SwiftPersistentExpressionState.h |
35 |
| -/// "lldb/Expression/SwiftPersistentExpressionState.h" |
36 |
| -/// @brief Manages persistent values that need to be preserved between |
| 33 | +/// Manages persistent values that need to be preserved between |
37 | 34 | /// expression invocations.
|
38 | 35 | ///
|
39 |
| -/// A list of variables that can be accessed and updated by any expression. See |
40 |
| -/// ClangPersistentVariable for more discussion. Also provides an increasing, |
41 |
| -/// 0-based counter for naming result variables. |
42 |
| -//---------------------------------------------------------------------- |
| 36 | +/// A list of variables that can be accessed and updated by any |
| 37 | +/// expression. See \ref ClangPersistentVariable for more discussion. |
| 38 | +/// Also provides an increasing, 0-based counter for naming result |
| 39 | +/// variables. |
43 | 40 | class SwiftPersistentExpressionState : public PersistentExpressionState {
|
44 | 41 |
|
45 | 42 | typedef llvm::StringMap<swift::AttributedImport<swift::ImportedModule>>
|
@@ -130,18 +127,15 @@ class SwiftPersistentExpressionState : public PersistentExpressionState {
|
130 | 127 | HandLoadedModuleSet GetHandLoadedModules() { return m_hand_loaded_modules; }
|
131 | 128 |
|
132 | 129 | private:
|
133 |
| - uint32_t m_next_persistent_variable_id; ///< The counter used by |
134 |
| - /// GetNextResultName(). |
135 |
| - uint32_t m_next_persistent_error_id; ///< The counter used by |
136 |
| - /// GetNextResultName() when is_error is |
137 |
| - /// true. |
138 |
| - |
139 |
| - SwiftDeclMap m_swift_persistent_decls; ///< The persistent functions declared |
140 |
| - /// by the user. |
141 |
| - |
142 |
| - HandLoadedModuleSet m_hand_loaded_modules; ///< These are the names of modules |
143 |
| - /// that we have loaded by |
144 |
| - ///< hand into the Contexts we make for parsing. |
| 130 | + /// The counter used by GetNextResultName(). |
| 131 | + uint32_t m_next_persistent_variable_id; |
| 132 | + /// The counter used by GetNextResultName() when is_error is true. |
| 133 | + uint32_t m_next_persistent_error_id; |
| 134 | + /// The persistent functions declared by the user. |
| 135 | + SwiftDeclMap m_swift_persistent_decls; |
| 136 | + /// These are the names of modules that we have loaded by hand into |
| 137 | + /// the Contexts we make for parsing. |
| 138 | + HandLoadedModuleSet m_hand_loaded_modules; |
145 | 139 | };
|
146 | 140 | } // namespace lldb_private
|
147 | 141 |
|
|
0 commit comments