[compiler-rt] r319685 - [libFuzzer] Remove const from ignoreRemainingArgs return value.
Matt Morehouse via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 4 12:06:52 PST 2017
Author: morehouse
Date: Mon Dec 4 12:06:52 2017
New Revision: 319685
URL: http://llvm.org/viewvc/llvm-project?rev=319685&view=rev
Log:
[libFuzzer] Remove const from ignoreRemainingArgs return value.
In this case const does nothing but trigger a warning.
Modified:
compiler-rt/trunk/lib/fuzzer/FuzzerCommand.h
Modified: compiler-rt/trunk/lib/fuzzer/FuzzerCommand.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fuzzer/FuzzerCommand.h?rev=319685&r1=319684&r2=319685&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerCommand.h (original)
+++ compiler-rt/trunk/lib/fuzzer/FuzzerCommand.h Mon Dec 4 12:06:52 2017
@@ -28,8 +28,8 @@ public:
// This command line flag is used to indicate that the remaining command line
// is immutable, meaning this flag effectively marks the end of the mutable
// argument list.
- static inline const char *const ignoreRemainingArgs() {
- static const char *const kIgnoreRemaining = "-ignore_remaining_args=1";
+ static inline const char *ignoreRemainingArgs() {
+ static const char *kIgnoreRemaining = "-ignore_remaining_args=1";
return kIgnoreRemaining;
}
More information about the llvm-commits
mailing list