r293466 - [c-index-test] CMake: add missing reference to clangSerialization library.

2017-01-29 Thread Argyrios Kyrtzidis via cfe-commits
Author: akirtzidis Date: Mon Jan 30 01:11:27 2017 New Revision: 293466 URL: http://llvm.org/viewvc/llvm-project?rev=293466&view=rev Log: [c-index-test] CMake: add missing reference to clangSerialization library. Modified: cfe/trunk/tools/c-index-test/CMakeLists.txt Modified: cfe/trunk/tools/

r293465 - clang-format: [JavaScript] Undo r291974 for JavaScript.

2017-01-29 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Mon Jan 30 01:08:40 2017 New Revision: 293465 URL: http://llvm.org/viewvc/llvm-project?rev=293465&view=rev Log: clang-format: [JavaScript] Undo r291974 for JavaScript. This had significant negative consequences and I don't have a good solution for it yet. Before: var stri

r293463 - [index] CMake: add missing reference to clangSerialization library.

2017-01-29 Thread Argyrios Kyrtzidis via cfe-commits
Author: akirtzidis Date: Mon Jan 30 00:48:27 2017 New Revision: 293463 URL: http://llvm.org/viewvc/llvm-project?rev=293463&view=rev Log: [index] CMake: add missing reference to clangSerialization library. Modified: cfe/trunk/lib/Index/CMakeLists.txt Modified: cfe/trunk/lib/Index/CMakeLists.t

r293462 - Reapply "DebugInfo: Omit class definitions even in the presence of available_externally vtables"

2017-01-29 Thread David Blaikie via cfe-commits
Author: dblaikie Date: Mon Jan 30 00:36:08 2017 New Revision: 293462 URL: http://llvm.org/viewvc/llvm-project?rev=293462&view=rev Log: Reapply "DebugInfo: Omit class definitions even in the presence of available_externally vtables" Accounts for a case that caused an assertion failure by attempti

r293461 - [c-index-test] Provide capability to index module file imports and dump their input files.

2017-01-29 Thread Argyrios Kyrtzidis via cfe-commits
Author: akirtzidis Date: Mon Jan 30 00:05:58 2017 New Revision: 293461 URL: http://llvm.org/viewvc/llvm-project?rev=293461&view=rev Log: [c-index-test] Provide capability to index module file imports and dump their input files. This ensures the capability to index a module file using an existing

r293457 - Tidy up codegen modules test & make it x86 specific since it relies on Itanium name manglings

2017-01-29 Thread David Blaikie via cfe-commits
Author: dblaikie Date: Sun Jan 29 23:33:51 2017 New Revision: 293457 URL: http://llvm.org/viewvc/llvm-project?rev=293457&view=rev Log: Tidy up codegen modules test & make it x86 specific since it relies on Itanium name manglings Modified: cfe/trunk/test/Modules/codegen.test Modified: cfe/tr

Re: [PATCH] D28845: Prototype of modules codegen

2017-01-29 Thread David Blaikie via cfe-commits
On Sun, Jan 29, 2017 at 10:21 AM Richard Smith via Phabricator < revi...@reviews.llvm.org> wrote: > rsmith accepted this revision. > rsmith added inline comments. > This revision is now accepted and ready to land. > > > > Comment at: lib/AST/ExternalASTSource.cpp:33 > +ExternalAST

[PATCH] D28845: Prototype of modules codegen

2017-01-29 Thread David Blaikie via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. dblaikie marked 2 inline comments as done. Closed by commit rL293456: Prototype of modules codegen (authored by dblaikie). Changed prior to commit: https://reviews.llvm.org/D28845?vs=86200&id=86239#toc Repository: rL LL

r293456 - Prototype of modules codegen

2017-01-29 Thread David Blaikie via cfe-commits
Author: dblaikie Date: Sun Jan 29 23:00:26 2017 New Revision: 293456 URL: http://llvm.org/viewvc/llvm-project?rev=293456&view=rev Log: Prototype of modules codegen First pass at generating weak definitions of inline functions from module files (& skipping (-O0) or emitting available_externally (o

r293455 - Towards P0091R3: parsing support for class template argument deduction in typename-specifiers.

2017-01-29 Thread Richard Smith via cfe-commits
Author: rsmith Date: Sun Jan 29 22:38:28 2017 New Revision: 293455 URL: http://llvm.org/viewvc/llvm-project?rev=293455&view=rev Log: Towards P0091R3: parsing support for class template argument deduction in typename-specifiers. Modified: cfe/trunk/include/clang/AST/DeclTemplate.h cfe/tru

