diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-09-13 13:15:46 +0200 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-09-13 13:25:55 +0000 |
commit | 4b852b4e04574e9d6780ff041163af2427c2a350 (patch) | |
tree | 4d64949db80fd9c67c2aa5eec2b35432674d67f0 /src/plugins/cpptools/cppsourceprocessor.cpp | |
parent | 5b454c95fc2fc3f107280b59e5bf26d9038a65c2 (diff) | |
download | qt-creator-4b852b4e04574e9d6780ff041163af2427c2a350.tar.gz |
CPlusPlus: Do not handle extremely long function-like macros
Qt Creator almost hangs and consumes a lot of memory if that happens.
Just ignore such cases in preprocessor.
Task-number: QTCREATORBUG-18995
Change-Id: Ib81cc18738696b02f98e5064d06c719a44ebdaa3
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppsourceprocessor.cpp')
0 files changed, 0 insertions, 0 deletions