r286298 - Revert "Define __ANDROID_API__ for all Android builds."

2016-11-08 Thread Stephen Hines via cfe-commits
Author: srhines Date: Tue Nov 8 15:54:49 2016 New Revision: 286298 URL: http://llvm.org/viewvc/llvm-project?rev=286298&view=rev Log: Revert "Define __ANDROID_API__ for all Android builds." Summary: This reverts commit a8804ddd9fe71304b28e5b834d134fe93e568ee0. Subscribers: cfe-commits, pirama, e

[PATCH] D26422: Revert "Define __ANDROID_API__ for all Android builds."

2016-11-08 Thread Stephen Hines via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL286298: Revert "Define __ANDROID_API__ for all Android builds." (authored by srhines). Changed prior to commit: https://reviews.llvm.org/D26422?vs=77254&id=77256#toc Repository: rL LLVM https://revi

[PATCH] D26422: Revert "Define __ANDROID_API__ for all Android builds."

2016-11-08 Thread Stephen Hines via cfe-commits
srhines added a comment. Reverted because this broke builds: clang-hexagon-elf llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast clang-ppc64be-linux-multistage llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast It isn't clear from the logs why these builds failed, since I did a general build, but perhap

Re: [PATCH] D26422: Revert "Define __ANDROID_API__ for all Android builds."

2016-11-08 Thread Evgenii Stepanov via cfe-commits
Yes, some bots don't build all the targets. I think the test should go into Preprocessor/init.c. On Tue, Nov 8, 2016 at 2:07 PM, Stephen Hines wrote: > srhines added a comment. > > Reverted because this broke builds: > > clang-hexagon-elf > llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast > clang-ppc6

[PATCH] D25403: [CUDA] Mark __libcpp_{isnan, isinf, isfinite} as constexpr.

2016-11-08 Thread Hal Finkel via cfe-commits
hfinkel added inline comments. Comment at: libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp:24 + +#if __cplusplus >= 201103L +constexpr bool a = std::__libcpp_isnan(0.); I think the preferred form here is: #if TEST_STD_VER >= 11 https://reviews.llvm.o

[PATCH] D25771: [change-namespace] shorten namespace qualifier based on UsingDecl and UsingDirectiveDecl.

2016-11-08 Thread Eric Liu via cfe-commits
ioeric marked an inline comment as done. ioeric added inline comments. Comment at: change-namespace/ChangeNamespace.cpp:275 + (DiffOldNsSplitted.empty() ? "-" : DiffOldNsSplitted.front())) + .str(); + auto IsInMovedNs = hokein wrote: > Using an in

[PATCH] D26423: [clang-move] Support template class.

2016-11-08 Thread Haojian Wu via cfe-commits
hokein created this revision. hokein added a reviewer: ioeric. hokein added a subscriber: cfe-commits. https://reviews.llvm.org/D26423 Files: clang-move/ClangMove.cpp test/clang-move/Inputs/template_class_test.cpp test/clang-move/Inputs/template_class_test.h test/clang-move/move-template-

[PATCH] D26196: Add support for non-zero null pointers

2016-11-08 Thread John McCall via cfe-commits
rjmccall added inline comments. Comment at: lib/CodeGen/CGExprConstant.cpp:1340 + return C; +return getNullPtr(PT, DestType); } yaxunl wrote: > efriedma wrote: > > yaxunl wrote: > > > yaxunl wrote: > > > > rjmccall wrote: > > > > > efriedm

[PATCH] D26373: [analyzer] Provide Contains() on ImmutableMap program state partial trait.

2016-11-08 Thread Devin Coughlin via cfe-commits
dcoughlin added a comment. In https://reviews.llvm.org/D26373#589614, @ddcc wrote: > Even though there isn't a performance difference, I think it is semantically > clearer since it is explicit that the value is unneeded. Makes sense to me! https://reviews.llvm.org/D26373 _

[PATCH] D26196: Add support for non-zero null pointers

2016-11-08 Thread John McCall via cfe-commits
rjmccall added a comment. In https://reviews.llvm.org/D26196#589493, @yaxunl wrote: > Fixed list initialization of large struct which are mostly initialized by 0 > through memset. > Added tests for casting literal 0 and non-literal integer to pointer. > > There are many more places need to be c

[PATCH] D25771: [change-namespace] shorten namespace qualifier based on UsingDecl and UsingDirectiveDecl.

2016-11-08 Thread Haojian Wu via cfe-commits
hokein accepted this revision. hokein added a comment. This revision is now accepted and ready to land. LGTM with one nit. Comment at: change-namespace/ChangeNamespace.cpp:275 + (DiffOldNsSplitted.empty() ? "-" : DiffOldNsSplitted.front())) + .str(); + auto IsIn

r286306 - [analyzer] Provide Contains() on ImmutableMap program state partial trait.

2016-11-08 Thread Dominic Chen via cfe-commits
Author: ddcc Date: Tue Nov 8 16:39:14 2016 New Revision: 286306 URL: http://llvm.org/viewvc/llvm-project?rev=286306&view=rev Log: [analyzer] Provide Contains() on ImmutableMap program state partial trait. Reviewers: zaks.anna, dcoughlin Subscribers: cfe-commits Differential Revision: https://r

[PATCH] D26373: [analyzer] Provide Contains() on ImmutableMap program state partial trait.

2016-11-08 Thread Dominic Chen via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL286306: [analyzer] Provide Contains() on ImmutableMap program state partial trait. (authored by ddcc). Changed prior to commit: https://reviews.llvm.org/D26373?vs=77109&id=77269#toc Repository: rL LL

[PATCH] D25771: [change-namespace] shorten namespace qualifier based on UsingDecl and UsingDirectiveDecl.

2016-11-08 Thread Eric Liu via cfe-commits
ioeric updated this revision to Diff 77270. ioeric marked an inline comment as done. ioeric added a comment. - Addressed comment. https://reviews.llvm.org/D25771 Files: change-namespace/ChangeNamespace.cpp change-namespace/ChangeNamespace.h unittests/change-namespace/ChangeNamespaceTests.

[PATCH] D25403: [CUDA] Mark __libcpp_{isnan, isinf, isfinite} as constexpr.

2016-11-08 Thread Justin Lebar via cfe-commits
jlebar updated this revision to Diff 77271. jlebar added a comment. Use TEST_STD_VER macro. https://reviews.llvm.org/D25403 Files: libcxx/include/cmath libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp Index: libcxx/test/libcxx/numerics/c.math/constexpr-fns.pass.cpp ==

[clang-tools-extra] r286307 - [change-namespace] shorten namespace qualifier based on UsingDecl and UsingDirectiveDecl.

2016-11-08 Thread Eric Liu via cfe-commits
Author: ioeric Date: Tue Nov 8 16:44:17 2016 New Revision: 286307 URL: http://llvm.org/viewvc/llvm-project?rev=286307&view=rev Log: [change-namespace] shorten namespace qualifier based on UsingDecl and UsingDirectiveDecl. Summary: when replacing symbol references in moved namespaces, trying to

[PATCH] D25771: [change-namespace] shorten namespace qualifier based on UsingDecl and UsingDirectiveDecl.

2016-11-08 Thread Eric Liu via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL286307: [change-namespace] shorten namespace qualifier based on UsingDecl and… (authored by ioeric). Changed prior to commit: https://reviews.llvm.org/D25771?vs=77270&id=77272#toc Repository: rL LLVM

[PATCH] D26415: [XRay] Support AArch64 in Clang