[libcxx] r293454 - experimental: remove some extraneous _LIBCPP_FUNC_VIS

2017-01-29 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jan 29 21:58:26 2017 New Revision: 293454 URL: http://llvm.org/viewvc/llvm-project?rev=293454&view=rev Log: experimental: remove some extraneous _LIBCPP_FUNC_VIS These member functions were decorated with `_LIBCPP_FUNC_VIS` when the class is also decorated with external

[PATCH] D29267: [clang-tidy] safety-no-assembler

2017-01-29 Thread Eugene Zelenko via Phabricator via cfe-commits
Eugene.Zelenko added inline comments. Comment at: clang-tools-extra/docs/ReleaseNotes.rst:60 -The improvements are... +Added a safety module for safety-critical checks like those from High Integrity C++. + Please take look on Release Notes format in previous r

[libcxx] r293450 - experimental: inline single use of a typedef

2017-01-29 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jan 29 18:15:50 2017 New Revision: 293450 URL: http://llvm.org/viewvc/llvm-project?rev=293450&view=rev Log: experimental: inline single use of a typedef The typedef is not particularly long, and used in exactly one location. Just spell it out at the site. NFC. Modifie

[libcxx] r293449 - experimental: tolerate the existence of a `__deref` macro

2017-01-29 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jan 29 18:15:47 2017 New Revision: 293449 URL: http://llvm.org/viewvc/llvm-project?rev=293449&view=rev Log: experimental: tolerate the existence of a `__deref` macro Microsoft's SAL has a `__deref` macro which results in a compilation failure when building the filesyste

[PATCH] D29267: [clang-tidy] safety-no-assembler

2017-01-29 Thread Jonathan B Coe via Phabricator via cfe-commits
jbcoe created this revision. jbcoe added a project: clang-tools-extra. Herald added subscribers: JDevlieghere, mgorny. Add a new clang-tidy module for safety-critical checks. Include a check for inline assembler. https://reviews.llvm.org/D29267 Files: clang-tools-extra/clang-tidy/CMakeLists.

[PATCH] D27985: Add demangling support for C++11 thread_local variables

2017-01-29 Thread Mehdi AMINI via Phabricator via cfe-commits
mehdi_amini accepted this revision. mehdi_amini added a comment. This revision is now accepted and ready to land. LGTM. Can you apply the patch in LLVM (libDemangle) as well please? Repository: rL LLVM https://reviews.llvm.org/D27985 ___ cfe-com

[libcxx] r293445 - experimental: remove dead function

2017-01-29 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jan 29 16:31:28 2017 New Revision: 293445 URL: http://llvm.org/viewvc/llvm-project?rev=293445&view=rev Log: experimental: remove dead function This template was defined inline, within the TU only and had no uses across the entire repository. Remove the dead code. NFC.

[PATCH] D29118: [clang-tidy] safety-no-vector-bool

2017-01-29 Thread Jonathan B Coe via Phabricator via cfe-commits
jbcoe updated this revision to Diff 86225. jbcoe added a comment. Minor changes in response to review comments. Patch abandoned as approach taken cannot handle templates. https://reviews.llvm.org/D29118 Files: clang-tools-extra/clang-tidy/CMakeLists.txt clang-tools-extra/clang-tidy/safety/

[PATCH] D29118: [clang-tidy] safety-no-vector-bool

2017-01-29 Thread Jonathan B Coe via Phabricator via cfe-commits
jbcoe marked 5 inline comments as done. jbcoe added a comment. Handling code like `std::pair, int>` is currently eluding me. If I define `std::pair` to have members `first` and `second` then `std::pair, int>` triggers the `vector` diagnostic but in the template, not the instantiation point. I

[PATCH] D17890: [OpenMP][NVPTX][CUDA] Adding support for printf for an NVPTX OpenMP device.

2017-01-29 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293444: [OpenMP][NVPTX][CUDA] Adding support for printf for an NVPTX OpenMP device. (authored by arpith). Changed prior to commit: https://reviews.llvm.org/D17890?vs=49832&id=86222#toc Repository: rL

r293444 - [OpenMP][NVPTX][CUDA] Adding support for printf for an NVPTX OpenMP device.

2017-01-29 Thread Arpith Chacko Jacob via cfe-commits
Author: arpith Date: Sun Jan 29 14:49:31 2017 New Revision: 293444 URL: http://llvm.org/viewvc/llvm-project?rev=293444&view=rev Log: [OpenMP][NVPTX][CUDA] Adding support for printf for an NVPTX OpenMP device. Support for CUDA printf is exploited to support printf for an NVPTX OpenMP device. To r

Re: [libcxx] r293197 - Disable thread safety analysis for some functions in __thread_support

2017-01-29 Thread Dimitry Andric via cfe-commits
Thanks, merged in r293443. -Dimitry > On 29 Jan 2017, at 19:55, Eric Fiselier wrote: > > I'm OK with this. > > On Sun, Jan 29, 2017 at 10:18 AM, Dimitry Andric > wrote: > I'd like to merge this to the release_40 branch. Eric, you OK with that? > > -Dimitry > > >

[libcxx] r293443 - Merging r293197:

2017-01-29 Thread Dimitry Andric via cfe-commits
Author: dim Date: Sun Jan 29 14:30:51 2017 New Revision: 293443 URL: http://llvm.org/viewvc/llvm-project?rev=293443&view=rev Log: Merging r293197: r293197 | dim | 2017-01-26 19:37:18 +0100 (Thu, 26 Jan 2017) | 43 lines Disab

[PATCH] D16135: Macro Debug Info support in Clang

2017-01-29 Thread Amjad Aboud via Phabricator via cfe-commits
aaboud added a comment. Kindly reminder, I am still waiting for a review on this new patch. Thanks https://reviews.llvm.org/D16135 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [libcxx] r293197 - Disable thread safety analysis for some functions in __thread_support

2017-01-29 Thread Eric Fiselier via cfe-commits
I'm OK with this. On Sun, Jan 29, 2017 at 10:18 AM, Dimitry Andric wrote: > I'd like to merge this to the release_40 branch. Eric, you OK with that? > > -Dimitry > > > On 26 Jan 2017, at 19:37, Dimitry Andric via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > > > > Author: dim > > Date: T

[libcxx] r293439 - config: prevent the re-definition of a macro

2017-01-29 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Jan 29 12:16:33 2017 New Revision: 293439 URL: http://llvm.org/viewvc/llvm-project?rev=293439&view=rev Log: config: prevent the re-definition of a macro This causes unnecessary warnings when building with `cl`. Newer versions of the C standard permit the redefinition o

[PATCH] D28845: Prototype of modules codegen

2017-01-29 Thread Richard Smith via Phabricator via cfe-commits
rsmith accepted this revision. rsmith added inline comments. This revision is now accepted and ready to land. Comment at: lib/AST/ExternalASTSource.cpp:33 +ExternalASTSource::hasExternalDefinitions(unsigned ID) { + return EK_ReplyHazy; +} dblaikie wrote: > rsmit

Re: [libcxx] r293197 - Disable thread safety analysis for some functions in __thread_support

2017-01-29 Thread Dimitry Andric via cfe-commits
I'd like to merge this to the release_40 branch. Eric, you OK with that? -Dimitry > On 26 Jan 2017, at 19:37, Dimitry Andric via cfe-commits > wrote: > > Author: dim > Date: Thu Jan 26 12:37:18 2017 > New Revision: 293197 > > URL: http://llvm.org/viewvc/llvm-project?rev=293197&view=rev > Log

[PATCH] D13289: [libc++] Provide additional templates for valarray transcendentals that satisfy the standard synopsis

2017-01-29 Thread Petr Pavlu via Phabricator via cfe-commits
petpav01 updated this revision to Diff 86217. petpav01 added a comment. Patch rebased. https://reviews.llvm.org/D13289 Files: include/valarray test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/abs_valarray.pass.cpp test/std/numerics/numarray/valarray.nonmembers/valarray.

r293420 - [windows] [asan] Add linker flag when including "asan_dynamic_runtime_thunk".

2017-01-29 Thread Marcos Pividori via cfe-commits
Author: mpividori Date: Sun Jan 29 00:03:05 2017 New Revision: 293420 URL: http://llvm.org/viewvc/llvm-project?rev=293420&view=rev Log: [windows] [asan] Add linker flag when including "asan_dynamic_runtime_thunk". I modify clang driver for windows to include: "-wholearchive:asan_dynamic_runtime_t

[PATCH] D27604: [Driver] Add compiler option to generate a reproducer

2017-01-29 Thread Vassil Vassilev via Phabricator via cfe-commits
v.g.vassilev accepted this revision. v.g.vassilev added a comment. This revision is now accepted and ready to land. My questions were answered. LGTM! https://reviews.llvm.org/D27604 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://list