Skip to content

Commit 0e10944

Browse files
author
David Ungar
committed
Format
1 parent e788217 commit 0e10944

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lib/AST/ASTContext.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5080,7 +5080,7 @@ LayoutConstraint LayoutConstraint::getLayoutConstraint(LayoutConstraintKind Kind
50805080
return LayoutConstraint(New);
50815081
}
50825082

5083-
Type &
5084-
ASTContext::getDefaultTypeRequestCache(SourceFile *SF, KnownProtocolKind kind) {
5083+
Type &ASTContext::getDefaultTypeRequestCache(SourceFile *SF,
5084+
KnownProtocolKind kind) {
50855085
return getImpl().DefaultTypeRequestCaches[SF][size_t(kind)];
50865086
}

lib/AST/TypeCheckRequests.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,7 @@ bool DefaultTypeRequest::isDependencyMissing(Type result) const {
480480
return false;
481481
}
482482

483-
void DefaultTypeRequest::cacheResult(Type value) const {
484-
getCache() = value;
485-
}
483+
void DefaultTypeRequest::cacheResult(Type value) const { getCache() = value; }
486484

487485
const char *
488486
DefaultTypeRequest::getTypeName(const KnownProtocolKind knownProtocolKind) {

0 commit comments

Comments
 (0)