diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-09-20 23:35:59 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-09-20 23:35:59 +0000 |
commit | 634763c0f512e9be88a823f3ee3542b0a735c87b (patch) | |
tree | 55a49366e7b32424bba0e52be610cdd5b5996f64 /utils/FileCheck | |
parent | dabf510ba1b95298551a310c96e1ae1f681f816a (diff) |
Cleanup places that passed SMLoc by const reference to pass it by value instead. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/FileCheck')
-rw-r--r-- | utils/FileCheck/FileCheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/FileCheck/FileCheck.cpp b/utils/FileCheck/FileCheck.cpp index efccf12348b..50d324a5e46 100644 --- a/utils/FileCheck/FileCheck.cpp +++ b/utils/FileCheck/FileCheck.cpp @@ -975,7 +975,7 @@ static bool ReadCheckFile(SourceMgr &SM, return false; } -static void PrintCheckFailed(const SourceMgr &SM, const SMLoc &Loc, +static void PrintCheckFailed(const SourceMgr &SM, SMLoc Loc, const Pattern &Pat, StringRef Buffer, StringMap<StringRef> &VariableTable) { // Otherwise, we have an error, emit an error message. |