Skip to content

Commit 5e38dee

Browse files
committed
---
yaml --- r: 346047 b: refs/heads/master c: d4d74e2 h: refs/heads/master i: 346045: 8a3a730 346043: 292e589 346039: 7ad33be 346031: c5b24db 346015: 17878df 345983: bc741be
1 parent f651897 commit 5e38dee

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 1d2db4f5682d033cf6d2ed169a6c3a06ca9b8bca
2+
refs/heads/master: d4d74e2fb47eb62ea985ec16310799d4cb71137f
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/tools/swift-api-digester/swift-api-digester.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2192,8 +2192,11 @@ static int readFileLineByLine(StringRef Path, llvm::StringSet<> &Lines) {
21922192
StringRef Line;
21932193
std::tie(Line, BufferText) = BufferText.split('\n');
21942194
Line = Line.trim();
2195-
if (!Line.empty())
2196-
Lines.insert(Line);
2195+
if (Line.empty())
2196+
continue;
2197+
if (Line.startswith("// ")) // comment.
2198+
continue;
2199+
Lines.insert(Line);
21972200
}
21982201
return 0;
21992202
}

0 commit comments

Comments
 (0)