r174811 - Remove unreachable statement

Dmitri Gribenko gribozavr at gmail.com
Sat Feb 9 07:24:28 PST 2013


Author: gribozavr
Date: Sat Feb  9 09:24:28 2013
New Revision: 174811

URL: http://llvm.org/viewvc/llvm-project?rev=174811&view=rev
Log:
Remove unreachable statement

Modified:
    cfe/trunk/include/clang/Basic/CharInfo.h

Modified: cfe/trunk/include/clang/Basic/CharInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/CharInfo.h?rev=174811&r1=174810&r2=174811&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/CharInfo.h (original)
+++ cfe/trunk/include/clang/Basic/CharInfo.h Sat Feb  9 09:24:28 2013
@@ -124,7 +124,6 @@ LLVM_READONLY static inline bool isAlpha
 LLVM_READONLY static inline bool isHexDigit(unsigned char c) {
   using namespace charinfo;
   return (InfoTable[c] & (CHAR_DIGIT|CHAR_XLETTER)) != 0;
-    return true;
 }
 
 /// Return true if this character is an ASCII punctuation character.





More information about the cfe-commits mailing list