[clang-tools-extra] 19d7a0b - [clang-tidy] [bugprone-assert-side-effect] Ignore list for functions/methods

2022-01-25 Thread Zinovy Nis via cfe-commits
Author: Zinovy Nis Date: 2022-01-25T21:04:07+03:00 New Revision: 19d7a0b47b6849923576845f87a3278e012e049b URL: https://github.com/llvm/llvm-project/commit/19d7a0b47b6849923576845f87a3278e012e049b DIFF: https://github.com/llvm/llvm-project/commit/19d7a0b47b6849923576845f87a3278e012e049b.diff

[clang-tools-extra] 709112b - [clang-tidy] false-positive for bugprone-redundant-branch-condition in case of passed-by-ref params

2020-12-11 Thread Zinovy Nis via cfe-commits
Author: Zinovy Nis Date: 2020-12-11T21:09:51+03:00 New Revision: 709112bce4424a5436f0bb699c62b3fbc837fbb6 URL: https://github.com/llvm/llvm-project/commit/709112bce4424a5436f0bb699c62b3fbc837fbb6 DIFF: https://github.com/llvm/llvm-project/commit/709112bce4424a5436f0bb699c62b3fbc837fbb6.diff

[clang-tools-extra] 4364539 - [clang-tidy] Fix crash in bugprone-redundant-branch-condition on ExprWithCleanups

2020-11-13 Thread Zinovy Nis via cfe-commits
Author: Zinovy Nis Date: 2020-11-14T08:35:21+03:00 New Revision: 4364539b3a4c5e73561e5ff29e6952a75e89dc43 URL: https://github.com/llvm/llvm-project/commit/4364539b3a4c5e73561e5ff29e6952a75e89dc43 DIFF: https://github.com/llvm/llvm-project/commit/4364539b3a4c5e73561e5ff29e6952a75e89dc43.diff

[clang-tools-extra] 32d565b - [clang-tidy] Fix crash in readability-function-cognitive-complexity on weak refs

2020-10-11 Thread Zinovy Nis via cfe-commits
Author: Zinovy Nis Date: 2020-10-11T18:52:38+03:00 New Revision: 32d565b4618d31511e79dbe77aae8d456f2bf466 URL: https://github.com/llvm/llvm-project/commit/32d565b4618d31511e79dbe77aae8d456f2bf466 DIFF: https://github.com/llvm/llvm-project/commit/32d565b4618d31511e79dbe77aae8d456f2bf466.diff

[clang-tools-extra] 96c6d01 - [clang-tidy] Fix crash in modernize-use-noexcept on uninstantiated throw class

2020-09-15 Thread Zinovy Nis via cfe-commits
Author: Zinovy Nis Date: 2020-09-16T08:13:00+03:00 New Revision: 96c6d012dfe2492891d0f0450dd7cd5f3c1ca88c URL: https://github.com/llvm/llvm-project/commit/96c6d012dfe2492891d0f0450dd7cd5f3c1ca88c DIFF: https://github.com/llvm/llvm-project/commit/96c6d012dfe2492891d0f0450dd7cd5f3c1ca88c.diff

[clang-tools-extra] c063b4a - Fix crash on misc-redundant-expression

2020-06-05 Thread Zinovy Nis via cfe-commits
Author: Zinovy Nis Date: 2020-06-05T18:43:57+03:00 New Revision: c063b4a72bb39d9ae4bd13851873ddcbc16f6804 URL: https://github.com/llvm/llvm-project/commit/c063b4a72bb39d9ae4bd13851873ddcbc16f6804 DIFF: https://github.com/llvm/llvm-project/commit/c063b4a72bb39d9ae4bd13851873ddcbc16f6804.diff

[clang-tools-extra] 6271b96 - [clang-tidy][modernize-loop-convert] Make loop var type human readable

