[llvm-diff] Constify APIs so that there aren't conflicts
authorBill Wendling <isanbard@gmail.com>
Tue, 22 Jun 2021 00:33:53 +0000 (17:33 -0700)
committerBill Wendling <isanbard@gmail.com>
Tue, 22 Jun 2021 16:17:04 +0000 (09:17 -0700)
commitdd1b121c99de6bd7186e23e2bf34edb02db7c076
tree912b57fb5d665275d23a4ae27ccfc73d2da38ed2
parent6fc51c9f7d6647ba78e5a235e7d8bfcf3ab2ede0
[llvm-diff] Constify APIs so that there aren't conflicts

Some APIs work with const variables while others don't. This can cause
conflicts when calling one from the other.

This is NFC.

Differential Revision: https://reviews.llvm.org/D104719
llvm/tools/llvm-diff/DiffConsumer.cpp
llvm/tools/llvm-diff/DiffConsumer.h
llvm/tools/llvm-diff/DiffLog.cpp
llvm/tools/llvm-diff/DiffLog.h
llvm/tools/llvm-diff/DifferenceEngine.cpp
llvm/tools/llvm-diff/DifferenceEngine.h