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 | 3c76c523e13d346f0092632708f53a9ce83e55fd (patch) | |
tree | 846afefd5530136aa3a7a1197eb60d3e50717082 /llvm/utils/FileCheck | |
parent | 1ab83f8d8e20393b103ddf777ddadfa24435b885 (diff) | |
download | bcm5719-llvm-3c76c523e13d346f0092632708f53a9ce83e55fd.tar.gz bcm5719-llvm-3c76c523e13d346f0092632708f53a9ce83e55fd.zip |
Cleanup places that passed SMLoc by const reference to pass it by value instead. NFC
llvm-svn: 248135
Diffstat (limited to 'llvm/utils/FileCheck')
-rw-r--r-- | llvm/utils/FileCheck/FileCheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/FileCheck/FileCheck.cpp b/llvm/utils/FileCheck/FileCheck.cpp index efccf12348b..50d324a5e46 100644 --- a/llvm/utils/FileCheck/FileCheck.cpp +++ b/llvm/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. |