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.
1 parent 01d3e10 commit fda5ad0Copy full SHA for fda5ad0
llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
@@ -83,8 +83,8 @@ static std::vector<RecordWithSpelling>
83
getSpellings(ArrayRef<const Record *> Records) {
84
std::vector<RecordWithSpelling> List;
85
for (const Record *R : Records) {
86
- Clause C(R);
87
- llvm::transform(C.getSpellings(), std::back_inserter(List),
+ BaseRecord Rec(R);
+ llvm::transform(Rec.getSpellings(), std::back_inserter(List),
88
[R](Spelling::Value V) { return std::make_pair(R, V); });
89
}
90
return List;
0 commit comments