Re: [PATCH] D23765: Fix for clang PR 29087

2016-09-23 Thread Taewook Oh via cfe-commits
twoh added a comment. ping https://reviews.llvm.org/D23765 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D23765: Fix for clang PR 29087

2016-09-16 Thread Taewook Oh via cfe-commits
twoh added a comment. @rsmith Thank you for your review! I added tests to cxx11-crashes.cpp, as the goal of this patch is not handling __has_* traits right but preventing ICE. Also, I tried to use ConstructorUsingShadowDecl::getConstructor instead of ConstructorUsingShadowDecl::getTargetDecl fo

Re: [PATCH] D23765: Fix for clang PR 29087

2016-09-16 Thread Taewook Oh via cfe-commits
twoh updated this revision to Diff 71711. twoh added a comment. Updated diff. For ConstructorUsingShadowDecl, test with its target CXXConstructorDecl, but only when it is not a default/copy/move constructor. https://reviews.llvm.org/D23765 Files: lib/Sema/SemaExprCXX.cpp test/SemaCXX/cxx11

Re: [PATCH] D23765: Fix for clang PR 29087

2016-09-15 Thread Richard Smith via cfe-commits
rsmith added inline comments. Comment at: lib/Sema/SemaExprCXX.cpp:4227 @@ -4226,1 +4226,3 @@ continue; +// Using(Shadow)Decl itself is not a constructor +if (isa(ND) || isa(ND)) This isn't really right: a `UsingShadowDecl` whose underly

Re: [PATCH] D23765: Fix for clang PR 29087

2016-09-15 Thread Taewook Oh via cfe-commits
twoh updated this revision to Diff 71560. twoh added a comment. Tests added https://reviews.llvm.org/D23765 Files: lib/Sema/SemaExprCXX.cpp test/SemaCXX/crash-has-nothrow-constructor.cpp test/SemaCXX/crash-has-nothrow-copy.cpp Index: test/SemaCXX/crash-has-nothrow-copy.cpp ==

Re: [PATCH] D23765: Fix for clang PR 29087

2016-09-14 Thread Serge Pavlov via cfe-commits
sepavloff added a subscriber: sepavloff. sepavloff added a comment. You need to provide a test for the fix. https://reviews.llvm.org/D23765 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co

Re: [PATCH] D23765: Fix for clang PR 29087

2016-09-14 Thread Taewook Oh via cfe-commits
twoh added a comment. Ping. https://reviews.llvm.org/D23765 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D23765: Fix for clang PR 29087

2016-08-29 Thread Taewook Oh via cfe-commits
twoh added a comment. ping https://reviews.llvm.org/D23765 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits