From: Chandler Carruth Date: Mon, 19 Nov 2012 03:52:00 +0000 (+0000) Subject: Remove a no-op 'const' from a by-value return type. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72511f3adcc89a29c02e36283536beadf9ef555e;p=clang 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 --- 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; }