[clang] [llvm] [mlir] [TableGen] Add const variants of accessors for backend (PR #106658)

Rahul Joshi via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 4 12:01:52 PDT 2024


================
@@ -189,7 +189,7 @@ static StringRef NormalizeGNUAttrSpelling(StringRef AttrSpelling) {
 
 typedef std::vector<std::pair<std::string, const Record *>> ParsedAttrMap;
 
-static ParsedAttrMap getParsedAttrList(const RecordKeeper &Records,
----------------
jurahul wrote:

And for all clang-tablegen its here: https://github.com/llvm/llvm-project/commit/abf19e5d26ccbf0714fbb93dfc8c783da9e407a1

So looks like we may be able to migrate quickly, may be wait for a few days (weeks?) for downstream adoption and delete the non-const overloads.

https://github.com/llvm/llvm-project/pull/106658


More information about the cfe-commits mailing list