Skip to content

Commit 45936f5

Browse files
committed
[gardening] Tweak comment wording
1 parent e08c317 commit 45936f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IDE/Formatting.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ class FormatWalker : public SourceEntityWalker {
668668
SiblingCollector SCollector;
669669

670670
/// Sometimes, target is a part of "parent", for instance, "#else" is a part
671-
/// of an ifconfigstmt, so that ifconfigstmt is not really the parent of "#else".
671+
/// of an IfConfigDecl, so that IfConfigDecl is not really the parent of "#else".
672672
bool isTargetPartOf(swift::ASTWalker::ParentTy Parent) {
673673
if (auto Conf = dyn_cast_or_null<IfConfigDecl>(Parent.getAsDecl())) {
674674
for (auto Clause : Conf->getClauses()) {

0 commit comments

Comments
 (0)