[cfe-commits] r168296 - /cfe/trunk/include/clang/Driver/Arg.h
Chandler Carruth
chandlerc at gmail.com
Sun Nov 18 19:52:00 PST 2012
Author: chandlerc
Date: Sun Nov 18 21:52:00 2012
New Revision: 168296
URL: http://llvm.org/viewvc/llvm-project?rev=168296&view=rev
Log:
Remove a no-op 'const' from a by-value return type.
Modified:
cfe/trunk/include/clang/Driver/Arg.h
Modified: cfe/trunk/include/clang/Driver/Arg.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Arg.h?rev=168296&r1=168295&r2=168296&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Arg.h (original)
+++ cfe/trunk/include/clang/Driver/Arg.h Sun Nov 18 21:52:00 2012
@@ -72,7 +72,7 @@
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; }
More information about the cfe-commits
mailing list