[PATCH] D77028: [NFC] Refactor DeferredDiagsEmitter and skip redundant visit
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 29 20:20:09 PDT 2020
yaxunl created this revision.
yaxunl added reviewers: rjmccall, ABataev.
Move function emitDeferredDiags from Sema to DeferredDiagsEmitter since it
is only used by DeferredDiagsEmitter.
Also record number of diagnostics triggered by each function and skip a function
if it is known not to emit any diagnostics.
https://reviews.llvm.org/D77028
Files:
clang/include/clang/Sema/Sema.h
clang/lib/Sema/Sema.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77028.253476.patch
Type: text/x-patch
Size: 5442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200330/c62204dc/attachment-0001.bin>
More information about the cfe-commits
mailing list