Skip to content

Commit

Permalink
[ODRHash diagnostics] Preparation to minimize subsequent diffs. NFC.
Browse files Browse the repository at this point in the history
Specifically, making the following changes:
* Turn lambdas calculating ODR hashes into static functions.
* Move `ODRCXXRecordDifference` where it is used.
* Rename some variables and move some lines of code.
* Replace `auto` with explicit type when the deduced type is not mentioned.
* Add `const` for unmodified objects, so we can pass them to more functions.

Differential Revision: https://reviews.llvm.org/D128690
  • Loading branch information
vsapsai committed Jul 19, 2022
1 parent f84712f commit f693874
Showing 1 changed file with 238 additions and 264 deletions.

0 comments on commit f693874

Please sign in to comment.