================ @@ -77,6 +77,19 @@ static std::string getIdentifierName(const Record *Rec, StringRef Prefix) { return Prefix.str() + BaseRecord(Rec).getFormattedName(); } +using RecordWithSpelling = std::pair<const Record *, Spelling::Value>; + +static std::vector<RecordWithSpelling> +getSpellings(ArrayRef<const Record *> Records) { ---------------- tblah wrote:
```suggestion getClauseSpellings(ArrayRef<const Record *> Records) { ``` Otherwise it isn't obvious that this only works with clauses and not directives too. https://github.com/llvm/llvm-project/pull/141766 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits