OSDN Git Service

add generic macro expansion classes & functions to Utils
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Mon, 8 Nov 2010 20:09:19 +0000 (21:09 +0100)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Wed, 17 Nov 2010 12:19:06 +0000 (13:19 +0100)
commit9bd95ade0853ff7fb3295c8e119232820be7139b
treea7e58c6dbbd76b824b46573d7dc9c7fb38a8c5a4
parenta2b6391b313bc4e53e5cdf767ab4697cf9775e81
add generic macro expansion classes & functions to Utils

AbstractMacroExpander (any macros), AbstractQtcMacroExpander (%{var}
style macros, which is a hybrid of printf format specifiers and unix
environment expansions) and expandMacros() for the actual string
manipulation.
src/libs/utils/stringutils.cpp
src/libs/utils/stringutils.h
tests/auto/utils_stringutils/tst_stringutils.cpp