diff options
author | Matt Morehouse <mascasa@google.com> | 2017-12-04 20:06:52 +0000 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2017-12-04 20:06:52 +0000 |
commit | e911a5d356c7de71cc45b45243c3c8f5c9969888 (patch) | |
tree | 8c2320e362ef68873dfe5fb550f7ded79fd957e0 /compiler-rt/lib/fuzzer/FuzzerCommand.h | |
parent | f51f580b08c3d1b7420256309069b30e2d75bbec (diff) | |
download | bcm5719-llvm-e911a5d356c7de71cc45b45243c3c8f5c9969888.tar.gz bcm5719-llvm-e911a5d356c7de71cc45b45243c3c8f5c9969888.zip |
[libFuzzer] Remove const from ignoreRemainingArgs return value.
In this case const does nothing but trigger a warning.
llvm-svn: 319685
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerCommand.h')
-rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerCommand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerCommand.h b/compiler-rt/lib/fuzzer/FuzzerCommand.h index 2e674ee392d..358f8909431 100644 --- a/compiler-rt/lib/fuzzer/FuzzerCommand.h +++ b/compiler-rt/lib/fuzzer/FuzzerCommand.h @@ -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; } |