Don't use end-of-line comments for the DebugInfoKind enum, NFC

These are long comments, and I find the new structure easier to read.
This commit is contained in:
Reid Kleckner 2019-11-15 14:06:23 -08:00
parent 98ceac4981
commit 905357440c
1 changed files with 24 additions and 18 deletions

View File

@ -18,24 +18,30 @@ enum DebugInfoFormat {
}; };
enum DebugInfoKind { enum DebugInfoKind {
NoDebugInfo, /// Don't generate debug info. /// Don't generate debug info.
LocTrackingOnly, /// Emit location information but do not generate NoDebugInfo,
/// debug info in the output. This is useful in
/// cases where the backend wants to track source /// Emit location information but do not generate debug info in the output.
/// locations for instructions without actually /// This is useful in cases where the backend wants to track source
/// emitting debug info for them (e.g., when -Rpass /// locations for instructions without actually emitting debug info for them
/// is used). /// (e.g., when -Rpass is used).
DebugDirectivesOnly, /// Emit only debug directives with the line numbers data LocTrackingOnly,
DebugLineTablesOnly, /// Emit only debug info necessary for generating
/// line number tables (-gline-tables-only). /// Emit only debug directives with the line numbers data
LimitedDebugInfo, /// Limit generated debug info to reduce size DebugDirectivesOnly,
/// (-fno-standalone-debug). This emits
/// forward decls for types that could be /// Emit only debug info necessary for generating line number tables
/// replaced with forward decls in the source /// (-gline-tables-only).
/// code. For dynamic C++ classes type info DebugLineTablesOnly,
/// is only emitted into the module that
/// contains the classe's vtable. /// Limit generated debug info to reduce size (-fno-standalone-debug). This
FullDebugInfo /// Generate complete debug info. /// emits forward decls for types that could be replaced with forward decls in
/// the source code. For dynamic C++ classes type info is only emitted into
/// the module that contains the classe's vtable.
LimitedDebugInfo,
/// Generate complete debug info.
FullDebugInfo
}; };
} // end namespace codegenoptions } // end namespace codegenoptions