2020-06-04 Thread Zinovy Nis via cfe-commits
Author: Zinovy Nis Date: 2020-06-04T19:51:45+03:00 New Revision: 6271b96bef479882cf43397941a4c95aa9f47403 URL: https://github.com/llvm/llvm-project/commit/6271b96bef479882cf43397941a4c95aa9f47403 DIFF: https://github.com/llvm/llvm-project/commit/6271b96bef479882cf43397941a4c95aa9f47403.diff

[clang-tools-extra] r367785 - [clang-tidy] Add FixItHint for performance-noexcept-move-constructor

2019-08-04 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Sun Aug 4 06:32:39 2019 New Revision: 367785 URL: http://llvm.org/viewvc/llvm-project?rev=367785=rev Log: [clang-tidy] Add FixItHint for performance-noexcept-move-constructor Differential Revision: https://reviews.llvm.org/D65104 Added:

[clang-tools-extra] r357114 - [clang-tidy] Handle missing yaml module in run-clang-tidy.py

2019-03-27 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Wed Mar 27 12:21:32 2019 New Revision: 357114 URL: http://llvm.org/viewvc/llvm-project?rev=357114=rev Log: [clang-tidy] Handle missing yaml module in run-clang-tidy.py The Yaml module is missing on some systems and on many of clang buildbots. But the test for

[clang-tools-extra] r356649 - Reland r356547 after fixing the YAML module missing issue.

2019-03-21 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Thu Mar 21 01:32:07 2019 New Revision: 356649 URL: http://llvm.org/viewvc/llvm-project?rev=356649=rev Log: Reland r356547 after fixing the YAML module missing issue. [clang-tidy] Parallelize clang-tidy-diff.py This patch has 2 rationales: - large patches lead to long

[clang-tools-extra] r356589 - [clang-tidy] Fix redundant check breaking the test on many platforms.

2019-03-20 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Wed Mar 20 11:37:04 2019 New Revision: 356589 URL: http://llvm.org/viewvc/llvm-project?rev=356589=rev Log: [clang-tidy] Fix redundant check breaking the test on many platforms. Differential Revision: https://reviews.llvm.org/D57662 Modified:

[clang-tools-extra] r356565 - Reland r356547 after fixing the tests for Linux.

2019-03-20 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Wed Mar 20 08:50:26 2019 New Revision: 356565 URL: http://llvm.org/viewvc/llvm-project?rev=356565=rev Log: Reland r356547 after fixing the tests for Linux. [clang-tidy] Parallelize clang-tidy-diff.py This patch has 2 rationales: - large patches lead to long command

[clang-tools-extra] r356548 - [clang-tidy] Cosmetic fix

2019-03-20 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Wed Mar 20 04:34:29 2019 New Revision: 356548 URL: http://llvm.org/viewvc/llvm-project?rev=356548=rev Log: [clang-tidy] Cosmetic fix Differential Revision: https://reviews.llvm.org/D57662 Modified: clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py

[clang-tools-extra] r356547 - [clang-tidy] Parallelize clang-tidy-diff.py

2019-03-20 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Wed Mar 20 04:30:05 2019 New Revision: 356547 URL: http://llvm.org/viewvc/llvm-project?rev=356547=rev Log: [clang-tidy] Parallelize clang-tidy-diff.py This patch has 2 rationales: - large patches lead to long command lines and often cause max command line length

[clang-tools-extra] r351925 - [doc] Fix svn property for bugprone-parent-virtual-call.rst

2019-01-22 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Tue Jan 22 22:46:27 2019 New Revision: 351925 URL: http://llvm.org/viewvc/llvm-project?rev=351925=rev Log: [doc] Fix svn property for bugprone-parent-virtual-call.rst Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/bugprone-parent-virtual-call.rst (props

[clang-tools-extra] r351867 - [doc] Replace 'class' with 'struct' for 'public' by default

2019-01-22 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Tue Jan 22 12:27:02 2019 New Revision: 351867 URL: http://llvm.org/viewvc/llvm-project?rev=351867=rev Log: [doc] Replace 'class' with 'struct' for 'public' by default Make sample syntax correct. Modified:

[clang-tools-extra] r344343 - [clang-tidy] Fix check_clang_tidy.py trivially passing default CHECK

2018-10-12 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Fri Oct 12 06:35:47 2018 New Revision: 344343 URL: http://llvm.org/viewvc/llvm-project?rev=344343=rev Log: [clang-tidy] Fix check_clang_tidy.py trivially passing default CHECK Differential Revision: https://reviews.llvm.org/D53194 Modified:

[clang-tools-extra] r344016 - [clang-tidy][docs] Update docs for `--check-suffixes`

2018-10-08 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Mon Oct 8 22:48:57 2018 New Revision: 344016 URL: http://llvm.org/viewvc/llvm-project?rev=344016=rev Log: [clang-tidy][docs] Update docs for `--check-suffixes` Differential Revision: https://reviews.llvm.org/D52971 Modified:

[clang-tools-extra] r344015 - [clang-tidy] The patch extends the existing command line option -check-suffix

2018-10-08 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Mon Oct 8 22:40:03 2018 New Revision: 344015 URL: http://llvm.org/viewvc/llvm-project?rev=344015=rev Log: [clang-tidy] The patch extends the existing command line option -check-suffix (with alias -check-suffixes) to accept multiple comma-separated FileCheck prefixes.

[clang-tools-extra] r334829 - [clang-tidy] This patch is a fix for D45405 where spaces were mistakenly considered as a part of a type name. So length("int *") was 5 instead of 3 with RemoveStars=0 or

2018-06-15 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Fri Jun 15 06:35:40 2018 New Revision: 334829 URL: http://llvm.org/viewvc/llvm-project?rev=334829=rev Log: [clang-tidy] This patch is a fix for D45405 where spaces were mistakenly considered as a part of a type name. So length("int *") was 5 instead of 3 with

[clang-tools-extra] r333003 - [clang-tidy] SimplifyBoolenExpr doesn't add parens if unary negotiation is of ExprWithCleanups type

2018-05-22 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Tue May 22 10:24:28 2018 New Revision: 333003 URL: http://llvm.org/viewvc/llvm-project?rev=333003=rev Log: [clang-tidy] SimplifyBoolenExpr doesn't add parens if unary negotiation is of ExprWithCleanups type bool foo(A ) { if (S != (A)S) return false; return

[clang-tools-extra] r331475 - Simplify test clang-tidy-__clang_analyzer__macro.cpp

2018-05-03 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Thu May 3 11:31:39 2018 New Revision: 331475 URL: http://llvm.org/viewvc/llvm-project?rev=331475=rev Log: Simplify test clang-tidy-__clang_analyzer__macro.cpp Modified: clang-tools-extra/trunk/test/clang-tidy/clang-tidy-__clang_analyzer__macro.cpp Modified:

[clang-tools-extra] r331474 - [clang-tidy] Define __clang_analyzer__ macro for clang-tidy for compatibility with clang static analyzer

2018-05-03 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Thu May 3 11:26:39 2018 New Revision: 331474 URL: http://llvm.org/viewvc/llvm-project?rev=331474=rev Log: [clang-tidy] Define __clang_analyzer__ macro for clang-tidy for compatibility with clang static analyzer This macro is widely used in many well-known projects, ex.

[clang-tools-extra] r331297 - [clang-tidy][modernize-raw-string-literal] Don't replace upper ASCII with raw literals

2018-05-01 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Tue May 1 11:46:32 2018 New Revision: 331297 URL: http://llvm.org/viewvc/llvm-project?rev=331297=rev Log: [clang-tidy][modernize-raw-string-literal] Don't replace upper ASCII with raw literals It's useless and not safe to replace UTF-8 encoded with escaped ASCII to raw

Re: [PATCH] D45927: [clang-tidy] [modernize-use-auto] Correct way to calculate a type name length for multi-token types

2018-04-22 Thread Zinovy Nis via cfe-commits
> I think spaces that will be removed should be counted - long long is 9. I thought about it, but what about "long long int ** * *"? Is it still 9? I think it's a business of clang-format to remove excessive spaces, not of clang-tidy. вс, 22 апр. 2018 г. в

[clang-tools-extra] r330511 - [clang-tidy] Customize FileCheck prefix in check_clang-tidy.py

2018-04-21 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Sat Apr 21 08:23:56 2018 New Revision: 330511 URL: http://llvm.org/viewvc/llvm-project?rev=330511=rev Log: [clang-tidy] Customize FileCheck prefix in check_clang-tidy.py The patch introduces a new command line option '-check-suffix' for check_clang_tidy.py to allow

[clang-tools-extra] r330509 - [clang-apply-replacements] Make clang-apply-replacements installable

2018-04-21 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Sat Apr 21 08:01:33 2018 New Revision: 330509 URL: http://llvm.org/viewvc/llvm-project?rev=330509=rev Log: [clang-apply-replacements] Make clang-apply-replacements installable Add a new target for install: install-clang-apply-replacements. So if you need clang-tidy and

[clang-tools-extra] r329999 - [clang-tidy] Fix ParentVirtualCallCheck for old MSVS compilers

2018-04-13 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Fri Apr 13 01:43:47 2018 New Revision: 32 URL: http://llvm.org/viewvc/llvm-project?rev=32=rev Log: [clang-tidy] Fix ParentVirtualCallCheck for old MSVS compilers Modified: clang-tools-extra/trunk/clang-tidy/bugprone/ParentVirtualCallCheck.cpp Modified:

[clang-tools-extra] r329994 - [clang-tidy] [bugprone-parent-virtual-call] Minor cosmetic changes. NFC

2018-04-13 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Fri Apr 13 00:46:27 2018 New Revision: 329994 URL: http://llvm.org/viewvc/llvm-project?rev=329994=rev Log: [clang-tidy] [bugprone-parent-virtual-call] Minor cosmetic changes. NFC Modified: clang-tools-extra/trunk/clang-tidy/bugprone/ParentVirtualCallCheck.cpp

[clang-tools-extra] r329949 - Revert "[clang-tidy] [modernize-use-auto] Get only a length of token, not the token itself"

2018-04-12 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Thu Apr 12 13:33:24 2018 New Revision: 329949 URL: http://llvm.org/viewvc/llvm-project?rev=329949=rev Log: Revert "[clang-tidy] [modernize-use-auto] Get only a length of token, not the token itself" This reverts r329873 as getting only a single token length is wrong for

Re: [clang-tools-extra] r329873 - [clang-tidy] [modernize-use-auto] Get only a length of token, not the token itself

2018-04-12 Thread Zinovy Nis via cfe-commits
ale...@google.com>: > On Thu, Apr 12, 2018 at 7:44 AM Zinovy Nis via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> Author: zinovy.nis >> Date: Wed Apr 11 22:41:24 2018 >> New Revision: 329873 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=329

Re: [clang-tools-extra] r329873 - [clang-tidy] [modernize-use-auto] Get only a length of token, not the token itself

2018-04-12 Thread Zinovy Nis via cfe-commits
ngTooling that was > >> required to unbreak the build. > >> I'm guessing clangLex contains Lexer::MeasureTokenLength() ? > >> > >> On Thu, Apr 12, 2018 at 10:22 AM, Roman Lebedev <lebedev...@gmail.com> > >> wrote: > >> > Test? > >> &

Re: [clang-tools-extra] r329873 - [clang-tidy] [modernize-use-auto] Get only a length of token, not the token itself

2018-04-12 Thread Zinovy Nis via cfe-commits
ngTooling that was > required to unbreak the build. > I'm guessing clangLex contains Lexer::MeasureTokenLength() ? > > On Thu, Apr 12, 2018 at 10:22 AM, Roman Lebedev <lebedev...@gmail.com> > wrote: > > Test? > > > > On Thu, Apr 12, 2018 at 8:41 AM, Zinovy Nis via cf

[clang-tools-extra] r329881 - [clang-tidy] [modernize-use-auto] Fix test modernize-use-auto-new-remove-stars.cpp after improvement

2018-04-12 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Wed Apr 11 23:45:47 2018 New Revision: 329881 URL: http://llvm.org/viewvc/llvm-project?rev=329881=rev Log: [clang-tidy] [modernize-use-auto] Fix test modernize-use-auto-new-remove-stars.cpp after improvement 'tooling::fixit::getText' considers a length of "int *" to be

[clang-tools-extra] r329875 - [Documentation] Fix options order for Release Notes in modernize-use-auto.

2018-04-11 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Wed Apr 11 22:45:16 2018 New Revision: 329875 URL: http://llvm.org/viewvc/llvm-project?rev=329875=rev Log: [Documentation] Fix options order for Release Notes in modernize-use-auto. Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-use-auto.rst

[clang-tools-extra] r329873 - [clang-tidy] [modernize-use-auto] Get only a length of token, not the token itself

2018-04-11 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Wed Apr 11 22:41:24 2018 New Revision: 329873 URL: http://llvm.org/viewvc/llvm-project?rev=329873=rev Log: [clang-tidy] [modernize-use-auto] Get only a length of token, not the token itself Modified: clang-tools-extra/trunk/clang-tidy/modernize/UseAutoCheck.cpp

Re: [PATCH] D45405: [clang-tidy] [modernize-use-auto] Add a threshold for minimal type name length to be replaced with 'auto'

2018-04-10 Thread Zinovy Nis via cfe-commits
Roman, I see you've fixed them. Thanks a lot! I did not face with these errors on MSVS'201 so had no chance to fix early. ср, 11 апр. 2018 г. в 0:02, Roman Lebedev via Phabricator < revi...@reviews.llvm.org>: > lebedev.ri added a comment. > > This change had two different problems. > Please

[clang-tools-extra] r329740 - [clang-tidy] [modernize-use-auto] Fix members initialization order

2018-04-10 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Tue Apr 10 11:56:29 2018 New Revision: 329740 URL: http://llvm.org/viewvc/llvm-project?rev=329740=rev Log: [clang-tidy] [modernize-use-auto] Fix members initialization order Modified: clang-tools-extra/trunk/clang-tidy/modernize/UseAutoCheck.cpp Modified:

[clang-tools-extra] r329730 - [clang-tidy] [modernize-use-auto] Add a threshold for minimal type name length to be replaced with 'auto'

2018-04-10 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Tue Apr 10 11:05:24 2018 New Revision: 329730 URL: http://llvm.org/viewvc/llvm-project?rev=329730=rev Log: [clang-tidy] [modernize-use-auto] Add a threshold for minimal type name length to be replaced with 'auto' The threshold option is 'MinTypeNameLength' with default

Re: [clang-tools-extra] r329452 - [clang-tidy] Fix compilation for ParentVirtualCallCheck.cpp

2018-04-10 Thread Zinovy Nis via cfe-commits
weigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/include/llvm/ADT/STLExtras.h:875:22: >>>>required from 'decltype (llvm::adl_begin(Range)) llvm::find_if(R&&, >>>> UnaryPredicate) [with R = llvm::iterator_range>>> clang::CXXBaseSpecifier*>; Unar

Re: [clang-tools-extra] r329452 - [clang-tidy] Fix compilation for ParentVirtualCallCheck.cpp

2018-04-10 Thread Zinovy Nis via cfe-commits
call to >> '(clang::tidy::bugprone::isParentOf(const clang::CXXRecordDecl&, const >> clang::CXXRecordDecl&)::<lambda(int&)>) (const clang::CXXBaseSpecifier&)' >> { return bool(_M_pred(*__it)); } >> ^ >> /home/uw

Re: [clang-tools-extra] r329452 - [clang-tidy] Fix compilation for ParentVirtualCallCheck.cpp

2018-04-09 Thread Zinovy Nis via cfe-commits
o 'int&'ninja: build stopped: subcommand failed. -- пн, 9 апр. 2018 г. в 19:43, Alexander Kornienko <ale...@google.com>: > On Fri, Apr 6, 2018 at 10:42 PM Zinovy Nis via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> Au

Re: [clang-tools-extra] r329550 - Fix unused variable warning.

2018-04-09 Thread Zinovy Nis via cfe-commits
Thanks, Chandler. assert(Result.Nodes.getNodeAs("call")); would also be fine. пн, 9 апр. 2018 г. в 10:29, Chandler Carruth via cfe-commits < cfe-commits@lists.llvm.org>: > Author: chandlerc > Date: Mon Apr 9 00:26:42 2018 > New Revision: 329550 > > URL:

[clang-tools-extra] r329495 - [clang-tidy] Fix compilation for MSVS@PSP4 for ParentVirtualCallCheck.cpp

2018-04-07 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Sat Apr 7 04:22:01 2018 New Revision: 329495 URL: http://llvm.org/viewvc/llvm-project?rev=329495=rev Log: [clang-tidy] Fix compilation for MSVS@PSP4 for ParentVirtualCallCheck.cpp There's an error for PSP4 platform only: C:\Program Files (x86)\Microsoft Visual Studio

[clang-tools-extra] r329454 - [clang-tidy] One more fix compilation for ParentVirtualCallCheck.cpp: find_if predicate

2018-04-06 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Fri Apr 6 14:00:18 2018 New Revision: 329454 URL: http://llvm.org/viewvc/llvm-project?rev=329454=rev Log: [clang-tidy] One more fix compilation for ParentVirtualCallCheck.cpp: find_if predicate Modified:

[clang-tools-extra] r329452 - [clang-tidy] Fix compilation for ParentVirtualCallCheck.cpp

2018-04-06 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Fri Apr 6 13:39:23 2018 New Revision: 329452 URL: http://llvm.org/viewvc/llvm-project?rev=329452=rev Log: [clang-tidy] Fix compilation for ParentVirtualCallCheck.cpp Modified: clang-tools-extra/trunk/clang-tidy/bugprone/ParentVirtualCallCheck.cpp Modified:

[clang-tools-extra] r329448 - [clang-tidy] Check if grand-..parent's virtual method was called instead of overridden parent's.

2018-04-06 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Fri Apr 6 13:02:50 2018 New Revision: 329448 URL: http://llvm.org/viewvc/llvm-project?rev=329448=rev Log: [clang-tidy] Check if grand-..parent's virtual method was called instead of overridden parent's. class A {...int virtual foo() {...}...}; class B: public A

[clang-tools-extra] r328932 - [clang-tidy] Define __clang_analyzer__ macro for clang-tidy for compatibility with clang static analyzer

2018-04-02 Thread Zinovy Nis via cfe-commits
Author: zinovy.nis Date: Sun Apr 1 04:51:57 2018 New Revision: 328932 URL: http://llvm.org/viewvc/llvm-project?rev=328932=rev Log: [clang-tidy] Define __clang_analyzer__ macro for clang-tidy for compatibility with clang static analyzer This macro is widely used in many well-known projects, ex.

Re: [PATCH] D44906: [clang-tidy] Define __clang_analyzer__ macro for clang-tidy for compatibility with clang static analyzer

2018-04-02 Thread Zinovy Nis via cfe-commits
Looks like quotes are required. Thanks for pointing! I'll submit a patch for this. пн, 2 апр. 2018 г. в 17:28, Nico Weber via Phabricator < revi...@reviews.llvm.org>: > thakis added a comment. > > Actually, it doesn't pass on non-Windows either: >