We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Tag
TrapLabel
1 parent f1413f2 commit ddb567bCopy full SHA for ddb567b
swift/extractor/SwiftExtractor.cpp
@@ -79,7 +79,7 @@ static void extractFile(const SwiftExtractorConfiguration& config, swift::Source
79
80
TrapOutput trap{trapStream};
81
TrapArena arena{};
82
- auto label = arena.allocateLabel<File::Tag>();
+ auto label = arena.allocateLabel<FileTag>();
83
trap.assignStar(label);
84
File f{};
85
f.id = label;
swift/extractor/trap/TrapLabel.h
@@ -59,10 +59,8 @@ inline auto trapQuoted(const std::string& s) {
59
return std::quoted(s, '"', '"');
60
}
61
62
-template <typename TagParam>
+template <typename Tag>
63
struct Binding {
64
- using Tag = TagParam;
65
-
66
TrapLabel<Tag> id;
67
};
68
0 commit comments