Skip to content

Commit 015ceef

Browse files
authored
Merge pull request #15925 from benlangmuir/minor-cleanups
2 parents f31dba3 + 45936f5 commit 015ceef

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
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()) {

tools/SourceKit/tools/complete-test/complete-test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ static sourcekitd_uid_t KeyRequest;
6464
static sourcekitd_uid_t KeyCompilerArgs;
6565
static sourcekitd_uid_t KeyOffset;
6666
static sourcekitd_uid_t KeyLength;
67-
static sourcekitd_uid_t KeyActionable;
6867
static sourcekitd_uid_t KeySourceFile;
6968
static sourcekitd_uid_t KeySourceText;
7069
static sourcekitd_uid_t KeyName;
@@ -286,7 +285,6 @@ static int skt_main(int argc, const char **argv) {
286285
KeyCompilerArgs = sourcekitd_uid_get_from_cstr("key.compilerargs");
287286
KeyOffset = sourcekitd_uid_get_from_cstr("key.offset");
288287
KeyLength = sourcekitd_uid_get_from_cstr("key.length");
289-
KeyActionable = sourcekitd_uid_get_from_cstr("key.actionable");
290288
KeyKind = sourcekitd_uid_get_from_cstr("key.kind");
291289
KeyCodeCompleteOptions =
292290
sourcekitd_uid_get_from_cstr("key.codecomplete.options");

utils/gyb_sourcekit_support/UIDs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ def __init__(self, internal_name, external_name):
125125
KEY('Names', 'key.names'),
126126
KEY('UIDs', 'key.uids'),
127127
KEY('SyntacticOnly', 'key.syntactic_only'),
128-
KEY('Actionable', 'key.actionable'),
129128
KEY('ParentLoc', 'key.parent_loc'),
130129
KEY('IsTestCandidate', 'key.is_test_candidate'),
131130
KEY('Overrides', 'key.overrides'),

0 commit comments

Comments
 (0)