[PATCH] D49794: [libclang] Allow skipping warnings from all included files
Ivan Donchevskii via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 25 06:08:57 PDT 2018
yvvan created this revision.
yvvan added reviewers: ilya-biryukov, bkramer, akyrtzi, malaperle.
Updated clone for https://reviews.llvm.org/D48116 by Nikolai, now also adds the clang driver flag and the test for it.
If clang has plugins they are also affected by this filtering.
Depending on the included files and the used warning flags, e.g. -
Weverything, a huge number of warnings can be reported for included
files. As processing that many diagnostics comes with a performance
impact and not all clients are interested in those diagnostics, add a
flag to skip them.
https://reviews.llvm.org/D49794
Files:
include/clang-c/Index.h
include/clang/Basic/Diagnostic.h
include/clang/Basic/DiagnosticOptions.def
include/clang/Driver/Options.td
lib/Basic/DiagnosticIDs.cpp
lib/Basic/Warnings.cpp
lib/Frontend/CompilerInvocation.cpp
tools/c-index-test/c-index-test.c
tools/libclang/CIndex.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49794.157255.patch
Type: text/x-patch
Size: 6000 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180725/d2db1f76/attachment.bin>
More information about the cfe-commits
mailing list