r261960 - Make vtables_blacklist dependency conditional on existence of clang target.

2016-02-25 Thread Peter Collingbourne via cfe-commits
Author: pcc Date: Thu Feb 25 21:07:33 2016 New Revision: 261960 URL: http://llvm.org/viewvc/llvm-project?rev=261960&view=rev Log: Make vtables_blacklist dependency conditional on existence of clang target. Modified: cfe/trunk/runtime/CMakeLists.txt Modified: cfe/trunk/runtime/CMakeLists.txt

Re: r261767 - Add whole-program vtable optimization feature to Clang.

2016-02-25 Thread Peter Collingbourne via cfe-commits
(I don't understand why this flag needs to exist, but) I've implemented a fix in r261960. Peter On Thu, Feb 25, 2016 at 06:50:52PM -0800, Steven Wu wrote: > Hi Peter > > I notice after this commit, I can no longer use cmake option > -DCLANG_TOOL_DRIVER_BUILD=OFF to choose not to build and link

r261961 - [OpenCL] Refine OpenCLImageAccessAttr to OpenCLAccessAttr

2016-02-25 Thread Xiuli Pan via cfe-commits
Author: pxl Date: Thu Feb 25 21:13:03 2016 New Revision: 261961 URL: http://llvm.org/viewvc/llvm-project?rev=261961&view=rev Log: [OpenCL] Refine OpenCLImageAccessAttr to OpenCLAccessAttr Summary: OpenCL access qualifiers are now not only used for image types, refine it to avoid misleading, Add

r261962 - OpenMPClause.h: Fix typo in \param. [-Wdocumentation]

2016-02-25 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Thu Feb 25 21:15:09 2016 New Revision: 261962 URL: http://llvm.org/viewvc/llvm-project?rev=261962&view=rev Log: OpenMPClause.h: Fix typo in \param. [-Wdocumentation] Modified: cfe/trunk/include/clang/AST/OpenMPClause.h Modified: cfe/trunk/include/clang/AST/OpenMPClause.

r261963 - Checkers/CheckObjCDealloc.cpp: Prune "\param". [-Wdocumentation]

2016-02-25 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Thu Feb 25 21:15:13 2016 New Revision: 261963 URL: http://llvm.org/viewvc/llvm-project?rev=261963&view=rev Log: Checkers/CheckObjCDealloc.cpp: Prune "\param". [-Wdocumentation] Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp Modified: cfe/trunk/lib/

Re: [PATCH] D17547: [OpenMP] Add support for multidimensional array sections in map clause SEMA.

2016-02-25 Thread Alexey Bataev via cfe-commits
ABataev added inline comments. Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7767-7768 @@ -7766,4 +7766,4 @@ "bit fields cannot be used to specify storage in a map clause">; -def err_omp_array_section_in_rightmost_expression : Error< - "array section can only be assoc

Re: [PATCH] D17019: [OpenMP] Code generation for teams - kernel launching

2016-02-25 Thread Alexey Bataev via cfe-commits
ABataev added inline comments. Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:4002 @@ +4001,3 @@ +static llvm::Value * +emitNumTeamsClauseForTargetDirective(CodeGenFunction &CGF, + const OMPExecutableDirective &D, I still don't lik

Re: r261767 - Add whole-program vtable optimization feature to Clang.

2016-02-25 Thread Steven Wu via cfe-commits
Thanks a lot! Steven > On Feb 25, 2016, at 7:12 PM, Peter Collingbourne wrote: > > (I don't understand why this flag needs to exist, but) I've implemented a > fix in r261960. > > Peter > > On Thu, Feb 25, 2016 at 06:50:52PM -0800, Steven Wu wrote: >> Hi Peter >> >> I notice after this comm

Re: [PATCH] D17170: [OPENMP] Codegen for distribute directive

2016-02-25 Thread Alexey Bataev via cfe-commits
ABataev accepted this revision. ABataev added a comment. This revision is now accepted and ready to land. LG Repository: rL LLVM http://reviews.llvm.org/D17170 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/

r261970 - [analyzer] Prune some incorrect \param doc comment annotations.

2016-02-25 Thread Devin Coughlin via cfe-commits
Author: dcoughlin Date: Thu Feb 25 21:41:31 2016 New Revision: 261970 URL: http://llvm.org/viewvc/llvm-project?rev=261970&view=rev Log: [analyzer] Prune some incorrect \param doc comment annotations. Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp cfe/trunk/lib/Static

Re: [PATCH] D17369: [OpenMP] Code generation for target exit data directive

2016-02-25 Thread Alexey Bataev via cfe-commits
ABataev accepted this revision. This revision is now accepted and ready to land. Comment at: lib/CodeGen/CGStmtOpenMP.cpp:2781-2783 @@ +2780,5 @@ + const Expr *IfCond = nullptr; + if (auto *C = S.getSingleClause()) { +IfCond = C->getCondition(); + } + Remov

Re: [PATCH] D17629: [OpenMP] Fix parsing of delete map clause modifier in C++ mode.

2016-02-25 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/D17629 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co

Re: [PATCH] D17368: [OpenMP] Code generation for target enter data directive

2016-02-25 Thread Alexey Bataev via cfe-commits
ABataev accepted this revision. ABataev added a comment. This revision is now accepted and ready to land. LG Comment at: lib/CodeGen/CGStmtOpenMP.cpp:2758-2760 @@ +2757,5 @@ + const Expr *IfCond = nullptr; + if (auto *C = S.getSingleClause()) { +IfCond = C->getCondition();

Re: [PATCH] D17367: [OpenMP] Code generation for target data directive

2016-02-25 Thread Alexey Bataev via cfe-commits
ABataev accepted this revision. ABataev added a comment. This revision is now accepted and ready to land. LG Comment at: lib/CodeGen/CGStmtOpenMP.cpp:2736-2738 @@ +2735,5 @@ + const Expr *IfCond = nullptr; + if (auto *C = S.getSingleClause()) { +IfCond = C->getCondition();

r261975 - [MSVC Compat] Don't evaluate member base expressions w/o side effects

2016-02-25 Thread David Majnemer via cfe-commits
Author: majnemer Date: Thu Feb 25 22:23:19 2016 New Revision: 261975 URL: http://llvm.org/viewvc/llvm-project?rev=261975&view=rev Log: [MSVC Compat] Don't evaluate member base expressions w/o side effects A member expression's base doesn't always have an impact on what the member decl would evalu

Re: [PATCH] D17619: [MSVC Compat] Don't evaluate member base expressions w/o side effects

2016-02-25 Thread David Majnemer via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL261975: [MSVC Compat] Don't evaluate member base expressions w/o side effects (authored by majnemer). Changed prior to commit: http://reviews.llvm.org/D17619?vs=49109&id=49150#toc Repository: rL LLVM

Re: [PATCH] D15636: Reduce false positives in printf/scanf format checker

2016-02-25 Thread Richard Trieu via cfe-commits
rtrieu accepted this revision. rtrieu added a comment. This revision is now accepted and ready to land. LGTM The other issues brought up in this review can go in follow up patches. http://reviews.llvm.org/D15636 ___ cfe-commits mailing list cfe-comm

r261976 - [Driver] Disable frame pointer elimination by default if target is

2016-02-25 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Thu Feb 25 23:07:00 2016 New Revision: 261976 URL: http://llvm.org/viewvc/llvm-project?rev=261976&view=rev Log: [Driver] Disable frame pointer elimination by default if target is x86_64-pc-win32-macho. rdar://problem/24470634 Modified: cfe/trunk/lib/Driver/Tools.cpp

Re: [PATCH] D17412: PR19957: [OpenCL] incorrectly accepts implicit address space conversion with ternary operator

2016-02-25 Thread Xiuli PAN via cfe-commits
pxli168 added inline comments. Comment at: lib/Sema/SemaExpr.cpp:6194-6203 @@ +6193,12 @@ + + incompatTy = S.Context.getPointerType( + S.Context.getAddrSpaceQualType(S.Context.VoidTy, ResultAddrSpace)); + LHS = S.ImpCastExprToType(LHS.get(), incompatTy, +

Re: [PATCH] D17627: Fix false positives for for-loop-analysis warning

2016-02-25 Thread Richard Trieu via cfe-commits
rtrieu added a comment. This seems rather strange. Usually, a OpaqueValueExpr will hold an expression that is held elsewhere in the AST. However, in this case, it appears that all the references to --i are all behind OpaqueValueExpr's, so they aren't processed. `-CStyleCastExpr 0x5675d30

Re: [PATCH] D17622: [PGO] clang cc1 option change to enable IR level instrumenation

2016-02-25 Thread Sean Silva via cfe-commits
silvas added a comment. Thanks for splitting this out. I think the `-fprofile-instrument=llvm` is straightforward and uncontroversial. Let's focus this review on that and split the others into a separate review. But a quick preview of my thoughs about `-fprofile-instrument={llvm,clang}-use`: I

Re: [PATCH] D17621: [clang-format] Detect constructor initializers preceded by `noexcept`.

2016-02-25 Thread Daniel Jasper via cfe-commits
djasper added a comment. Thanks for looking at this. Please also add a test in unittests/Format/FormatTest.cpp. Comment at: lib/Format/TokenAnnotator.cpp:507 @@ -506,3 +506,3 @@ !Line.First->isOneOf(tok::kw_enum, tok::kw_case)) { -if (Tok->Previous->is

Re: [PATCH] D16579: Warn if friend function depends on template parameters.

2016-02-25 Thread Serge Pavlov via cfe-commits
Could someone provide a feedback? Thanks, --Serge 2016-01-26 20:55 GMT+06:00 Serge Pavlov : > sepavloff created this revision. > sepavloff added a subscriber: cfe-commits. > > Declaration of friend function may depend on template parameters, > however it does not become a template function: > >

<    1   2