]> granicus.if.org Git - clang/commitdiff
Remove a no-op 'const' from a by-value return type.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 19 Nov 2012 03:52:00 +0000 (03:52 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 19 Nov 2012 03:52:00 +0000 (03:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168296 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Arg.h

index 3b3829a634a09185e52b34af40e136e0458312c6..b85bcdcb695e113eb6f18aedb2df0e39c7f335e3 100644 (file)
@@ -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; }