summaryrefslogtreecommitdiffstats
path: root/lld/include/lld
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-12-05 16:50:46 +0000
committerSam Clegg <sbc@chromium.org>2017-12-05 16:50:46 +0000
commit7e7566323dc94d2462703aa22618722bbb3b56f4 (patch)
tree207ad4ee297a8573efa6d6579803e5511a118aa3 /lld/include/lld
parent20569e96e9403780e1229f31c48add56c3fc284a (diff)
downloadbcm5719-llvm-7e7566323dc94d2462703aa22618722bbb3b56f4.tar.gz
bcm5719-llvm-7e7566323dc94d2462703aa22618722bbb3b56f4.zip
toString function take a const refs where possible
Differential Revision: https://reviews.llvm.org/D40824 llvm-svn: 319787
Diffstat (limited to 'lld/include/lld')
-rw-r--r--lld/include/lld/Common/Reproduce.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/include/lld/Common/Reproduce.h b/lld/include/lld/Common/Reproduce.h
index 9cc430e5185..0f425de269c 100644
--- a/lld/include/lld/Common/Reproduce.h
+++ b/lld/include/lld/Common/Reproduce.h
@@ -33,7 +33,7 @@ std::string quote(StringRef S);
std::string rewritePath(StringRef S);
// Returns the string form of the given argument.
-std::string toString(llvm::opt::Arg *Arg);
+std::string toString(const llvm::opt::Arg &Arg);
}
#endif
OpenPOWER on IntegriCloud