Pacify recent gcc: remove a pointless const qualifier.
authorDuncan Sands <baldrick@free.fr>
Wed, 2 Jun 2010 08:37:30 +0000 (08:37 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 2 Jun 2010 08:37:30 +0000 (08:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105318 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/NeonEmitter.cpp

index f99cbe4..7709637 100644 (file)
@@ -72,7 +72,7 @@ static void ParseTypes(Record *r, std::string &s,
   }
 }
 
-static const char Widen(const char t) {
+static char Widen(const char t) {
   switch (t) {
     case 'c':
       return 's';