Skip to content

Modernize comments (NFC) #7123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,13 @@

namespace lldb_private {

//----------------------------------------------------------------------
/// @class SwiftPersistentExpressionState SwiftPersistentExpressionState.h
/// "lldb/Expression/SwiftPersistentExpressionState.h"
/// @brief Manages persistent values that need to be preserved between
/// Manages persistent values that need to be preserved between
/// expression invocations.
///
/// A list of variables that can be accessed and updated by any expression. See
/// ClangPersistentVariable for more discussion. Also provides an increasing,
/// 0-based counter for naming result variables.
//----------------------------------------------------------------------
/// A list of variables that can be accessed and updated by any
/// expression. See \ref ClangPersistentVariable for more discussion.
/// Also provides an increasing, 0-based counter for naming result
/// variables.
class SwiftPersistentExpressionState : public PersistentExpressionState {

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

private:
uint32_t m_next_persistent_variable_id; ///< The counter used by
/// GetNextResultName().
uint32_t m_next_persistent_error_id; ///< The counter used by
/// GetNextResultName() when is_error is
/// true.

SwiftDeclMap m_swift_persistent_decls; ///< The persistent functions declared
/// by the user.

HandLoadedModuleSet m_hand_loaded_modules; ///< These are the names of modules
/// that we have loaded by
///< hand into the Contexts we make for parsing.
/// The counter used by GetNextResultName().
uint32_t m_next_persistent_variable_id;
/// The counter used by GetNextResultName() when is_error is true.
uint32_t m_next_persistent_error_id;
/// The persistent functions declared by the user.
SwiftDeclMap m_swift_persistent_decls;
/// These are the names of modules that we have loaded by hand into
/// the Contexts we make for parsing.
HandLoadedModuleSet m_hand_loaded_modules;
};
} // namespace lldb_private

Expand Down