RE: [PATCH] D16754: Bug 15785 - OpenCL errors using vector/scalar conditionals and short integer types

2016-01-31 Thread Igor Chesnokov via cfe-commits
Hi Anton, Okey, nevermore. But what to do with a bug which needs simply be closed (NABs)? I believe they also need a review/approval. Igor -Original Message- From: Anton Korobeynikov [mailto:an...@korobeynikov.info] Sent: Sunday, January 31, 2016 8:19 PM To:

[PATCH] D16761: clang-cl: Support loading plugins on Windows

2016-01-31 Thread Ehsan Akhgari via cfe-commits
ehsan created this revision. ehsan added a reviewer: rnk. ehsan added a subscriber: cfe-commits. This builds on the support being added to LLVM to import and export registries from DLLs. This will allow us to pick up the registry entries added in the DLL's copy of FrontendPluginRegistry. This

Re: r258768 - [Sema] Incomplete types are OK for covariant returns

2016-01-31 Thread Kim Gräsman via cfe-commits
On Sun, Jan 31, 2016 at 5:24 PM, Kim Gräsman wrote: > On Sun, Jan 31, 2016 at 2:50 PM, David Majnemer > wrote: >> >> It is the same issue as CWG defect report 1250: >> http://wg21.cmeerw.net/cwg/issue1250 >> >> I forget how to tell how far back a

[PATCH] D16758: [OpenMP] Prevent nesting of target constructs within target code execution regions.

2016-01-31 Thread Arpith Jacob via cfe-commits
arpith-jacob created this revision. arpith-jacob added reviewers: hfinkel, kkwli0, sfantao, carlo.bertolli, ABataev. arpith-jacob added subscribers: cfe-commits, fraggamuffin, caomhin. This patch enhances Sema to check for the following restriction: OpenMP 4.5 [2.17 Nesting of Regions] If a

Re: [PATCH] D16754: Bug 15785 - OpenCL errors using vector/scalar conditionals and short integer types

2016-01-31 Thread Anton Korobeynikov via cfe-commits
asl requested changes to this revision. asl added a comment. This revision now requires changes to proceed. Please don't create empty review requests. This is ridiculous. Repository: rL LLVM http://reviews.llvm.org/D16754 ___ cfe-commits mailing

r259335 - Mark DR1250 as implemented

2016-01-31 Thread David Majnemer via cfe-commits
Author: majnemer Date: Sun Jan 31 19:33:17 2016 New Revision: 259335 URL: http://llvm.org/viewvc/llvm-project?rev=259335=rev Log: Mark DR1250 as implemented We implemented this DR back in r258768 but forgot to mark it as implemented. Added: cfe/trunk/test/CXX/drs/dr12xx.cpp Modified:

Re: r258768 - [Sema] Incomplete types are OK for covariant returns

2016-01-31 Thread David Majnemer via cfe-commits
Done in r258768. On Sun, Jan 31, 2016 at 10:49 AM, Kim Gräsman wrote: > On Sun, Jan 31, 2016 at 5:24 PM, Kim Gräsman > wrote: > > On Sun, Jan 31, 2016 at 2:50 PM, David Majnemer > > wrote: > >> > >> It is the same issue

Re: [PATCH] D16308: clang-tidy Enhance readability-simplify-boolean-expr check to handle implicit conversions of integral types to bool and member pointers

2016-01-31 Thread Richard via cfe-commits
LegalizeAdulthood updated this revision to Diff 46505. LegalizeAdulthood added a comment. Update from review comments. trunk clang-format http://reviews.llvm.org/D16308 Files: clang-tidy/readability/SimplifyBooleanExprCheck.cpp clang-tidy/readability/SimplifyBooleanExprCheck.h

Re: [PATCH] D16308: clang-tidy Enhance readability-simplify-boolean-expr check to handle implicit conversions of integral types to bool and member pointers

2016-01-31 Thread Richard via cfe-commits
LegalizeAdulthood updated this revision to Diff 46506. LegalizeAdulthood added a comment. Inline Variable http://reviews.llvm.org/D16308 Files: clang-tidy/readability/SimplifyBooleanExprCheck.cpp clang-tidy/readability/SimplifyBooleanExprCheck.h

Re: [PATCH] D16758: [OpenMP] Prevent nesting of target constructs within target code execution regions.

2016-01-31 Thread Alexey Bataev via cfe-commits
ABataev accepted this revision. ABataev added a comment. This revision is now accepted and ready to land. LG http://reviews.llvm.org/D16758 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D16708: Add a new attribute CFNoRelease.

2016-01-31 Thread Michael Gottesman via cfe-commits
gottesmm added a comment. I think that my response via email did not hit phabriactor. So sorry for the delay. Yes there is a forthcoming patch for CodeGen which will place an attribute on the relevant functions. The attribute will be queried in the middle end optimizer. The reason why there

Re: [PATCH] D16529: [clang-tidy] Add modernize-raw-string-literal check

2016-01-31 Thread Richard via cfe-commits
LegalizeAdulthood updated this revision to Diff 46504. LegalizeAdulthood added a comment. Update from comments http://reviews.llvm.org/D16529 Files: clang-tidy/modernize/CMakeLists.txt clang-tidy/modernize/ModernizeTidyModule.cpp clang-tidy/modernize/RawStringLiteralCheck.cpp

Re: [PATCH] D16529: [clang-tidy] Add modernize-raw-string-literal check

2016-01-31 Thread Richard via cfe-commits
LegalizeAdulthood added inline comments. Comment at: docs/clang-tidy/checks/modernize-raw-string-literal.rst:46 @@ +45,3 @@ +editor. Trailing whitespace is likely to be stripped by editors and other +tools, changing the meaning of the literal. +

Re: [PATCH] D16529: [clang-tidy] Add modernize-raw-string-literal check

2016-01-31 Thread Richard via cfe-commits
LegalizeAdulthood marked an inline comment as done. Comment at: clang-tidy/modernize/RawStringLiteralCheck.cpp:79 @@ +78,3 @@ + if (Text.find('R') < Text.find('"')) +return false; + Take a look at http://en.cppreference.com/w/cpp/language/string_literal

Re: [PATCH] D16708: Add a new attribute CFNoRelease.

2016-01-31 Thread Michael Gottesman via cfe-commits
> On Jan 29, 2016, at 6:02 AM, Aaron Ballman wrote: > > aaron.ballman added a subscriber: aaron.ballman. > aaron.ballman added a reviewer: aaron.ballman. > aaron.ballman added a comment. > > It's a bit strange to add an attribute that has absolutely no semantic effect

Re: [PATCH] D16708: Add a new attribute CFNoRelease.

2016-01-31 Thread Michael Gottesman via cfe-commits
gottesmm added inline comments. Comment at: include/clang/Basic/Attr.td:540 @@ +539,3 @@ + let Subjects = SubjectList<[Function]>; + let Documentation = [Undocumented]; +} aaron.ballman wrote: > Please, no undocumented new attributes. You should modify

Re: [PATCH] D16308: clang-tidy Enhance readability-simplify-boolean-expr check to handle implicit conversions of integral types to bool and member pointers

2016-01-31 Thread Richard via cfe-commits
LegalizeAdulthood updated this revision to Diff 46507. LegalizeAdulthood added a comment. Move local function to anonymous namespace http://reviews.llvm.org/D16308 Files: clang-tidy/readability/SimplifyBooleanExprCheck.cpp clang-tidy/readability/SimplifyBooleanExprCheck.h

Re: [PATCH] D16460: Bug 10002 - [opencl] Wrongfully assuming RHS is always unsigned

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov added a comment. Please review and commit. Repository: rL LLVM http://reviews.llvm.org/D16460 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D16682: 19957 - OpenCL incorrectly accepts implicit address space conversion with ternary operator

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov added a comment. Please review and commit. There's no patch, but only unit tests. Repository: rL LLVM http://reviews.llvm.org/D16682 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D16539: [FIX] 26194 - LLVM crash in CXXNameMangler::mangleType

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov added inline comments. Comment at: lib/AST/ItaniumMangle.cpp:1799 @@ -1798,2 +1798,3 @@ case LangAS::opencl_constant: ASString = "CLconstant"; break; + case LangAS::opencl_generic: ASString = "CLgeneric"; break; // ::= "CU" [ "device" |

Re: [PATCH] D16574: Bug 15685 - OpenCL 'char' is not signed

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov added a comment. Please review and commit. Repository: rL LLVM http://reviews.llvm.org/D16574 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D16529: [clang-tidy] Add modernize-raw-string-literal check

2016-01-31 Thread Alexander Kornienko via cfe-commits
alexfh added a comment. Thank you for addressing (most of) the comments! I have a few more comments and the comment about the implementation of `asRawStringLiteral` still applies. Also, please remove unrelated files from the patch. Comment at:

Re: [PATCH] D16748: Cleanup MemRegion.cpp/MemRegion.h

2016-01-31 Thread Alexander Riccio via cfe-commits
ariccio updated this revision to Diff 46481. ariccio marked 10 inline comments as done. ariccio added a comment. Removed extra spaces. http://reviews.llvm.org/D16748 Files: C:/LLVM/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h

Re: [PATCH] D16748: Cleanup MemRegion.cpp/MemRegion.h

2016-01-31 Thread Alexander Riccio via cfe-commits
ariccio added a comment. Oops. The funny thing about the extra spaces is that I wasn't sure why there were spaces after the casts already, so I figured that I should keep it that way. I shall fix. http://reviews.llvm.org/D16748 ___ cfe-commits

[PATCH] D16754: Bug 15785 - OpenCL errors using vector/scalar conditionals and short integer types

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov created this revision. ichesnokov added a reviewer: asl. ichesnokov added a subscriber: cfe-commits. ichesnokov set the repository for this revision to rL LLVM. Not a bug, thus empty patch. Older patch handles the case. Please look at comments at:

Re: r258768 - [Sema] Incomplete types are OK for covariant returns

2016-01-31 Thread Kim Gräsman via cfe-commits
Hi David, Should this be guarded by if(cxx14)? I think the complete type was required by earlier standards. - Kim Den 26 jan 2016 2:40 fm skrev "David Majnemer via cfe-commits" < cfe-commits@lists.llvm.org>: > Author: majnemer > Date: Mon Jan 25 19:37:01 2016 > New Revision: 258768 > > URL:

Re: [PATCH] D16754: Bug 15785 - OpenCL errors using vector/scalar conditionals and short integer types

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov added a comment. BugZilla page: https://llvm.org/bugs/show_bug.cgi?id=15785 Please review and close the bug. Repository: rL LLVM http://reviews.llvm.org/D16754 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D16529: [clang-tidy] Add modernize-raw-string-literal check

2016-01-31 Thread Alexander Kornienko via cfe-commits
alexfh added a comment. In http://reviews.llvm.org/D16529#340240, @alexfh wrote: > Also, please remove unrelated files from the patch. Please ignore this part, I missed the new diff. http://reviews.llvm.org/D16529 ___ cfe-commits mailing list

Re: [PATCH] D16682: 19957 - OpenCL incorrectly accepts implicit address space conversion with ternary operator

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov added a comment. BugZilla page: https://llvm.org/bugs/show_bug.cgi?id=19957 Repository: rL LLVM http://reviews.llvm.org/D16682 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D16539: [FIX] 26194 - LLVM crash in CXXNameMangler::mangleType

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov added a comment. BugZilla page: https://llvm.org/bugs/show_bug.cgi?id=26194 Repository: rL LLVM http://reviews.llvm.org/D16539 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D16351: [FIX] Bug 25404 - Crash on typedef in OpenCL 2.0

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov added a comment. majnemer, I'll try to find answer to your question tomorrow. Repository: rL LLVM http://reviews.llvm.org/D16351 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D16351: [FIX] Bug 25404 - Crash on typedef in OpenCL 2.0

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov added a comment. BugZilla page: https://llvm.org/bugs/show_bug.cgi?id=25404 Repository: rL LLVM http://reviews.llvm.org/D16351 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: r258768 - [Sema] Incomplete types are OK for covariant returns

2016-01-31 Thread Kim Gräsman via cfe-commits
On Sun, Jan 31, 2016 at 2:50 PM, David Majnemer wrote: > > It is the same issue as CWG defect report 1250: > http://wg21.cmeerw.net/cwg/issue1250 > > I forget how to tell how far back a DR applies but I'd guess this one goes > as far back as C++11. Thanks, I didn't know

Re: r258768 - [Sema] Incomplete types are OK for covariant returns

2016-01-31 Thread David Majnemer via cfe-commits
On Sunday, January 31, 2016, Kim Gräsman wrote: > Hi David, > > Should this be guarded by if(cxx14)? I think the complete type was > required by earlier standards. > It is the same issue as CWG defect report 1250: http://wg21.cmeerw.net/cwg/issue1250 I forget how to tell

Re: [PATCH] D16460: Bug 10002 - [opencl] Wrongfully assuming RHS is always unsigned

2016-01-31 Thread Igor Chesnokov via cfe-commits
ichesnokov added a comment. BugZilla page: https://llvm.org/bugs/show_bug.cgi?id=10002 Repository: rL LLVM http://reviews.llvm.org/D16460 ___ cfe-commits mailing list cfe-commits@lists.llvm.org