summaryrefslogtreecommitdiffstats
path: root/llvm/utils/FileCheck
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-09-20 23:35:59 +0000
committerCraig Topper <craig.topper@gmail.com>2015-09-20 23:35:59 +0000
commit3c76c523e13d346f0092632708f53a9ce83e55fd (patch)
tree846afefd5530136aa3a7a1197eb60d3e50717082 /llvm/utils/FileCheck
parent1ab83f8d8e20393b103ddf777ddadfa24435b885 (diff)
downloadbcm5719-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.cpp2
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.
OpenPOWER on IntegriCloud