Files
qt-creator/src/plugins/cppeditor/cppquickfixes.cpp
Antonio Di Monaco 545b0537ae Skip pure virtual functions in "Insert Definition From Declaration"
Pure virtual functions do not need a definition.

The issue is that, when the codebase is very huge (hundreds of thousands
of files), the match method starts exploring the whole codebase,
searching for an already present definition that will never be found,
so the QuickFix wastes time for nothing and freezes the UI.

Change-Id: Ia17740d740afcb40ec4f1b3237d8b9f5c1e3d54c
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2019-07-29 09:28:02 +00:00

229 KiB