diff options
author | Volodymyr Sapsai <vsapsai@apple.com> | 2022-06-27 16:53:36 -0700 |
---|---|---|
committer | Volodymyr Sapsai <vsapsai@apple.com> | 2022-07-19 16:29:33 -0700 |
commit | f693874c53c1b3d3a322de98c1c7557d69157d3d (patch) | |
tree | 8603193269258c9cd3bb555de8e5f590e62cd8b0 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | f84712f0b83f2a0a367de26dddc23ba72799ba3b (diff) | |
download | llvm-f693874c53c1b3d3a322de98c1c7557d69157d3d.zip llvm-f693874c53c1b3d3a322de98c1c7557d69157d3d.tar.gz llvm-f693874c53c1b3d3a322de98c1c7557d69157d3d.tar.bz2 |
[ODRHash diagnostics] Preparation to minimize subsequent diffs. NFC.
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
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions