Re: [PATCH] D14629: [analyzer] Configuration file for scan-build.

2015-12-28 Thread Anna Zaks via cfe-commits
zaks.anna added a comment. Anton, Have you investigated if we can reuse code from clang-tidy? Also, the hope is that the python rewrite of scan-build will replace the current scan-build in the near future. Of cause, it still needs to be tested on Windows. I would really appreciate if you could

Re: [PATCH] D15797: [clang-tidy] Fix readability-braces-around-statements assert failure

2015-12-28 Thread Alexander Kornienko via cfe-commits
alexfh added a comment. Please add a test that crashes without the patch and passes with it. Repository: rL LLVM http://reviews.llvm.org/D15797 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo

Re: r256535 - Revert "[TrailingObjects] Use a different technique to determine if a getDecl"

2015-12-28 Thread Gabriel Dos Reis via cfe-commits
James, if this wasn't already done, please file a bug against MSVC so this can be fixed in future releases. On Mon, Dec 28, 2015 at 8:46 PM, James Y Knight via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: jyknight > Date: Mon Dec 28 22:46:43 2015 > New Revision: 256535 > > URL: http

r256535 - Revert "[TrailingObjects] Use a different technique to determine if a getDecl"

2015-12-28 Thread James Y Knight via cfe-commits
Author: jyknight Date: Mon Dec 28 22:46:43 2015 New Revision: 256535 URL: http://llvm.org/viewvc/llvm-project?rev=256535&view=rev Log: Revert "[TrailingObjects] Use a different technique to determine if a getDecl" This reverts commit r256534. Failed to build on MSVC with error: clang/ASTMatchers

r256534 - [TrailingObjects] Use a different technique to determine if a getDecl

2015-12-28 Thread James Y Knight via cfe-commits
Author: jyknight Date: Mon Dec 28 22:34:11 2015 New Revision: 256534 URL: http://llvm.org/viewvc/llvm-project?rev=256534&view=rev Log: [TrailingObjects] Use a different technique to determine if a getDecl member function exists on a class. The previous trick depended on inheriting from the class

r256529 - Revert r93378, which is incorrect but currently unobservable (because the

2015-12-28 Thread Richard Smith via cfe-commits
Author: rsmith Date: Mon Dec 28 19:02:53 2015 New Revision: 256529 URL: http://llvm.org/viewvc/llvm-project?rev=256529&view=rev Log: Revert r93378, which is incorrect but currently unobservable (because the underlying declaration of a NamedDecl happens to always have the same name and identifier n

r256525 - Fix up a comment and a bit of trailing whitespace.

2015-12-28 Thread Eric Christopher via cfe-commits
Author: echristo Date: Mon Dec 28 15:57:05 2015 New Revision: 256525 URL: http://llvm.org/viewvc/llvm-project?rev=256525&view=rev Log: Fix up a comment and a bit of trailing whitespace. Modified: cfe/trunk/lib/Driver/Tools.cpp Modified: cfe/trunk/lib/Driver/Tools.cpp URL: http://llvm.org/vi

Re: [PATCH] D15794: CheckerContext::isCLibraryFunction(): small refactoring; NFC

2015-12-28 Thread Devin Coughlin via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL256524: Small refactoring in CheckerContext::isCLibraryFunction(). NFC. (authored by dcoughlin). Changed prior to commit: http://reviews.llvm.org/D15794?vs=43688&id=43706#toc Repository: rL LLVM htt

r256524 - Small refactoring in CheckerContext::isCLibraryFunction(). NFC.

2015-12-28 Thread Devin Coughlin via cfe-commits
Author: dcoughlin Date: Mon Dec 28 15:47:51 2015 New Revision: 256524 URL: http://llvm.org/viewvc/llvm-project?rev=256524&view=rev Log: Small refactoring in CheckerContext::isCLibraryFunction(). NFC. Use getRedeclContext() instead of a manually-written loop and fix a comment. A patch by Aleksei

Re: [PATCH] D15794: CheckerContext::isCLibraryFunction(): small refactoring; NFC

2015-12-28 Thread Devin Coughlin via cfe-commits
dcoughlin accepted this revision. dcoughlin added a comment. This revision is now accepted and ready to land. LGTM. I'll commit. Thanks Aleksei! Repository: rL LLVM http://reviews.llvm.org/D15794 ___ cfe-commits mailing list cfe-commits@lists.llv

Re: [PATCH] D14629: [analyzer] Configuration file for scan-build.

2015-12-28 Thread Антон Ярцев via cfe-commits
ayartsev added a comment. Ping. http://reviews.llvm.org/D14629 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] r256517 - Orphaning these RST files; each one is retained only for link backwards compatibility.

2015-12-28 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Mon Dec 28 13:59:15 2015 New Revision: 256517 URL: http://llvm.org/viewvc/llvm-project?rev=256517&view=rev Log: Orphaning these RST files; each one is retained only for link backwards compatibility. Modified: clang-tools-extra/trunk/docs/clang-modernize.rst cla

r256516 - We check for dwarf 5 in the backend, so go ahead and pass it along via

2015-12-28 Thread Eric Christopher via cfe-commits
Author: echristo Date: Mon Dec 28 13:58:44 2015 New Revision: 256516 URL: http://llvm.org/viewvc/llvm-project?rev=256516&view=rev Log: We check for dwarf 5 in the backend, so go ahead and pass it along via the front end as well. Note that DWARF5 isn't finalized and any feature support is subject

r256511 - Do not crash if class is defined in wrong scope.

2015-12-28 Thread Serge Pavlov via cfe-commits
Author: sepavloff Date: Mon Dec 28 13:40:14 2015 New Revision: 256511 URL: http://llvm.org/viewvc/llvm-project?rev=256511&view=rev Log: Do not crash if class is defined in wrong scope. This patch fixes PR16677. The latter represents the case when due to misprinted character class definition occur

Re: [PATCH] D15005: Fix PR8170: Clang does not check constructor declaration that uses a template-id

2015-12-28 Thread Faisal Vali via cfe-commits
faisalv added a comment. *ping* http://reviews.llvm.org/D15005 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r256508 - Fix up comment in header.

2015-12-28 Thread Eric Christopher via cfe-commits
Author: echristo Date: Mon Dec 28 13:07:46 2015 New Revision: 256508 URL: http://llvm.org/viewvc/llvm-project?rev=256508&view=rev Log: Fix up comment in header. Modified: cfe/trunk/lib/Headers/altivec.h Modified: cfe/trunk/lib/Headers/altivec.h URL: http://llvm.org/viewvc/llvm-project/cfe/t

r256509 - Comment and reorganize some of the target feature option sets.

2015-12-28 Thread Eric Christopher via cfe-commits
Author: echristo Date: Mon Dec 28 13:07:48 2015 New Revision: 256509 URL: http://llvm.org/viewvc/llvm-project?rev=256509&view=rev Log: Comment and reorganize some of the target feature option sets. Modified: cfe/trunk/include/clang/Driver/Options.td Modified: cfe/trunk/include/clang/Driver/O

[PATCH] D15796: [PATCH] clang-tidy documentation redirects

2015-12-28 Thread Aaron Ballman via cfe-commits
aaron.ballman created this revision. aaron.ballman added reviewers: alexfh, sbenza. aaron.ballman added a subscriber: cfe-commits. Some of our checkers are registered under multiple different check names. This works well in terms of command line arguments, but does not work well for documentatio

[clang-tools-extra] r256504 - [clang-tidy] Fix a false positive case in ContainerSizeEmpty check.

2015-12-28 Thread Gabor Horvath via cfe-commits
Author: xazax Date: Mon Dec 28 11:20:33 2015 New Revision: 256504 URL: http://llvm.org/viewvc/llvm-project?rev=256504&view=rev Log: [clang-tidy] Fix a false positive case in ContainerSizeEmpty check. Modified: clang-tools-extra/trunk/clang-tidy/readability/ContainerSizeEmptyCheck.cpp clan

r256503 - Avoid crash when dumping LocInfoType.

2015-12-28 Thread Serge Pavlov via cfe-commits
Author: sepavloff Date: Mon Dec 28 11:19:12 2015 New Revision: 256503 URL: http://llvm.org/viewvc/llvm-project?rev=256503&view=rev Log: Avoid crash when dumping LocInfoType. LocInfoType is a helper type used internally inside Sema and Parser, it does not exist in valid AST. LocInfoType uses code

Re: [PATCH] D15709: [X86] Support 'interrupt' attribute for x86

2015-12-28 Thread Aaron Ballman via cfe-commits
aaron.ballman added inline comments. Comment at: include/clang/Basic/Attr.td:1531 @@ -1529,1 +1530,3 @@ +def IAInterrupt : InheritableAttr, TargetSpecificAttr { + // NOTE: If you add any additional spellings, ARMInterrupt's, Maybe this (and IAInterruptDocs) sho

Re: [PATCH] D15795: [ms inline asm] Add support for label names with '$' chars

2015-12-28 Thread Ehsan Akhgari via cfe-commits
ehsan accepted this revision. ehsan added a comment. This revision is now accepted and ready to land. LGTM. Repository: rL LLVM http://reviews.llvm.org/D15795 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/m

Re: [PATCH] D15710: [clang-tidy] Add non-inline function definition and variable definition check in header files.

2015-12-28 Thread Aaron Ballman via cfe-commits
aaron.ballman added a reviewer: aaron.ballman. Comment at: docs/clang-tidy/checks/misc-definitions-in-headers.rst:18 @@ +17,3 @@ + int c = 2; // ok + } + hokein wrote: > Yeah, it's not a good practice to define an an unnamed namespace in header > file (Goo

r256501 - Silence enumeral and non-enumeral type in conditional expression warning; NFC.

2015-12-28 Thread Aaron Ballman via cfe-commits
Author: aaronballman Date: Mon Dec 28 09:52:46 2015 New Revision: 256501 URL: http://llvm.org/viewvc/llvm-project?rev=256501&view=rev Log: Silence enumeral and non-enumeral type in conditional expression warning; NFC. Modified: cfe/trunk/lib/Parse/ParseOpenMP.cpp Modified: cfe/trunk/lib/Pars

Re: [PATCH] D15603: [OpenCL] Pipe type support

2015-12-28 Thread Xiuli PAN via cfe-commits
pxli168 added inline comments. Comment at: lib/CodeGen/CGOpenCLRuntime.cpp:108 @@ +107,3 @@ +PipeTy = llvm::PointerType::get(llvm::StructType::create( + CGM.getLLVMContext(), "opencl.pipe_t"), PipeAddrSpc); + } pekka.jaaskelainen wrote: > pxli168 wrote:

Re: [PATCH] D15603: [OpenCL] Pipe type support

2015-12-28 Thread Xiuli PAN via cfe-commits
pxli168 added inline comments. Comment at: lib/CodeGen/CGOpenCLRuntime.cpp:108 @@ +107,3 @@ +PipeTy = llvm::PointerType::get(llvm::StructType::create( + CGM.getLLVMContext(), "opencl.pipe_t"), PipeAddrSpc); + } pekka.jaaskelainen wrote: > I'm not sure if

Re: [PATCH] D15647: [X86] Fix stack alignment for MCU target (Clang part)

2015-12-28 Thread Anton Nadolskiy via cfe-commits
anadolskiy added a comment. ping http://reviews.llvm.org/D15647 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D15795: [ms inline asm] Add support for label names with '$' chars

2015-12-28 Thread Marina Yatsina via cfe-commits
myatsina created this revision. myatsina added reviewers: ehsan, rnk. myatsina added subscribers: llvm-commits, cfe-commits. myatsina set the repository for this revision to rL LLVM. In MS inline asm syntax a label with '$' char produces an error, while in AT&T it does not. In AT&T inline asm syn

Re: [PATCH] D10011: Refactor: Simplify boolean conditional return statements in lib/Basic

2015-12-28 Thread Alexander Kornienko via cfe-commits
alexfh added a subscriber: alexfh. alexfh added a comment. The patch doesn't apply cleanly. You need to rebase it again. http://reviews.llvm.org/D10011 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/lis

Re: [PATCH] D10017: Refactor: Simplify boolean conditional return statements in lib/Lex

2015-12-28 Thread Alexander Kornienko via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL256499: Refactor: Simplify boolean conditional return statements in lib/Lex (authored by alexfh). Changed prior to commit: http://reviews.llvm.org/D10017?vs=38322&id=43693#toc Repository: rL LLVM ht

r256499 - Refactor: Simplify boolean conditional return statements in lib/Lex

2015-12-28 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Mon Dec 28 09:30:42 2015 New Revision: 256499 URL: http://llvm.org/viewvc/llvm-project?rev=256499&view=rev Log: Refactor: Simplify boolean conditional return statements in lib/Lex Summary: Use clang-tidy to simplify boolean conditional return statements Reviewers: dblaikie

Re: [PATCH] D10019: Refactor: Simplify boolean conditional return statements in lib/Sema

2015-12-28 Thread Alexander Kornienko via cfe-commits
alexfh added a subscriber: alexfh. alexfh added a comment. David, have your comments been addressed completely? http://reviews.llvm.org/D10019 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe

Re: [PATCH] D15710: [clang-tidy] Add non-inline function definition and variable definition check in header files.

2015-12-28 Thread Haojian Wu via cfe-commits
hokein marked 6 inline comments as done. Comment at: docs/clang-tidy/checks/misc-definitions-in-headers.rst:18 @@ +17,3 @@ + int c = 2; // ok + } + Yeah, it's not a good practice to define an an unnamed namespace in header file (Google cpp code style also

r256498 - Refactor: Simplify boolean conditional return statements in tools/libclang

2015-12-28 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Mon Dec 28 09:24:08 2015 New Revision: 256498 URL: http://llvm.org/viewvc/llvm-project?rev=256498&view=rev Log: Refactor: Simplify boolean conditional return statements in tools/libclang Summary: Use clang-tidy to simplify boolean conditional return statements. Reviewers: al

Re: [PATCH] D10024: Refactor: Simplify boolean conditional return statements in tools/libclang

2015-12-28 Thread Alexander Kornienko via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL256498: Refactor: Simplify boolean conditional return statements in tools/libclang (authored by alexfh). Changed prior to commit: http://reviews.llvm.org/D10024?vs=38315&id=43691#toc Repository: rL L

[PATCH] D15794: CheckerContext::isCLibraryFunction(): small refactoring; NFC

2015-12-28 Thread Aleksei Sidorin via cfe-commits
a.sidorin created this revision. a.sidorin added reviewers: zaks.anna, xazax.hun, dcoughlin. a.sidorin added a subscriber: cfe-commits. a.sidorin set the repository for this revision to rL LLVM. Use getRedeclContext() instead of a manually written loop; fix a comment. Repository: rL LLVM http:

Re: [PATCH] D10016: Refactor: Simplify boolean conditional return statements in lib/Frontend

2015-12-28 Thread Alexander Kornienko via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL256496: Refactor: Simplify boolean conditional return statements in lib/Frontend (authored by alexfh). Changed prior to commit: http://reviews.llvm.org/D10016?vs=38309&id=43687#toc Repository: rL LLV

r256497 - Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Frontend

2015-12-28 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Mon Dec 28 09:19:39 2015 New Revision: 256497 URL: http://llvm.org/viewvc/llvm-project?rev=256497&view=rev Log: Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Frontend Summary: Use clang-tidy to simplify boolean conditional return statements

Re: [PATCH] D10023: Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Frontend

2015-12-28 Thread Alexander Kornienko via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL256497: Refactor: Simplify boolean conditional return statements in… (authored by alexfh). Changed prior to commit: http://reviews.llvm.org/D10023?vs=38312&id=43689#toc Repository: rL LLVM http://re

Re: [PATCH] D10024: Refactor: Simplify boolean conditional return statements in tools/libclang

2015-12-28 Thread Alexander Kornienko via cfe-commits
alexfh added a subscriber: alexfh. alexfh accepted this revision. alexfh added a reviewer: alexfh. alexfh added a comment. This revision is now accepted and ready to land. LG http://reviews.llvm.org/D10024 ___ cfe-commits mailing list cfe-commits@li

r256496 - Refactor: Simplify boolean conditional return statements in lib/Frontend

2015-12-28 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Mon Dec 28 09:15:16 2015 New Revision: 256496 URL: http://llvm.org/viewvc/llvm-project?rev=256496&view=rev Log: Refactor: Simplify boolean conditional return statements in lib/Frontend Summary: Use clang-tidy to simplify boolean conditional return statements Reviewers: alexf

Re: [PATCH] D10023: Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Frontend

2015-12-28 Thread Alexander Kornienko via cfe-commits
alexfh added a subscriber: alexfh. alexfh accepted this revision. alexfh added a reviewer: alexfh. alexfh added a comment. This revision is now accepted and ready to land. LG http://reviews.llvm.org/D10023 ___ cfe-commits mailing list cfe-commits@li

Re: [PATCH] D15710: [clang-tidy] Add non-inline function definition and variable definition check in header files.

2015-12-28 Thread Haojian Wu via cfe-commits
hokein updated this revision to Diff 43686. hokein added a comment. Address aaron's comments. http://reviews.llvm.org/D15710 Files: clang-tidy/misc/CMakeLists.txt clang-tidy/misc/DefinitionsInHeadersCheck.cpp clang-tidy/misc/DefinitionsInHeadersCheck.h clang-tidy/misc/MiscTidyModule.cpp

Re: [PATCH] D10016: Refactor: Simplify boolean conditional return statements in lib/Frontend

2015-12-28 Thread Alexander Kornienko via cfe-commits
alexfh added a subscriber: alexfh. alexfh accepted this revision. alexfh added a reviewer: alexfh. alexfh added a comment. This revision is now accepted and ready to land. LG http://reviews.llvm.org/D10016 ___ cfe-commits mailing list cfe-commits@li

Re: [PATCH] D15448: [analyzer] SVal Visitor.

2015-12-28 Thread Artem Dergachev via cfe-commits
NoQ updated this revision to Diff 43683. NoQ marked an inline comment as done. NoQ added a comment. An attempt on the .def-files. The next step would probably be the `VisitChildren()` thing, and I'll see if it allows to refactor and simplify some code. __ Forgot to answer: I guess there ar

Re: [PATCH] D15603: [OpenCL] Pipe type support

2015-12-28 Thread Pekka Jääskeläinen via cfe-commits
pekka.jaaskelainen added inline comments. Comment at: lib/CodeGen/CGOpenCLRuntime.cpp:108 @@ +107,3 @@ +PipeTy = llvm::PointerType::get(llvm::StructType::create( + CGM.getLLVMContext(), "opencl.pipe_t"), PipeAddrSpc); + } pxli168 wrote: > pekka.jaaskelai

Re: [PATCH] D15055: [X86] Better support for the MCU psABI

2015-12-28 Thread Michael Kuperstein via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL256495: [X86] Better support for the MCU psABI (clang part) (authored by mkuper). Changed prior to commit: http://reviews.llvm.org/D15055?vs=41348&id=43685#toc Repository: rL LLVM http://reviews.llv

r256495 - [X86] Better support for the MCU psABI (clang part)

2015-12-28 Thread Michael Kuperstein via cfe-commits
Author: mkuper Date: Mon Dec 28 08:39:54 2015 New Revision: 256495 URL: http://llvm.org/viewvc/llvm-project?rev=256495&view=rev Log: [X86] Better support for the MCU psABI (clang part) This adds support for the MCU psABI in a way different from r251223 and r251224, basically reverting most of the

Re: [PATCH] D15121: A new clang-tidy module to find calls to `std::swap`, and change them to use ADL

2015-12-28 Thread Alexander Kornienko via cfe-commits
alexfh added a subscriber: alexfh. alexfh added a comment. Found this accidentally, since I don't read all of cfe-commits normally. Would be nice if you could add me to reviewers on clang-tidy-related patches. Thanks! In http://reviews.llvm.org/D15121#300837, @dblaikie wrote: > (tangential: Sho

Re: [PATCH] D15603: [OpenCL] Pipe type support

2015-12-28 Thread Pekka Jääskeläinen via cfe-commits
pekka.jaaskelainen added inline comments. Comment at: lib/CodeGen/CGOpenCLRuntime.cpp:108 @@ +107,3 @@ +PipeTy = llvm::PointerType::get(llvm::StructType::create( + CGM.getLLVMContext(), "opencl.pipe_t"), PipeAddrSpc); + } I'm not sure if touching the bui

[clang-tools-extra] r256492 - [clang-tidy] Preserve comments and preprocessor directives when simplifying boolean expressions

2015-12-28 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Mon Dec 28 07:21:22 2015 New Revision: 256492 URL: http://llvm.org/viewvc/llvm-project?rev=256492&view=rev Log: [clang-tidy] Preserve comments and preprocessor directives when simplifying boolean expressions This changeset still emits the diagnostic that the expression could

Re: [PATCH] D15737: [clang-tidy] Preserve comments and preprocessor directives when simplifying boolean expressions

2015-12-28 Thread Alexander Kornienko via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL256492: [clang-tidy] Preserve comments and preprocessor directives when simplifying… (authored by alexfh). Changed prior to commit: http://reviews.llvm.org/D15737?vs=43647&id=43678#toc Repository: rL

Re: [PATCH] D15737: [clang-tidy] Preserve comments and preprocessor directives when simplifying boolean expressions

2015-12-28 Thread Alexander Kornienko via cfe-commits
alexfh added a comment. > Do you need me to commit the patch for you? Assuming "yes", since I don't recall any patches committed by you. Actually, it might be a good idea for you to request commit access at this point. http://reviews.llvm.org/D15737

Re: [PATCH] D10021: Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Checkers

2015-12-28 Thread Alexander Kornienko via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL256491: Refactor: Simplify boolean conditional return statements in… (authored by alexfh). Changed prior to commit: http://reviews.llvm.org/D10021?vs=38311&id=43677#toc Repository: rL LLVM http://re

r256491 - Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Checkers

2015-12-28 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Mon Dec 28 07:06:58 2015 New Revision: 256491 URL: http://llvm.org/viewvc/llvm-project?rev=256491&view=rev Log: Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Checkers Summary: Use clang-tidy to simplify boolean conditional return values Revi

Re: [PATCH] D10021: Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Checkers

2015-12-28 Thread Alexander Kornienko via cfe-commits
alexfh added a subscriber: alexfh. alexfh added a comment. I assume, Richard doesn't have svn commit access yet. I'll commit the patch for him. http://reviews.llvm.org/D10021 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm

Re: [PATCH] D15737: [clang-tidy] Preserve comments and preprocessor directives when simplifying boolean expressions

2015-12-28 Thread Alexander Kornienko via cfe-commits
alexfh accepted this revision. alexfh added a comment. This revision is now accepted and ready to land. Thanks! Looks good with one nit. Do you need me to commit the patch for you? Comment at: clang-tidy/readability/SimplifyBooleanExprCheck.cpp:519 @@ +518,3 @@ + + DiagnosticB

Re: [PATCH] D15709: [X86] Support 'interrupt' attribute for x86

2015-12-28 Thread Alexey Bataev via cfe-commits
ABataev updated this revision to Diff 43676. ABataev marked 3 inline comments as done. ABataev added a comment. Update after review http://reviews.llvm.org/D15709 Files: include/clang/Basic/Attr.td include/clang/Basic/AttrDocs.td include/clang/Basic/DiagnosticSemaKinds.td lib/CodeGen/Ta

Re: [PATCH] D15410: AnalysisConsumer: use canonical decl for both lookup and store of visited decls

2015-12-28 Thread Aleksei Sidorin via cfe-commits
a.sidorin updated this revision to Diff 43674. a.sidorin marked an inline comment as done. a.sidorin added a comment. Canonicalize the inserted declarations in a single place; honor ObjCMethodDecls. Repository: rL LLVM http://reviews.llvm.org/D15410 Files: lib/StaticAnalyzer/Frontend/Analy

Re: [PATCH] D15709: [X86] Support 'interrupt' attribute for x86

2015-12-28 Thread Alexey Bataev via cfe-commits
ABataev marked 9 inline comments as done. ABataev added a comment. John, thanks for the review! Comment at: include/clang/Basic/Attr.td:255 @@ -254,2 +254,3 @@ def TargetX86 : TargetArch<["x86"]>; +def TargetIA : TargetArch<["x86", "x86_64"]>; def TargetWindows : TargetArch<["

Re: [PATCH] D15709: [X86] Support 'interrupt' attribute for x86

2015-12-28 Thread Alexey Bataev via cfe-commits
ABataev marked 8 inline comments as done. ABataev added a comment. Aaron, thanks for the review! Comment at: include/clang/Basic/AttrDocs.td:1867 @@ +1866,3 @@ +Clang supports the GNU style ``__attribute__((interrupt))`` attribute on +x86 targets. This attribute may be attached