Re: [PATCH] D17392: Embed bitcode in object file (clang cc1 part)

2016-04-21 Thread Vedant Kumar via cfe-commits
vsk added a subscriber: vsk. vsk added a comment. Just a few nitpicks. Comment at: lib/CodeGen/BackendUtil.cpp:785 @@ +784,3 @@ + llvm::WriteBitcodeToFile(M, OS, /* ShouldPreserveUseListOrder */ true); + ModuleData = ArrayRef((uint8_t*)OS.str().data(), +

[libcxx] r267085 - Complete LWG issue #2016. Allocators must be nothrow swappable

2016-04-21 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Apr 21 19:15:18 2016 New Revision: 267085 URL: http://llvm.org/viewvc/llvm-project?rev=267085&view=rev Log: Complete LWG issue #2016. Allocators must be nothrow swappable Modified: libcxx/trunk/test/std/containers/associative/map/map.special/swap_noexcept.pass.cpp

Re: [PATCH] D17392: Embed bitcode in object file (clang cc1 part)

2016-04-21 Thread Steven Wu via cfe-commits
steven_wu updated this revision to Diff 54597. steven_wu added a comment. Thanks Vedant! Address all of your review in this update. http://reviews.llvm.org/D17392 Files: include/clang/CodeGen/BackendUtil.h include/clang/Driver/Options.td include/clang/Frontend/CodeGenOptions.def includ

Re: [PATCH] D19393: Move Checkers.inc to clang/include/.../Checkers

2016-04-21 Thread Stephen Hines via cfe-commits
srhines added inline comments. Comment at: include/clang/StaticAnalyzer/Checkers/CMakeLists.txt:3 @@ +2,3 @@ + -I ${CMAKE_CURRENT_SOURCE_DIR}/../../../ + SOURCE ../../../../lib/StaticAnalyzer/Checkers/Checkers.td + TARGET ClangSACheckers) Anna should probably d

[clang-tools-extra] r267087 - clangTidyReadabilityModule: Add clangTidyUtils in libdeps, corresponding to r267003.

2016-04-21 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Thu Apr 21 19:33:39 2016 New Revision: 267087 URL: http://llvm.org/viewvc/llvm-project?rev=267087&view=rev Log: clangTidyReadabilityModule: Add clangTidyUtils in libdeps, corresponding to r267003. Modified: clang-tools-extra/trunk/clang-tidy/readability/CMakeLists.txt

Re: r267040 - clang-cl: Don't assert on using /Yc with non-source files, PR27450

2016-04-21 Thread Nico Weber via cfe-commits
Does r267089 help? On Thu, Apr 21, 2016 at 5:56 PM, Vedant Kumar wrote: > Hm, here's something weird -- > > The test passes if I change this RUN line: > > // RUN: %clang_cl -Werror /Ycpchfile.h /FIpchfile.h /c -### > %S/Inputs/file.prof > > To this: > > // RUN: %clang_cl -Werror /Ycpchfi

r267089 - Try to get test passing on OS X (see comment at top of file).

2016-04-21 Thread Nico Weber via cfe-commits
Author: nico Date: Thu Apr 21 19:38:09 2016 New Revision: 267089 URL: http://llvm.org/viewvc/llvm-project?rev=267089&view=rev Log: Try to get test passing on OS X (see comment at top of file). Modified: cfe/trunk/test/Driver/cl-pch.cpp Modified: cfe/trunk/test/Driver/cl-pch.cpp URL: http://

[libcxx] r267090 - Fix C++03 build breakage

2016-04-21 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Apr 21 19:47:15 2016 New Revision: 267090 URL: http://llvm.org/viewvc/llvm-project?rev=267090&view=rev Log: Fix C++03 build breakage Modified: libcxx/trunk/test/std/containers/sequences/array/array.special/swap.pass.cpp Modified: libcxx/trunk/test/std/containers/seq

[libcxx] r267091 - Fix LWG issue #2106: move_iterators returning prvalues

2016-04-21 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Apr 21 19:49:12 2016 New Revision: 267091 URL: http://llvm.org/viewvc/llvm-project?rev=267091&view=rev Log: Fix LWG issue #2106: move_iterators returning prvalues Modified: libcxx/trunk/include/iterator libcxx/trunk/test/std/iterators/predef.iterators/move.iterat

Re: [PATCH] D15404: Cleanup: move visibility/linkage attributes to the first declaration (part 2).

2016-04-21 Thread Eric Fiselier via cfe-commits
EricWF added a comment. Still LGTM. Repository: rL LLVM http://reviews.llvm.org/D15404 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D15404: Cleanup: move visibility/linkage attributes to the first declaration (part 2).

2016-04-21 Thread Evgeniy Stepanov via cfe-commits
eugenis closed this revision. eugenis added a comment. r267093 Thanks for your help! Repository: rL LLVM http://reviews.llvm.org/D15404 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com

[libcxx] r267093 - Cleanup: move visibility/linkage attributes to the first declaration.

2016-04-21 Thread Evgeniy Stepanov via cfe-commits
Author: eugenis Date: Thu Apr 21 20:04:55 2016 New Revision: 267093 URL: http://llvm.org/viewvc/llvm-project?rev=267093&view=rev Log: Cleanup: move visibility/linkage attributes to the first declaration. http://reviews.llvm.org/D15404 Modified: libcxx/trunk/include/complex libcxx/trunk/i

Re: r267040 - clang-cl: Don't assert on using /Yc with non-source files, PR27450

2016-04-21 Thread Vedant Kumar via cfe-commits
Yes, thank you very much! vedant > On Apr 21, 2016, at 5:43 PM, Nico Weber wrote: > > Does r267089 help? > > On Thu, Apr 21, 2016 at 5:56 PM, Vedant Kumar wrote: > Hm, here's something weird -- > > The test passes if I change this RUN line: > > // RUN: %clang_cl -Werror /Ycpchfile.h /FI

Re: [PATCH] D19393: Move Checkers.inc to clang/include/.../Checkers

2016-04-21 Thread Anna Zaks via cfe-commits
zaks.anna added inline comments. Comment at: include/clang/StaticAnalyzer/Checkers/CMakeLists.txt:3 @@ +2,3 @@ + -I ${CMAKE_CURRENT_SOURCE_DIR}/../../../ + SOURCE ../../../../lib/StaticAnalyzer/Checkers/Checkers.td + TARGET ClangSACheckers) srhines wrote: > Ann

Re: [PATCH] D19278: [scan-build] fix logic error warnings emitted on clang code base

2016-04-21 Thread Anna Zaks via cfe-commits
zaks.anna added inline comments. Comment at: lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp:696 @@ -695,1 +695,3 @@ +assert(ArgExpr && "cannot get the type of a NULL expression"); + LGTM http://reviews.llvm.org/D19278 ___

r267101 - [OPENMP] Fix for LCV in simd directives in explicit clauses.

2016-04-21 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Thu Apr 21 22:56:56 2016 New Revision: 267101 URL: http://llvm.org/viewvc/llvm-project?rev=267101&view=rev Log: [OPENMP] Fix for LCV in simd directives in explicit clauses. If loop control variable for simd-based directives is explicitly marked as linear/lastprivate in claus

[PATCH] D19403: Add loop pragma for Loop Distribution

2016-04-21 Thread Adam Nemet via cfe-commits
anemet created this revision. anemet added reviewers: aaron.ballman, rsmith. anemet added subscribers: hfinkel, cfe-commits. This is similar to other loop pragmas like 'vectorize'. Currently it only has state values: distribute(enable) and distribute(disable). When one of these is specified the

Re: [PATCH] D19382: [OpenMP] Improve mappable expressions Sema.

2016-04-21 Thread Alexey Bataev via cfe-commits
ABataev added inline comments. Comment at: include/clang/AST/OpenMPClause.h:2789-2797 @@ +2788,11 @@ +// \brief Expression associated with the component. +Expr *AssociatedExpression; +// \brief Declaration associated with the declaration. If the component does +//

<    1   2