summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/baseeditordocumentprocessor.cpp
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2019-01-10 14:44:56 +0100
committerErik Verbruggen <erik.verbruggen@qt.io>2019-01-17 08:52:40 +0000
commit645bbf5dd6f96835f289aca1b628370813aac692 (patch)
tree37651c4e93ac8b1d4df24a2481124cd88461817f /src/plugins/cpptools/baseeditordocumentprocessor.cpp
parent66dc5e971399fbd7bf696344698b5bd3fb05b819 (diff)
downloadqt-creator-645bbf5dd6f96835f289aca1b628370813aac692.tar.gz
CPlusPlus: Block function-like macro name for arguments expansion
Arguments of funstion-like macro may contain the name of this macro. The attempt to expand it results into infinite recursion. Patch solves that by saving the macro name until the arguments are collected to determine that it should not be expanded. Fixes: QTCREATORBUG-21642 Change-Id: Iafb404ecd3959a2f1011c12c1c3f1c0c54ed3547 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/plugins/cpptools/baseeditordocumentprocessor.cpp')
0 files changed, 0 insertions, 0 deletions