forked from qt-creator/qt-creator
		
	CppTools: Remove function replicating standard library functionality.
Change-Id: I0778aa3d91d8c62fcce7e07e2ceffa1970281ec6 Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
		@@ -35,8 +35,6 @@
 | 
			
		||||
#include <QtGui/QTextDocument>
 | 
			
		||||
#include <QtGui/QTextCursor>
 | 
			
		||||
 | 
			
		||||
#include <cctype>
 | 
			
		||||
 | 
			
		||||
namespace CppTools {
 | 
			
		||||
 | 
			
		||||
void moveCursorToEndOfIdentifier(QTextCursor *tc) {
 | 
			
		||||
@@ -51,11 +49,4 @@ void moveCursorToEndOfIdentifier(QTextCursor *tc) {
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool isHexadecimal(char c)
 | 
			
		||||
{
 | 
			
		||||
    return std::isdigit(c)
 | 
			
		||||
            || (c >= 'a' && c <= 'f')
 | 
			
		||||
            || (c >= 'A' && c <= 'F');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // CppTools
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,6 @@ QT_FORWARD_DECLARE_CLASS(QTextCursor)
 | 
			
		||||
namespace CppTools {
 | 
			
		||||
 | 
			
		||||
void CPPTOOLS_EXPORT moveCursorToEndOfIdentifier(QTextCursor *tc);
 | 
			
		||||
bool CPPTOOLS_EXPORT isHexadecimal(char c);
 | 
			
		||||
 | 
			
		||||
} // CppTools
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user