Skip to content

Commit 6973b39

Browse files
Copilotgrendello
andcommitted
Fix XML documentation issues in LlvmIrVariable.cs
- Remove duplicate XML documentation comments for LlvmIrVariableReference and LlvmIrGlobalVariable - Add remarks sections documenting default values for WriteOptions and NumberFormat properties - Remove accidentally added extra closing brace Co-authored-by: grendello <184788+grendello@users.noreply.github.com>
1 parent 674f082 commit 6973b39

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/Xamarin.Android.Build.Tasks/Utilities/LlvmIrGenerator/LlvmIrVariable.cs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ enum LlvmIrVariableNumberFormat
4545
Decimal,
4646
}
4747

48-
/// <summary>
49-
/// Abstract base class for LLVM IR variable references.
50-
/// </summary>
5148
/// <summary>
5249
/// Abstract base class for LLVM IR variable references.
5350
/// </summary>
@@ -122,6 +119,9 @@ abstract class LlvmIrVariable : LlvmIrVariableReference, IEquatable<LlvmIrVariab
122119
/// <summary>
123120
/// Gets or sets the write options that control how this variable is output in LLVM IR.
124121
/// </summary>
122+
/// <remarks>
123+
/// Defaults to <see cref="LlvmIrVariableWriteOptions.ArrayWriteIndexComments"/>.
124+
/// </remarks>
125125
public LlvmIrVariableWriteOptions WriteOptions { get; set; } = LlvmIrVariableWriteOptions.ArrayWriteIndexComments;
126126

127127
/// <summary>
@@ -142,6 +142,9 @@ abstract class LlvmIrVariable : LlvmIrVariableReference, IEquatable<LlvmIrVariab
142142
/// <summary>
143143
/// Gets or sets the number format to use when writing numeric values.
144144
/// </summary>
145+
/// <remarks>
146+
/// Defaults to <see cref="LlvmIrVariableNumberFormat.Decimal"/>.
147+
/// </remarks>
145148
public LlvmIrVariableNumberFormat NumberFormat { get; set; } = LlvmIrVariableNumberFormat.Decimal;
146149

147150
/// <summary>
@@ -351,9 +354,6 @@ protected LlvmIrStreamedArrayDataProvider (Type arrayElementType)
351354
public abstract ulong GetTotalDataSize (LlvmIrModuleTarget target);
352355
}
353356

354-
/// <summary>
355-
/// Represents a global LLVM IR variable.
356-
/// </summary>
357357
/// <summary>
358358
/// Represents a global LLVM IR variable.
359359
/// </summary>
@@ -527,7 +527,6 @@ public LlvmIrStringVariable (string name, string value, LlvmIrStringEncoding enc
527527
: this (name, new StringHolder (value, encoding, comparison), options)
528528
{}
529529
}
530-
}
531530

532531
/// <summary>
533532
/// This is to address my dislike to have single-line variables separated by empty lines :P.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy