From 72511f3adcc89a29c02e36283536beadf9ef555e Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 19 Nov 2012 03:52:00 +0000 Subject: [PATCH] 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 --- include/clang/Driver/Arg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0