2016-11-08 Thread Dean Michael Berris via cfe-commits
dberris added inline comments. Comment at: lib/Driver/Tools.cpp:4903-4906 if (Triple.getOS() == llvm::Triple::Linux && (Triple.getArch() == llvm::Triple::arm || - Triple.getArch() == llvm::Triple::x86_64)) { + Triple.getArch() == llvm::Triple::x86_64

[PATCH] D26268: [CUDA] Use only the GVALinkage on function definitions.

2016-11-08 Thread Justin Lebar via cfe-commits
jlebar added a comment. Friendly ping https://reviews.llvm.org/D26268 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] r286308 - [CMake] Get libunwind building under LLVM/runtimes

2016-11-08 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Nov 8 17:02:49 2016 New Revision: 286308 URL: http://llvm.org/viewvc/llvm-project?rev=286308&view=rev Log: [CMake] Get libunwind building under LLVM/runtimes The new LLVM runtimes directory requires the same conventions to be followed across the runtime projects. These c

[PATCH] D25403: [CUDA] Mark __libcpp_{isnan, isinf, isfinite} as constexpr.

2016-11-08 Thread Hal Finkel via cfe-commits
hfinkel added a comment. In https://reviews.llvm.org/D25403#590049, @jlebar wrote: > Use TEST_STD_VER macro. This is fine with me; @EricWF , @mclow.lists ? https://reviews.llvm.org/D25403 ___ cfe-commits mailing list cfe-commits@lists.llvm.org ht

[PATCH] D26340: [analyzer] Add SpinLockChecker for the Magenta kernel

2016-11-08 Thread Kareem Khazem via cfe-commits
khazem added a comment. Good to meet you too, thanks for the useful comments and pointers to helpful examples! I'm going to update the diff twice: the first one to address your first two comments, and the second one to address your last two. https://reviews.llvm.org/D26340 _

[PATCH] D26340: [analyzer] Add SpinLockChecker for the Magenta kernel

2016-11-08 Thread Kareem Khazem via cfe-commits
khazem updated this revision to Diff 77275. khazem added a comment. The strings for Spin{Unl,L}ockFuncName and LockErrorCategory are now initialized when constructing a SpinLockChecker object rather than being static globals, in order to avoid adverse effects on startup time. Also, the Spin*Fun

[PATCH] D26268: [CUDA] Use only the GVALinkage on function definitions.

2016-11-08 Thread Artem Belevich via cfe-commits
tra accepted this revision. tra added a comment. This revision is now accepted and ready to land. LGTM. Comment at: clang/test/SemaCUDA/add-inline-in-definition.cu:13-14 +// +// The trickiness here comes from the fact that the FunctionDecl bar() sees for +// foo() does not have

[PATCH] D26340: [analyzer] Add SpinLockChecker for the Magenta kernel

2016-11-08 Thread Kareem Khazem via cfe-commits
khazem updated this revision to Diff 77277. khazem added a comment. If a double-lock or double-release is detected, path notes are now emitted on the _first_ lock or release event. Also updated the tests to check for these notes. https://reviews.llvm.org/D26340 Files: include/clang/StaticAn

[PATCH] D26268: [CUDA] Use only the GVALinkage on function definitions.

2016-11-08 Thread Justin Lebar via cfe-commits
This revision was automatically updated to reflect the committed changes. jlebar marked 2 inline comments as done. Closed by commit rL286313: [CUDA] Use only the GVALinkage on function definitions. (authored by jlebar). Changed prior to commit: https://reviews.llvm.org/D26268?vs=76808&id=77280#

[PATCH] D26268: [CUDA] Use only the GVALinkage on function definitions.

2016-11-08 Thread Justin Lebar via cfe-commits
jlebar marked 2 inline comments as done. jlebar added a comment. Thank you for the review! Submitting... Comment at: clang/test/SemaCUDA/add-inline-in-definition.cu:13-14 +// +// The trickiness here comes from the fact that the FunctionDecl bar() sees for +// foo() does not ha

r286313 - [CUDA] Use only the GVALinkage on function definitions.

2016-11-08 Thread Justin Lebar via cfe-commits
Author: jlebar Date: Tue Nov 8 17:45:51 2016 New Revision: 286313 URL: http://llvm.org/viewvc/llvm-project?rev=286313&view=rev Log: [CUDA] Use only the GVALinkage on function definitions. Summary: Previously we'd look at the GVALinkage of whatever FunctionDecl you happened to be calling. This i

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-08 Thread Jacob Gravelle via cfe-commits
jgravelle-google created this revision. jgravelle-google added reviewers: dschuff, sunfish. jgravelle-google added a subscriber: cfe-commits. Herald added a subscriber: jfb. Unix is a convenient common denominator for embeddings to implement syscalls for. This makes it explicit that wasm is unix-y

[PATCH] D26423: [clang-move] Support template class.

2016-11-08 Thread Eric Liu via cfe-commits
ioeric added a comment. Nice! First round of comments. Comment at: clang-move/ClangMove.cpp:414 RemovedDecls.push_back(MovedDecls.back()); + if (const auto *FTD = CMD->getDescribedFunctionTemplate()) { +UnremovedDeclsInOldHeader.erase(FTD);

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-08 Thread Derek Schuff via cfe-commits
dschuff accepted this revision. dschuff added a comment. This revision is now accepted and ready to land. Also it matches asm.js @sunfish is planning on unifying the triples, and this will be part of that (and there may be more defines that we want to add and/or subtract), but for now it makes m

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-08 Thread Dan Gohman via cfe-commits
sunfish added a comment. When adding new predefined macros, please also add the new macros to test/Preprocessor/init.c (and remove negative tests that no longer apply). Also though, I'd also like to understand this a little more. Even with emulation, there will be limits to how Unixy a Web envi

[PATCH] D26418: [clang-tidy] Add '-suppress-checks-filter' option to suppress diagnostics from certain files

2016-11-08 Thread Alexander Kornienko via cfe-commits
alexfh added a comment. What's the biggest complexity with -header-filter? Lack of way to specify ? Will it help to make -header-filter a GlobList? https://reviews.llvm.org/D26418 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.

[PATCH] D26418: [clang-tidy] Add '-suppress-checks-filter' option to suppress diagnostics from certain files

2016-11-08 Thread Alexander Kornienko via cfe-commits
alexfh added a comment. I also don't understand the use case for turning off only some checks for third-party headers. Either you care about third-party stuff or not, why only switch off certain checks? https://reviews.llvm.org/D26418 ___ cfe-comm

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-08 Thread Jacob Gravelle via cfe-commits
jgravelle-google added a comment. For the emscripten testsuite, specifically test_zlib relies on `#ifdef __unix__` to `#include `, which it needs. The rest of the unistd tests don't actually care. So we could make that test pass by explicitly adding a define for __unix__ for it, but I figure it

[PATCH] D26071: [CodeCompletion] Show block invocation result for block property setters

2016-11-08 Thread Manman Ren via cfe-commits
manmanren accepted this revision. manmanren added a comment. This revision is now accepted and ready to land. LGTM. Manman Repository: rL LLVM https://reviews.llvm.org/D26071 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.l

r286322 - Emit debug info for global constants whose address is taken exactly once.

2016-11-08 Thread Adrian Prantl via cfe-commits
Author: adrian Date: Tue Nov 8 18:42:03 2016 New Revision: 286322 URL: http://llvm.org/viewvc/llvm-project?rev=286322&view=rev Log: Emit debug info for global constants whose address is taken exactly once. Add a check to the DeclCache before emitting debug info for a GlobalVariable a second time

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-08 Thread Dan Gohman via cfe-commits
sunfish added a comment. The other main way we could provide __unix et al would be to add them to tools/shared.py in Emscripten (see the comment "wasm target does not automatically define emscripten stuff"). It's not clear to me whether that's better than adding the macros to clang itself or no

[PATCH] D26423: [clang-move] Support template class.

2016-11-08 Thread Haojian Wu via cfe-commits
hokein updated this revision to Diff 77292. hokein marked 3 inline comments as done. hokein added a comment. Add comments. https://reviews.llvm.org/D26423 Files: clang-move/ClangMove.cpp test/clang-move/Inputs/template_class_test.cpp test/clang-move/Inputs/template_class_test.h test/cla

r286324 - clang-cl: Pass /Zc:threadSafeInit through to MSVC with /fallback (PR30948)

2016-11-08 Thread Hans Wennborg via cfe-commits
Author: hans Date: Tue Nov 8 18:56:42 2016 New Revision: 286324 URL: http://llvm.org/viewvc/llvm-project?rev=286324&view=rev Log: clang-cl: Pass /Zc:threadSafeInit through to MSVC with /fallback (PR30948) Modified: cfe/trunk/lib/Driver/Tools.cpp cfe/trunk/test/Driver/cl-fallback.c Modif

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-08 Thread Jacob Gravelle via cfe-commits
jgravelle-google added a comment. I think you're right, it's the Emscripten embedding that's unixy, therefore Emscripten should be responsible for telling clang to be unixy. To play devil's advocate, it might be advantageous for all compile-to-wasm code to assume a common environment, and unix

[PATCH] D26435: Use unique_ptr for cached tokens for default arguments in C++.

2016-11-08 Thread David Tarditi via cfe-commits
dtarditi created this revision. dtarditi added a subscriber: cfe-commits. This changes pointers to cached tokens for default arguments in C++ from raw pointers to unique_ptrs. There was a fixme in the code where the cached tokens are created about using a smart pointer. The change is straight

[PATCH] D26431: [WebAssembly] Define __unix__ as part of the wasm target

2016-11-08 Thread Derek Schuff via cfe-commits
dschuff added a comment. Yeah, I don't mean for this to be the final word; mostly this just matches asm.js. I do agree with you that the unixy stuff goes with the emscripten environment rather than wasm per se. I had thought we might define emscripten as an "OS" (i.e. the third or maybe even 4t

[PATCH] D26108: Add -Wnullability-completeness-on-arrays.

2016-11-08 Thread Jordan Rose via cfe-commits
jordan_rose added a comment. It works fine for me, though note the "depends on https://reviews.llvm.org/D25850";. The other patches in the series do seem to have been thrown off by https://reviews.llvm.org/D26226 landing first, though, so I'll update those. Repository: rL LLVM https://revi

[PATCH] D26227: Don't require nullability on 'va_list'.

2016-11-08 Thread Jordan Rose via cfe-commits
jordan_rose added a dependency: D26108: Add -Wnullability-completeness-on-arrays.. jordan_rose added a comment. Depends on https://reviews.llvm.org/D26108 too (for the tests to apply cleanly). Repository: rL LLVM https://reviews.llvm.org/D26227

[PATCH] D26109: Warn when 'assume_nonnull' infers nullability within an array.

2016-11-08 Thread Jordan Rose via cfe-commits
jordan_rose added a dependency: D26108: Add -Wnullability-completeness-on-arrays.. jordan_rose added a comment. Depends on https://reviews.llvm.org/D26108 too, for the tests to apply cleanly. Repository: rL LLVM https://reviews.llvm.org/D26109 _

r286331 - [index] Fix issue with protocol name locations in conformance list of an ObjC class when they come from a typedef.

2016-11-08 Thread Argyrios Kyrtzidis via cfe-commits
Author: akirtzidis Date: Tue Nov 8 20:47:07 2016 New Revision: 286331 URL: http://llvm.org/viewvc/llvm-project?rev=286331&view=rev Log: [index] Fix issue with protocol name locations in conformance list of an ObjC class when they come from a typedef. The ObjC class protocol list assumes there i

[PATCH] D26150: [libc++abi] Fix test_exception_storage_nodynmem on MacOS

2016-11-08 Thread Igor Kudrin via cfe-commits
ikudrin added a comment. The test is too implementation-specific, and trying to override a function like `calloc` makes it fragile. Unfortunately, I didn't find a better way to test the library's behavior in case of memory exhaustion, but now I believe that this test doesn't add any significant

[libcxxabi] r286332 - [CMake] Check runtimes subdir when looking for libcxx and libuwind

2016-11-08 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Nov 8 21:22:19 2016 New Revision: 286332 URL: http://llvm.org/viewvc/llvm-project?rev=286332&view=rev Log: [CMake] Check runtimes subdir when looking for libcxx and libuwind The runtimes subdir is the new location for runtimes, we should include it when looking for libcx

[libcxx] r286333 - [CMake] Check runtimes subdir when looking for libcxxabi

2016-11-08 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Nov 8 21:22:28 2016 New Revision: 286333 URL: http://llvm.org/viewvc/llvm-project?rev=286333&view=rev Log: [CMake] Check runtimes subdir when looking for libcxxabi The runtimes subdir is the new location for runtimes, we should include it when looking for libcxxabi heade

[libcxxabi] r286334 - Revert "[CMake] Check runtimes subdir when looking for libcxx and libuwind"

2016-11-08 Thread Petr Hosek via cfe-commits
Author: phosek Date: Tue Nov 8 21:38:21 2016 New Revision: 286334 URL: http://llvm.org/viewvc/llvm-project?rev=286334&view=rev Log: Revert "[CMake] Check runtimes subdir when looking for libcxx and libuwind" This reverts commit eecb79506d88b268fb0d00cce178213b4aa17933. Modified: libcxxabi/t

[PATCH] D26150: [libc++abi] Fix test_exception_storage_nodynmem on MacOS

2016-11-08 Thread Eric Fiselier via cfe-commits
EricWF added a comment. Go ahead and remove it. Ill try and fix it later next week when I get time. https://reviews.llvm.org/D26150 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r286336 - Doxygen comments for avxintrin.h.

2016-11-08 Thread Ekaterina Romanova via cfe-commits
Author: kromanova Date: Tue Nov 8 21:58:30 2016 New Revision: 286336 URL: http://llvm.org/viewvc/llvm-project?rev=286336&view=rev Log: Doxygen comments for avxintrin.h. Added doxygen comments to avxintrin.h's intrinsics. As of now, around 75% of the intrinsics in this file are documented here. T

[libcxxabi] r286337 - [libc++abi] Remove the test for checking using of fallback malloc in case of dynamic memory exhaustion.

2016-11-08 Thread Igor Kudrin via cfe-commits
Author: ikudrin Date: Tue Nov 8 22:14:31 2016 New Revision: 286337 URL: http://llvm.org/viewvc/llvm-project?rev=286337&view=rev Log: [libc++abi] Remove the test for checking using of fallback malloc in case of dynamic memory exhaustion. This test is too fragile and doesn't add significant value

[PATCH] D26150: [libc++abi] Fix test_exception_storage_nodynmem on MacOS

2016-11-08 Thread Igor Kudrin via cfe-commits
ikudrin added a comment. Done: https://reviews.llvm.org/rL286337. https://reviews.llvm.org/D26150 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r286340 - [AVX-512] Make VBMI instruction set enabling imply that the BWI instruction set is also enabled.

2016-11-08 Thread Craig Topper via cfe-commits
Author: ctopper Date: Tue Nov 8 22:51:03 2016 New Revision: 286340 URL: http://llvm.org/viewvc/llvm-project?rev=286340&view=rev Log: [AVX-512] Make VBMI instruction set enabling imply that the BWI instruction set is also enabled. Summary: This is needed to make the v64i8 and v32i16 types legal

[PATCH] D26306: [AVX-512] Make VBMI instruction set enabling imply that the BWI instruction set is also enabled.

2016-11-08 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL286340: [AVX-512] Make VBMI instruction set enabling imply that the BWI instruction set… (authored by ctopper). Changed prior to commit: https://reviews.llvm.org/D26306?vs=76961&id=77310#toc Repository

[PATCH] D26418: [clang-tidy] Add '-suppress-checks-filter' option to suppress diagnostics from certain files

2016-11-08 Thread Nikita Kakuev via cfe-commits
nkakuev added a comment. In https://reviews.llvm.org/D26418#590170, @alexfh wrote: > I also don't understand the use case for turning off only some checks for > third-party headers. Either you care about third-party stuff or not, why only > switch off certain checks? The use case is ignoring

[PATCH] D26418: [clang-tidy] Add '-suppress-checks-filter' option to suppress diagnostics from certain files

2016-11-08 Thread Nikita Kakuev via cfe-commits
nkakuev added a comment. In https://reviews.llvm.org/D26418#590168, @alexfh wrote: > What's the biggest complexity with -header-filter? Lack of way to specify > ? Will it help to make -header-filter a > GlobList? See my previous comment. Header filter isn't to help when a (false positive) wa

<    1   2