Re: r307232 - [modules ts] Do not emit strong function definitions from the module interface unit in every user.

2017-07-16 Thread David Blaikie via cfe-commits
Looks good - does this support available_externally definitions of strong external linkage functions in the users of a module? (is that tested?) Should it? Also should we consider having two flags for modular codegen - one for correctness (external function definitions), one for linkage size optim

[PATCH] D35472: Implement P0463R1: "Endian just Endian"

2017-07-16 Thread Marshall Clow via Phabricator via cfe-commits
mclow.lists created this revision. Implement the C++2a feature "A compile time endian-ness detection idiom" Howard's suggested implementation is: enum class endian { #ifdef _WIN32 little = 0, big= 1, native = little #else

[PATCH] D35159: [libcxxabi][demangler] Use an AST to represent the demangled name

2017-07-16 Thread Duncan P. N. Exon Smith via Phabricator via cfe-commits
dexonsmith added a comment. In https://reviews.llvm.org/D35159#809724, @erik.pilkington wrote: > Rebase. I don't think the issue of purging underscores from this file/libcxx > should block this, if we want to discuss that cfe-dev would probably be the > place. I agree that it would be nice to c

[libcxx] r308159 - Add case for c++2a to libc++ and test macros

2017-07-16 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Jul 16 20:02:27 2017 New Revision: 308159 URL: http://llvm.org/viewvc/llvm-project?rev=308159&view=rev Log: Add case for c++2a to libc++ and test macros Modified: libcxx/trunk/include/__config libcxx/trunk/test/support/test_macros.h Modified: libcxx/trunk/inclu

r308158 - Revert changes from my previous refactoring - will need to fix dependencies in clang's extra tooling (such as clang-tidy etc.).

2017-07-16 Thread Faisal Vali via cfe-commits
Author: faisalv Date: Sun Jul 16 19:03:21 2017 New Revision: 308158 URL: http://llvm.org/viewvc/llvm-project?rev=308158&view=rev Log: Revert changes from my previous refactoring - will need to fix dependencies in clang's extra tooling (such as clang-tidy etc.). Sorry about that. Modified: c

[PATCH] D35470: [libcxx] Implement pointer_traits::to_address as in P0653R0

2017-07-16 Thread Glen Fernandes via Phabricator via cfe-commits
glenjofe created this revision. glenjofe created this object with edit policy "No One". A tiny patch that implements P0653R0 (or D0653R1 which revises the former with only a small editorial change after LEWG review). Repository: rL LLVM https://reviews.llvm.org/D35470 Files: include/memor

r308157 - [NFC] Refactor the Preprocessor function that handles Macro definitions and rename Arguments to Parameters in Macro Definitions.

2017-07-16 Thread Faisal Vali via cfe-commits
Author: faisalv Date: Sun Jul 16 18:27:53 2017 New Revision: 308157 URL: http://llvm.org/viewvc/llvm-project?rev=308157&view=rev Log: [NFC] Refactor the Preprocessor function that handles Macro definitions and rename Arguments to Parameters in Macro Definitions. - Extracted the reading of the

r308156 - Enable TLS support on OpenBSD.

2017-07-16 Thread Brad Smith via cfe-commits
Author: brad Date: Sun Jul 16 18:06:46 2017 New Revision: 308156 URL: http://llvm.org/viewvc/llvm-project?rev=308156&view=rev Log: Enable TLS support on OpenBSD. Modified: cfe/trunk/test/Sema/tls.c Modified: cfe/trunk/test/Sema/tls.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/S

r308155 - Enable TLS support on OpenBSD, but default to the emulatated TLS model.

2017-07-16 Thread Brad Smith via cfe-commits
Author: brad Date: Sun Jul 16 17:49:31 2017 New Revision: 308155 URL: http://llvm.org/viewvc/llvm-project?rev=308155&view=rev Log: Enable TLS support on OpenBSD, but default to the emulatated TLS model. Modified: cfe/trunk/lib/Basic/Targets.cpp cfe/trunk/lib/Driver/ToolChains/Clang.cpp

[libcxx] r308153 - Update libc++ status pages with results of the Toronto Meeting - and for C++2a

2017-07-16 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Jul 16 16:59:23 2017 New Revision: 308153 URL: http://llvm.org/viewvc/llvm-project?rev=308153&view=rev Log: Update libc++ status pages with results of the Toronto Meeting - and for C++2a Added: libcxx/trunk/www/cxx2a_status.html Modified: libcxx/trunk/www/cxx1z_

Re: r308044 - Add documentation for @available

2017-07-16 Thread Nico Weber via cfe-commits
Aaron, https://clang.llvm.org/docs/AttributeReference.html#availability still doesn't have the AttrDocs.td change I made in this change 2 days ago. Do I have to do anything to get it to update? On Fri, Jul 14, 2017 at 2:40 PM, Nico Weber via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Auth

[PATCH] D35465: [clang] Remove redundant check-prefix=CHECK from tests. NFC.

2017-07-16 Thread Mandeep Singh Grang via Phabricator via cfe-commits
mgrang created this revision. Herald added a subscriber: javed.absar. https://reviews.llvm.org/D35465 Files: test/CodeGen/aarch64-type-sizes.c test/CodeGen/aarch64-varargs-ms.c test/CodeGenCXX/implicit-exception-spec.cpp test/Index/complete-available.m test/Misc/ast-dump-decl.c test/M

Re: r308099 - [cxx_status] Add approved Toronto WG21 motions.

2017-07-16 Thread Richard Smith via cfe-commits
On 16 July 2017 at 05:49, Nico Weber via cfe-commits < cfe-commits@lists.llvm.org> wrote: > On Jul 15, 2017 11:43 AM, "Richard Smith via cfe-commits" < > cfe-commits@lists.llvm.org> wrote: > > Author: rsmith > Date: Sat Jul 15 08:42:36 2017 > New Revision: 308099 > > URL: http://llvm.org/viewvc/ll

[PATCH] D34859: [COFF, ARM64] Set the data type widths and the data layout string for COFF ARM64

2017-07-16 Thread Mandeep Singh Grang via Phabricator via cfe-commits
mgrang updated this revision to Diff 106811. mgrang added a comment. Herald added a subscriber: javed.absar. Fixed typo. Added size for long double. Added test cases. https://reviews.llvm.org/D34859 Files: lib/Basic/Targets.cpp test/CodeGen/coff-aarch64-type-sizes.c Index: test/CodeGen/cof

[PATCH] D35462: Also add the option -no-pie (like -nopie)

2017-07-16 Thread Joerg Sonnenberger via Phabricator via cfe-commits
joerg accepted this revision. joerg added a comment. This revision is now accepted and ready to land. Please mark it as alias for -nopie, otherwise fine. https://reviews.llvm.org/D35462 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://

[PATCH] D35462: Also add the option -no-pie (like -nopie)

2017-07-16 Thread Sylvestre Ledru via Phabricator via cfe-commits
sylvestre.ledru created this revision. For example, this option is expected by ghc (haskell compiler). Currently, building with ghc will fail with: clang: error: unknown argument: '-no-pie' `gcc' failed in phase `Linker'. (Exit code: 1) . /usr/share/haskell-devscripts/Dh_Haskell.sh && \

[PATCH] D35447: [Bash-autocompletion] Add support for -W and -Wno

2017-07-16 Thread Yuka Takahashi via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL308139: [Bash-autocompletion] Add support for -W and -Wno (authored by yamaguchi). Changed prior to commit: https://reviews.llvm.org/D35447?vs=106774&id=106805#toc Repository: rL LLVM https://review

r308139 - [Bash-autocompletion] Add support for -W and -Wno

2017-07-16 Thread Yuka Takahashi via cfe-commits
Author: yamaguchi Date: Sun Jul 16 08:07:20 2017 New Revision: 308139 URL: http://llvm.org/viewvc/llvm-project?rev=308139&view=rev Log: [Bash-autocompletion] Add support for -W and -Wno Summary: `-W[tab]` will autocomplete warnings defined in this link: https://clang.llvm.org/docs/DiagnosticsRefe

Re: r308099 - [cxx_status] Add approved Toronto WG21 motions.

2017-07-16 Thread Nico Weber via cfe-commits
On Jul 15, 2017 11:43 AM, "Richard Smith via cfe-commits" < cfe-commits@lists.llvm.org> wrote: Author: rsmith Date: Sat Jul 15 08:42:36 2017 New Revision: 308099 URL: http://llvm.org/viewvc/llvm-project?rev=308099&view=rev Log: [cxx_status] Add approved Toronto WG21 motions. Modified: cfe/tr