Skip to content

Commit 0b524ff

Browse files
committed
Modernize comments (NFC)
(cherry picked from commit 2d2341d)
1 parent dcf6d7d commit 0b524ff

File tree

1 file changed

+14
-20
lines changed

1 file changed

+14
-20
lines changed

lldb/source/Plugins/ExpressionParser/Swift/SwiftPersistentExpressionState.h

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,13 @@
3030

3131
namespace lldb_private {
3232

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
3734
/// expression invocations.
3835
///
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.
4340
class SwiftPersistentExpressionState : public PersistentExpressionState {
4441

4542
typedef llvm::StringMap<swift::AttributedImport<swift::ImportedModule>>
@@ -130,18 +127,15 @@ class SwiftPersistentExpressionState : public PersistentExpressionState {
130127
HandLoadedModuleSet GetHandLoadedModules() { return m_hand_loaded_modules; }
131128

132129
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;
145139
};
146140
} // namespace lldb_private
147141

0 commit comments

Comments
 (0)