Skip to content

Commit fe586fa

Browse files
authored
Merge pull request #5960 from practicalswift/doxygen-fixes
[gardening] Use proper doxygen comments (///)
2 parents 30dd1a9 + 7d41257 commit fe586fa

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

include/swift/SIL/SILCloner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ SILCloner<ImplClass>::postProcess(SILInstruction *Orig,
379379
InstructionMap.insert(std::make_pair(Orig, Cloned));
380380
}
381381

382-
// \brief Recursively visit a callee's BBs in depth-first preorder (only
382+
/// \brief Recursively visit a callee's BBs in depth-first preorder (only
383383
/// processing blocks on the first visit), mapping newly visited BBs to new BBs
384384
/// in the caller and cloning all instructions into the caller other than
385385
/// terminators which should be handled separately later by subclasses

lib/SILOptimizer/LoopTransforms/COWArrayOpt.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -359,14 +359,14 @@ class COWArrayOpt {
359359
// make_mutable calls are required within the loop body for that array.
360360
llvm::SmallDenseMap<SILValue, ApplyInst*> ArrayMakeMutableMap;
361361

362-
// \brief Transient per-Array user set.
363-
//
364-
// Track all known array users with the exception of struct_extract users
365-
// (checkSafeArrayElementUse prohibits struct_extract users from mutating the
366-
// array). During analysis of retains/releases within the loop body, the
367-
// users in this set are assumed to cover all possible mutating operations on
368-
// the array. If the array escaped through an unknown use, the analysis must
369-
// abort earlier.
362+
/// \brief Transient per-Array user set.
363+
///
364+
/// Track all known array users with the exception of struct_extract users
365+
/// (checkSafeArrayElementUse prohibits struct_extract users from mutating the
366+
/// array). During analysis of retains/releases within the loop body, the
367+
/// users in this set are assumed to cover all possible mutating operations on
368+
/// the array. If the array escaped through an unknown use, the analysis must
369+
/// abort earlier.
370370
SmallPtrSet<SILInstruction*, 8> ArrayUserSet;
371371

372372
// When matching retains to releases we must not match the same release twice.
@@ -466,8 +466,8 @@ SmallPtrSetImpl<SILBasicBlock*> &COWArrayOpt::getReachingBlocks() {
466466
}
467467

468468

469-
// \return true if the instruction is a call to a non-mutating array semantic
470-
// function.
469+
/// \return true if the instruction is a call to a non-mutating array semantic
470+
/// function.
471471
static bool isNonMutatingArraySemanticCall(SILInstruction *Inst) {
472472
ArraySemanticsCall Call(Inst);
473473
if (!Call)

lib/Sema/ConstraintSystem.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,9 +1553,9 @@ class ConstraintSystem {
15531553
void assignFixedType(TypeVariableType *typeVar, Type type,
15541554
bool updateState = true);
15551555

1556-
// \brief Set the TVO_MustBeMaterializable bit on all type variables
1557-
// necessary to ensure that the type in question is materializable in a
1558-
// viable solution.
1556+
/// \brief Set the TVO_MustBeMaterializable bit on all type variables
1557+
/// necessary to ensure that the type in question is materializable in a
1558+
/// viable solution.
15591559
void setMustBeMaterializableRecursive(Type type);
15601560

15611561
/// \brief Determine if the type in question is an Array<T>.

0 commit comments

Comments
 (0)