[PATCH] D93654: [TableGen] Change getAllDerivedDefinitions() to return const vector &
    Paul C. Anagnostopoulos via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Dec 21 18:07:25 PST 2020
    
    
  
Paul-C-Anagnostopoulos added a comment.
I suddenly thought that the change to ArrayRef would require me to change every call to getAllDerivedDefinitions in one revision. So I changed the function and tried compiling. I got no complaints. What mechanism is it that allows an ArrayRef to be returned to a variable declared [const] std::vector<Record *> [&] without complaint?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93654/new/
https://reviews.llvm.org/D93654
    
    
More information about the llvm-commits
mailing list