Skip to content

Commit f9f0a3f

Browse files
committed
---
yaml --- r: 334845 b: refs/heads/rxwei-patch-1 c: 92faaae h: refs/heads/master i: 334843: 1a9abee
1 parent 0973d5a commit f9f0a3f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-08-18-a: b10b1fce14385faa6d44f6b933e95
10151015
refs/heads/rdar-43033749-fix-batch-mode-no-diags-swift-5.0-branch: a14e64eaad30de89f0f5f0b2a782eed7ecdcb255
10161016
refs/heads/revert-19006-error-bridging-integer-type: 8a9065a3696535305ea53fe9b71f91cbe6702019
10171017
refs/heads/revert-19050-revert-19006-error-bridging-integer-type: ecf752d54b05dd0a20f510f0bfa54a3fec3bcaca
1018-
refs/heads/rxwei-patch-1: 2fd4e2d9de5278b07bf5c4fef204ffeeb8948200
1018+
refs/heads/rxwei-patch-1: 92faaae093897d348cea9baa20a19e2915c15ec4
10191019
refs/heads/shahmishal-patch-1: e58ec0f7488258d42bef51bc3e6d7b3dc74d7b2a
10201020
refs/heads/typelist-existential: 4046359efd541fb5c72d69a92eefc0a784df8f5e
10211021
refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a: 4319ba09e4fb8650ee86061075c74a016b6baab9

branches/rxwei-patch-1/lib/AST/NameLookup.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,11 +1341,11 @@ namespace {
13411341
using PerScopeLookupState = ExpUnqualifiedLookup::PerScopeLookupState;
13421342

13431343
const DeclName Name;
1344-
DeclContext *const DC; // NOT CONST
1344+
DeclContext *const DC;
13451345
ModuleDecl &M;
1346-
ASTContext &Ctx;
1346+
const ASTContext &Ctx;
13471347
LazyResolver *const TypeResolver;
1348-
SourceLoc Loc;
1348+
const SourceLoc Loc;
13491349
const SourceManager &SM;
13501350
/// Used to find the file-local names.
13511351
DebuggerClient *const DebugClient;
@@ -1356,6 +1356,8 @@ namespace {
13561356
Optional<bool> isCascadingUse; // CLEAN ME UP
13571357
SmallVectorImpl<LookupResultEntry> &Results;
13581358
size_t &IndexOfFirstOuterResult;
1359+
1360+
// For debugging:
13591361
SourceFile const *&recordedSF;
13601362
DeclName &recordedName;
13611363
bool &recordedIsCascadingUse;

0 commit comments

Comments
 (0)