[llvm] [TableGen] Migrate CTags/DFA/Directive Emitters to const RecordKeeper (PR #107693)
    Craig Topper via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Sep  8 11:14:58 PDT 2024
    
    
  
================
@@ -15,7 +15,8 @@ namespace llvm {
 // DirectiveBase.td and provides helper methods for accessing it.
 class DirectiveLanguage {
 public:
-  explicit DirectiveLanguage(llvm::RecordKeeper &Records) : Records(Records) {
+  explicit DirectiveLanguage(const llvm::RecordKeeper &Records)
----------------
topperc wrote:
> How about I clean that up as a separate NFC?
Sure
https://github.com/llvm/llvm-project/pull/107693
    
    
More information about the llvm-commits
mailing list