Code has been formatted in accordance with the code style. Some
variables and function members were renamed as well as some uses
of std::make_pair and the std::pair's first/second members were
replaced with using of the vector's emplace_back along with structure
bindings from C++17.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I think historically we avoid reformatting whole files, as this makes git blame more cumbersome. It would probably be better to start with a patch that just uses the new C++17 features.
Comment Actions
@fhahn Thank you very much for the suggestion. I've extracted some making sense changes from the patch (using Register instead of unsigned, some C++17-fication, and using references in iterating over the collections in the foreach loops) and committed them in LLVM w/o review because those patches are very small and NFC. This review can be marked as abandoned.