aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-11-19 03:52:00 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-11-19 03:52:00 +0000
commit72511f3adcc89a29c02e36283536beadf9ef555e (patch)
tree5c145dce90c7f186669ca06d61c275cf7d80b201
parent86256af6c8515077278d0a78f183fb6d322518ac (diff)
Remove a no-op 'const' from a by-value return type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168296 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Driver/Arg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Driver/Arg.h b/include/clang/Driver/Arg.h
index 3b3829a634..b85bcdcb69 100644
--- a/include/clang/Driver/Arg.h
+++ b/include/clang/Driver/Arg.h
@@ -72,7 +72,7 @@ namespace driver {
const char *Value0, const char *Value1, const Arg *BaseArg = 0);
~Arg();
- const Option getOption() const { return Opt; }
+ Option getOption() const { return Opt; }
StringRef getSpelling() const { return Spelling; }
unsigned getIndex() const { return Index; }