Skip to content

Commit a0609ae

Browse files
committed
Fix typos
Swift SVN r32158
1 parent 9fcf7f1 commit a0609ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/swift/AST/Decl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class alignas(1 << DeclAlignInBits) Decl {
288288

289289
/// \brief Whether this declaration was mapped directly from a Clang AST.
290290
///
291-
/// Use getClangAST() to retrieve the corresponding Clang AST.
291+
/// Use getClangNode() to retrieve the corresponding Clang AST.
292292
unsigned FromClang : 1;
293293

294294
/// \brief Whether we've already performed early attribute validation.

lib/Sema/CodeSynthesis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ void swift::addTrivialAccessorsToStorage(AbstractStorageDecl *storage,
941941

942942
// Always add a materializeForSet when we're creating trivial
943943
// accessors for a mutable stored property. We only do this when we
944-
// need to be able to access something polymorphicly, and we always
944+
// need to be able to access something polymorphically, and we always
945945
// want a materializeForSet in such situations.
946946
if (setter) {
947947
FuncDecl *materializeForSet = addMaterializeForSet(storage, TC);

0 commit comments

Comments
 (0)