diff options
| author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-05-16 13:50:05 +0000 |
|---|---|---|
| committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-05-16 13:50:05 +0000 |
| commit | 091069c91e8a0fa173df7895502558f645fb7b9c (patch) | |
| tree | 67d30c2de9077634f6a62a5a1d368d6d80abae3f /clang/lib/Sema/SemaDecl.cpp | |
| parent | 076eba20bc1d8e01ca178eb90b29a27ad09f64b9 (diff) | |
| download | bcm5719-llvm-091069c91e8a0fa173df7895502558f645fb7b9c.tar.gz bcm5719-llvm-091069c91e8a0fa173df7895502558f645fb7b9c.zip | |
[Frontend] Avoid running plugins during code completion parse
The parsing that is done for code completion is a special case that will
discard any generated diagnostics, so avoid running plugins for this
case in the first place to avoid performance penalties due to the
plugins.
A scenario for this is for example libclang with extra plugins like tidy.
Patch by Nikolai Kosjar
Differential Revision: https://reviews.llvm.org/D46050
llvm-svn: 332469
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions

