r293871 - Fix typo. NFC

2017-02-02 Thread George Burgess IV via cfe-commits
Author: gbiv Date: Thu Feb 2 01:53:55 2017 New Revision: 293871 URL: http://llvm.org/viewvc/llvm-project?rev=293871&view=rev Log: Fix typo. NFC Modified: cfe/trunk/lib/AST/ExprConstant.cpp Modified: cfe/trunk/lib/AST/ExprConstant.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/A

Re: Add warning for c++ member variable shadowing

2017-02-02 Thread James Sun via cfe-commits
Hi Richard Thanks for the feedback! Hopefully addressed! Thanks James From: on behalf of Richard Smith Date: Wednesday, February 1, 2017 at 3:50 PM To: James Sun Cc: Saleem Abdulrasool , "cfe-commits@lists.llvm.org" , Aaron Ballman Subject: Re: Add warning for c++ member variable shadowi

[PATCH] D29437: [ubsan] Detect signed overflow UB in remainder operations

2017-02-02 Thread Vedant Kumar via Phabricator via cfe-commits
vsk added a comment. In https://reviews.llvm.org/D29437#664379, @regehr wrote: > Does this check need to be sensitive to the dialect of C/C++ that the user > asked for? I know that it used to be the case that the standard could be read > either way for this case, but as you observe it is now un

r293874 - [analyzer] Fix an assertion fail in CStringSyntaxChecker.

2017-02-02 Thread Gabor Horvath via cfe-commits
Author: xazax Date: Thu Feb 2 02:20:54 2017 New Revision: 293874 URL: http://llvm.org/viewvc/llvm-project?rev=293874&view=rev Log: [analyzer] Fix an assertion fail in CStringSyntaxChecker. Differential Revision: https://reviews.llvm.org/D29384 Modified: cfe/trunk/lib/StaticAnalyzer/Checker

[PATCH] D29384: [analyzer] Fix an assertion fail in CStringSyntaxChecker

2017-02-02 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293874: [analyzer] Fix an assertion fail in CStringSyntaxChecker. (authored by xazax). Changed prior to commit: https://reviews.llvm.org/D29384?vs=86599&id=86773#toc Repository: rL LLVM https://revi

r293875 - clang-format: Do not use two-argument/operand special case with no alignment

2017-02-02 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Thu Feb 2 02:30:21 2017 New Revision: 293875 URL: http://llvm.org/viewvc/llvm-project?rev=293875&view=rev Log: clang-format: Do not use two-argument/operand special case with no alignment Without alignment, there is no clean separation between the arguments, even if there a

Re: r293787 - [CodeGen][ObjC] Avoid asserting on block pointer types in

2017-02-02 Thread Alex L via cfe-commits
Thanks! On 1 February 2017 at 18:57, Hans Wennborg wrote: > OK. Merged in r293797. > > Thanks, > Hans > > On Wed, Feb 1, 2017 at 9:50 AM, Alex L wrote: > > Hi Hans, > > > > Would it be possible to merge this for 4.0? > > > > Cheers, > > Alex > > > > On 1 February 2017 at 17:37, Alex Lorenz via

r293877 - Improve docs: Add missing #pragma push directive.

2017-02-02 Thread Asiri Rathnayake via cfe-commits
Author: asiri Date: Thu Feb 2 04:35:18 2017 New Revision: 293877 URL: http://llvm.org/viewvc/llvm-project?rev=293877&view=rev Log: Improve docs: Add missing #pragma push directive. NFC. Modified: cfe/trunk/docs/UsersManual.rst Modified: cfe/trunk/docs/UsersManual.rst URL: http://llvm.org/

r293878 - [clang-format] Don't reflow lines starting with TODO, FIXME or XXX.

2017-02-02 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Feb 2 04:52:08 2017 New Revision: 293878 URL: http://llvm.org/viewvc/llvm-project?rev=293878&view=rev Log: [clang-format] Don't reflow lines starting with TODO, FIXME or XXX. Summary: These lines commonly carry a special meaning. Reviewers: djasper Reviewed By: djasp

[PATCH] D29396: [clang-format] Don't reflow lines starting with TODO, FIXME or XXX.

2017-02-02 Thread Krasimir Georgiev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293878: [clang-format] Don't reflow lines starting with TODO, FIXME or XXX. (authored by krasimir). Changed prior to commit: https://reviews.llvm.org/D29396?vs=86643&id=86781#toc Repository: rL LLVM

[libcxx] r293881 - Extend XFAIL to c++98.

2017-02-02 Thread Asiri Rathnayake via cfe-commits
Author: asiri Date: Thu Feb 2 05:56:26 2017 New Revision: 293881 URL: http://llvm.org/viewvc/llvm-project?rev=293881&view=rev Log: Extend XFAIL to c++98. NFC. Modified: libcxx/trunk/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/bool.fail.cpp Modified: libcxx/trunk/t

[PATCH] D29447: [change-namespace] check using shadow decl correctly when shortening namespace specifiers.

2017-02-02 Thread Eric Liu via Phabricator via cfe-commits
ioeric created this revision. This fixes mismatch between template decls and template specialization decls. Also added a few more test cases. https://reviews.llvm.org/D29447 Files: change-namespace/ChangeNamespace.cpp unittests/change-namespace/ChangeNamespaceTests.cpp Index: unittests/ch

[PATCH] D29444: [clang-format] Fix breaking of comment sections in unwrapped lines containing newlines.

2017-02-02 Thread Daniel Jasper via Phabricator via cfe-commits
djasper accepted this revision. djasper added a comment. This revision is now accepted and ready to land. Nice :) https://reviews.llvm.org/D29444 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/

[PATCH] D29451: Add a prototype for clangd v0.1

2017-02-02 Thread Benjamin Kramer via Phabricator via cfe-commits
bkramer created this revision. Herald added a subscriber: mgorny. clangd is a language server protocol implementation based on clang. It's supposed to provide editor integration while not suffering from the confined ABI of libclang. This implementation is limited to the bare minimum functionality

[PATCH] D29451: Add a prototype for clangd v0.1

2017-02-02 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir accepted this revision. krasimir added a comment. This revision is now accepted and ready to land. looks good! https://reviews.llvm.org/D29451 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/lis

[PATCH] D29450: [clang-format] Don't reflow across comment pragmas.

2017-02-02 Thread Daniel Jasper via Phabricator via cfe-commits
djasper added a comment. I am bit unsure about the design here. Could we instead match against the CommentPragmas and then not even create a BreakableToken (or reflow) if that matches? I guess that would make us unable to reflow if only part of the comment is a pragma, but that seems ok (for n

[PATCH] D29450: [clang-format] Don't reflow across comment pragmas.

2017-02-02 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir added a comment. That sounds reasonable. However it won't work with comment pragmas in newlines in block comments. The root issue that I was looking at was a taze directive inside a block comment in a random typescript file, like: /* random stuff * long long long long * taze

[PATCH] D29444: [clang-format] Fix breaking of comment sections in unwrapped lines containing newlines.

2017-02-02 Thread Krasimir Georgiev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293891: [clang-format] Fix breaking of comment sections in unwrapped lines containing… (authored by krasimir). Changed prior to commit: https://reviews.llvm.org/D29444?vs=86790&id=86802#toc Repository:

r293891 - [clang-format] Fix breaking of comment sections in unwrapped lines containing newlines.

2017-02-02 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Feb 2 08:36:50 2017 New Revision: 293891 URL: http://llvm.org/viewvc/llvm-project?rev=293891&view=rev Log: [clang-format] Fix breaking of comment sections in unwrapped lines containing newlines. Summary: The breaking of line comment sections was misaligning the case w

[PATCH] D29450: [clang-format] Don't reflow across comment pragmas.

2017-02-02 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir added a comment. Ideally, we may try doing both: break a line comment section token steam and keep this too. What do you think? https://reviews.llvm.org/D29450 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/c

[PATCH] D29450: [clang-format] Don't reflow across comment pragmas.

2017-02-02 Thread Daniel Jasper via Phabricator via cfe-commits
djasper accepted this revision. djasper added a comment. This revision is now accepted and ready to land. Makes sense. https://reviews.llvm.org/D29450 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/list

[PATCH] D29447: [change-namespace] check using shadow decl correctly when shortening namespace specifiers.

2017-02-02 Thread Benjamin Kramer via Phabricator via cfe-commits
bkramer accepted this revision. bkramer added a comment. This revision is now accepted and ready to land. lg https://reviews.llvm.org/D29447 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c

[PATCH] D29450: [clang-format] Don't reflow across comment pragmas.

2017-02-02 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir updated this revision to Diff 86813. krasimir edited the summary of this revision. krasimir added a comment. - Add a break in line comment sections by pragmas https://reviews.llvm.org/D29450 Files: lib/Format/BreakableToken.cpp lib/Format/BreakableToken.h lib/Format/ContinuationI

[PATCH] D29450: [clang-format] Don't reflow across comment pragmas.

2017-02-02 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir updated this revision to Diff 86814. krasimir added a comment. - Merge branch 'master' into arcpatch-D29450_1 https://reviews.llvm.org/D29450 Files: lib/Format/BreakableToken.cpp lib/Format/BreakableToken.h lib/Format/ContinuationIndenter.cpp lib/Format/UnwrappedLineParser.cpp

[PATCH] D29447: [change-namespace] check using shadow decl correctly when shortening namespace specifiers.

2017-02-02 Thread Eric Liu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293897: [change-namespace] check using shadow decl correctly when shortening namespace… (authored by ioeric). Changed prior to commit: https://reviews.llvm.org/D29447?vs=86795&id=86815#toc Repository:

[clang-tools-extra] r293897 - [change-namespace] check using shadow decl correctly when shortening namespace specifiers.

2017-02-02 Thread Eric Liu via cfe-commits
Author: ioeric Date: Thu Feb 2 09:29:54 2017 New Revision: 293897 URL: http://llvm.org/viewvc/llvm-project?rev=293897&view=rev Log: [change-namespace] check using shadow decl correctly when shortening namespace specifiers. Summary: This fixes mismatch between template decls and template special

r293898 - [clang-format] Don't reflow across comment pragmas.

2017-02-02 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Feb 2 09:32:19 2017 New Revision: 293898 URL: http://llvm.org/viewvc/llvm-project?rev=293898&view=rev Log: [clang-format] Don't reflow across comment pragmas. Summary: The comment reflower wasn't taking comment pragmas as reflow stoppers. This patch fixes that. sourc

[PATCH] D29450: [clang-format] Don't reflow across comment pragmas.

2017-02-02 Thread Krasimir Georgiev via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293898: [clang-format] Don't reflow across comment pragmas. (authored by krasimir). Changed prior to commit: https://reviews.llvm.org/D29450?vs=86814&id=86816#toc Repository: rL LLVM https://reviews

[PATCH] D20561: Warn when taking address of packed member

2017-02-02 Thread Roger via Phabricator via cfe-commits
royger added a comment. Ping? It's not clear to me whether upstream is going to do something about this or not. I would like to know in case I need to start passing "-Waddress-of-packed-member" around. Repository: rL LLVM https://reviews.llvm.org/D20561 _

r293904 - [index] Provide a more general index::generateUSRForMacro() that doesn't depend on having a PreprocessingRecord.

2017-02-02 Thread Argyrios Kyrtzidis via cfe-commits
Author: akirtzidis Date: Thu Feb 2 10:13:10 2017 New Revision: 293904 URL: http://llvm.org/viewvc/llvm-project?rev=293904&view=rev Log: [index] Provide a more general index::generateUSRForMacro() that doesn't depend on having a PreprocessingRecord. Modified: cfe/trunk/include/clang/Index/US

[PATCH] D21507: Changes after running check modernize-use-emplace (D20964)

2017-02-02 Thread Alexander Kornienko via Phabricator via cfe-commits
alexfh requested changes to this revision. alexfh added a comment. This revision now requires changes to proceed. If you're still considering to submit this patch, could you rebase it (or maybe re-generate instead?) and split into easier to digest parts? A couple of things I noticed: 1. `v.push

[PATCH] D29460: [change-namespace] fi unscoped enum const^Ct references.

2017-02-02 Thread Eric Liu via Phabricator via cfe-commits
ioeric created this revision. https://reviews.llvm.org/D29460 Files: change-namespace/ChangeNamespace.cpp unittests/change-namespace/ChangeNamespaceTests.cpp Index: unittests/change-namespace/ChangeNamespaceTests.cpp === --- uni

[PATCH] D29460: [change-namespace] fix unscoped enum constant references.

2017-02-02 Thread Benjamin Kramer via Phabricator via cfe-commits
bkramer accepted this revision. bkramer added a comment. This revision is now accepted and ready to land. lg https://reviews.llvm.org/D29460 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c

[clang-tools-extra] r293909 - [change-namespace] fix unscoped enum constant references.

2017-02-02 Thread Eric Liu via cfe-commits
Author: ioeric Date: Thu Feb 2 11:40:38 2017 New Revision: 293909 URL: http://llvm.org/viewvc/llvm-project?rev=293909&view=rev Log: [change-namespace] fix unscoped enum constant references. Reviewers: bkramer Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D29460 Modi

[PATCH] D29460: [change-namespace] fix unscoped enum constant references.

2017-02-02 Thread Eric Liu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293909: [change-namespace] fix unscoped enum constant references. (authored by ioeric). Changed prior to commit: https://reviews.llvm.org/D29460?vs=86835&id=86843#toc Repository: rL LLVM https://rev

[PATCH] D28365: [Driver] Updated for Visual Studio 2017

2017-02-02 Thread Reid Kleckner via Phabricator via cfe-commits
rnk added a comment. This is ready to land. Do you need someone to commit this? https://reviews.llvm.org/D28365 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r293911 - Prevent ICE in dllexport class with _Atomic data member

2017-02-02 Thread Warren Ristow via cfe-commits
Author: wristow Date: Thu Feb 2 11:53:34 2017 New Revision: 293911 URL: http://llvm.org/viewvc/llvm-project?rev=293911&view=rev Log: Prevent ICE in dllexport class with _Atomic data member Guard against a null pointer dereference that caused Clang to crash when processing a class containing an _

[PATCH] D29208: Prevent ICE in dllexport class with _Atomic() data member

2017-02-02 Thread Warren Ristow via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. wristow marked an inline comment as done. Closed by commit rL293911: Prevent ICE in dllexport class with _Atomic data member (authored by wristow). Changed prior to commit: https://reviews.llvm.org/D29208?vs=86767&id=8684

[PATCH] D29464: [MinGWToolChain] Don't use GCC headers on Win32

2017-02-02 Thread Mateusz Mikuła via Phabricator via cfe-commits
mati865 created this revision. mati865 added a project: clang-c. Header guards in GCC limits.h were stopping Clang from going up one more level to the system limits.h https://reviews.llvm.org/D29464 Files: lib/Driver/MinGWToolChain.cpp Index: lib/Driver/MinGWToolChain.cpp =

[PATCH] D28365: [Driver] Updated for Visual Studio 2017

2017-02-02 Thread Hamza Sood via Phabricator via cfe-commits
hamzasood added a comment. In https://reviews.llvm.org/D28365#664892, @rnk wrote: > This is ready to land. Do you need someone to commit this? I think so, yeah. https://reviews.llvm.org/D28365 ___ cfe-commits mailing list cfe-commits@lists.llvm.o

[PATCH] D29464: [MinGWToolChain] Don't use GCC headers on Win32

2017-02-02 Thread Mateusz Mikuła via Phabricator via cfe-commits
mati865 added a comment. I don't know about Linux but on Windows this code was causing issue: #include int main() { char buf[PATH_MAX]; } Include order: - Before patch: Clang limits.h (lib\\clang\\3.9.1\\include) -> GCC limits.h (lib\\gcc\\x86_64-w64-mingw32\\6.3.0\\include-fixed) here wh

Re: [clang-tools-extra] r293909 - [change-namespace] fix unscoped enum constant references.

2017-02-02 Thread Eric Liu via cfe-commits
This is breaking build bots, and I am trying to fix it. Feel free to revert the change if this blocks you. On Thu, Feb 2, 2017 at 6:51 PM Eric Liu via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: ioeric > Date: Thu Feb 2 11:40:38 2017 > New Revision: 293909 > > URL: http://llvm.org

[PATCH] D20561: Warn when taking address of packed member

2017-02-02 Thread Joerg Sonnenberger via Phabricator via cfe-commits
joerg added a comment. Yes, the project is interested on reducing the number of false positives. The example you gave is *not* a FP, but exactly the kind of situation the warning is supposed to trigger on. Repository: rL LLVM https://reviews.llvm.org/D20561 __

[PATCH] D28365: [Driver] Updated for Visual Studio 2017

2017-02-02 Thread Reid Kleckner via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293923: [Driver] Updated for Visual Studio 2017 (authored by rnk). Changed prior to commit: https://reviews.llvm.org/D28365?vs=86502&id=86865#toc Repository: rL LLVM https://reviews.llvm.org/D28365

r293923 - [Driver] Updated for Visual Studio 2017

2017-02-02 Thread Reid Kleckner via cfe-commits
Author: rnk Date: Thu Feb 2 13:29:46 2017 New Revision: 293923 URL: http://llvm.org/viewvc/llvm-project?rev=293923&view=rev Log: [Driver] Updated for Visual Studio 2017 Summary: The patch updates the MSVC ToolChain for the changes made in Visual Studio 2017[1]. Other notable changes: - Path h

r293924 - Revert "[Driver] Updated for Visual Studio 2017"

2017-02-02 Thread Reid Kleckner via cfe-commits
Author: rnk Date: Thu Feb 2 13:36:22 2017 New Revision: 293924 URL: http://llvm.org/viewvc/llvm-project?rev=293924&view=rev Log: Revert "[Driver] Updated for Visual Studio 2017" This reverts commit r293923. It causes test failures on Linux that need time to debug. Modified: cfe/trunk/includ

[libcxx] r293926 - Avoid implementation defined behavior in a test.

2017-02-02 Thread Dan Albert via cfe-commits
Author: danalbert Date: Thu Feb 2 13:44:11 2017 New Revision: 293926 URL: http://llvm.org/viewvc/llvm-project?rev=293926&view=rev Log: Avoid implementation defined behavior in a test. Summary: num_put::put uses %p for pointer types, but the exact format of %p is implementation defined behavior f

[PATCH] D29197: Avoid implementation defined behavior in a test.

2017-02-02 Thread Dan Albert via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293926: Avoid implementation defined behavior in a test. (authored by danalbert). Changed prior to commit: https://reviews.llvm.org/D29197?vs=85961&id=86866#toc Repository: rL LLVM https://reviews.l

[clang-tools-extra] r293927 - [change-namespace] trying to fix build bot failure caused by r293909.

2017-02-02 Thread Eric Liu via cfe-commits
Author: ioeric Date: Thu Feb 2 13:46:12 2017 New Revision: 293927 URL: http://llvm.org/viewvc/llvm-project?rev=293927&view=rev Log: [change-namespace] trying to fix build bot failure caused by r293909. Modified: clang-tools-extra/trunk/change-namespace/ChangeNamespace.cpp Modified: clang-to

Re: [clang-tools-extra] r293909 - [change-namespace] fix unscoped enum constant references.

2017-02-02 Thread Eric Liu via cfe-commits
r293927 should appease bots. On Thu, Feb 2, 2017 at 7:59 PM Eric Liu wrote: This is breaking build bots, and I am trying to fix it. Feel free to revert the change if this blocks you. On Thu, Feb 2, 2017 at 6:51 PM Eric Liu via cfe-commits < cfe-commits@lists.llvm.org> wrote: Author: ioeric Dat

Re: Add warning for c++ member variable shadowing

2017-02-02 Thread Richard Smith via cfe-commits
Thanks, James! I think I have only one more substantive comment: + (Field->getAccess() == AS_public || Field->getAccess() == AS_protected)) { Have you considered also taking into account the access of the inheritance path? Eg, a public member of a private base class of a public base clas

[PATCH] D29469: Fix PR31843: Clang-4.0 crashes/assert while evaluating __builtin_object_size

2017-02-02 Thread George Burgess IV via Phabricator via cfe-commits
george.burgess.iv created this revision. We're currently using a special EvaluationMode to determine whether we're OK with invalid base expressions during objectsize evaluation. Using it to figure out how we handle UB/etc. is fine, but I think it's too far-reaching to use for checking whether we'r

[PATCH] D28365: [Driver] Updated for Visual Studio 2017

2017-02-02 Thread Reid Kleckner via Phabricator via cfe-commits
rnk added a comment. I had to revert this because it doesn't pass tests on Linux. Can you look into that and resubmit after fixing those test failures? Repository: rL LLVM https://reviews.llvm.org/D28365 ___ cfe-commits mailing list cfe-commits@

[PATCH] D28526: [ARM] Add diagnostics when initialization global variables with ropi/rwpi

2017-02-02 Thread Weiming Zhao via Phabricator via cfe-commits
weimingz added a comment. ping ? https://reviews.llvm.org/D28526 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D28365: [Driver] Updated for Visual Studio 2017

2017-02-02 Thread Hamza Sood via Phabricator via cfe-commits
hamzasood updated this revision to Diff 86900. hamzasood added a comment. In https://reviews.llvm.org/D28365#665183, @rnk wrote: > I had to revert this because it doesn't pass tests on Linux. Can you look > into that and resubmit after fixing those test failures? Really sorry about that, I stu

[PATCH] D29476: Driver: Do not warn about unused -pthread when linking on darwin

2017-02-02 Thread Matthias Braun via Phabricator via cfe-commits
MatzeB added a subscriber: cfe-commits. MatzeB added a comment. Add cfe-commits. Repository: rL LLVM https://reviews.llvm.org/D29476 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit

[PATCH] D29469: Fix PR31843: Clang-4.0 crashes/assert while evaluating __builtin_object_size

2017-02-02 Thread Mehdi AMINI via Phabricator via cfe-commits
mehdi_amini added a comment. > My concern with that approach is that we'd just end up playing whack-a-bug. > It's possible that this fix puts us in a similar situation, but I'm honestly > at a loss for a better approach. ¯\_(ツ)_/¯ (...And I'd kinda prefer to play > whack-a-bug with "clang cou

[PATCH] D28365: [Driver] Updated for Visual Studio 2017

2017-02-02 Thread Reid Kleckner via Phabricator via cfe-commits
rnk added a comment. Doesn't your fix mean that the tests will fail on a Windows machine that doesn't have VS because LLVM was built with mingw? Usually in these situations we provide some way to provide a fake toolchain. https://reviews.llvm.org/D28365 _

[PATCH] D25556: [Sema] Add variable captured by a block to the enclosing lambda's potential capture list

2017-02-02 Thread Akira Hatanaka via Phabricator via cfe-commits
ahatanak updated this revision to Diff 86918. ahatanak added a comment. Rebase https://reviews.llvm.org/D25556 Files: include/clang/Sema/Sema.h lib/Sema/Sema.cpp lib/Sema/SemaExpr.cpp test/SemaObjCXX/blocks.mm Index: test/SemaObjCXX/blocks.mm ==

Re: [PATCH] D29476: Driver: Do not warn about unused -pthread when linking on darwin

2017-02-02 Thread Duncan P. N. Exon Smith via cfe-commits
I think you need to close this phabricator revision and create a new one to get your initial comments and the patch onto cfe-commits. > On 2017-Feb-02, at 16:18, Matthias Braun via Phabricator > wrote: > > MatzeB added a subscriber: cfe-commits. > MatzeB added a comment. > > Add cfe-commits.

[PATCH] D29476: Driver: Do not warn about unused -pthread when linking on darwin

2017-02-02 Thread Matthias Braun via Phabricator via cfe-commits
MatzeB abandoned this revision. MatzeB added a comment. Abandoning in favor of https://reviews.llvm.org/D29479 because phabricator... Repository: rL LLVM https://reviews.llvm.org/D29476 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http

[PATCH] D29479: Driver: Do not warn about unused -pthread when linking on darwin

2017-02-02 Thread Matthias Braun via Phabricator via cfe-commits
MatzeB created this revision. Herald added a subscriber: mcrosier. While there is nothing to do at link time to get pthreads support on darwin, specifying -pthread is fine and should not produce a warning about unused arguments. Repository: rL LLVM https://reviews.llvm.org/D29479 Files: li

[PATCH] D24812: Lit C++11 Compatibility Patch #11

2017-02-02 Thread Charles Li via Phabricator via cfe-commits
tigerleapgorge updated this revision to Diff 86923. tigerleapgorge added a comment. Revise again, https://reviews.llvm.org/D28425 fixed 7 tests. r290229 fixed 1 test. Down to 8 tests. https://reviews.llvm.org/D24812 Files: test/CodeGenCXX/linetable-cleanup.cpp test/CodeGenCXX/lpad-linetab

[PATCH] D29480: C++11 Compatibility - OpenMP constant expressions

2017-02-02 Thread Charles Li via Phabricator via cfe-commits
tigerleapgorge created this revision. I am continuing to make Lit tests C++11 compatible. This patch is a subset of the previous https://reviews.llvm.org/D20710 This patch contains 4 tests, the changes are nearly identical. C++11 introduced constexpr, hence the change in diagnostics. C++11 added

[PATCH] D24812: Lit C++11 Compatibility Patch #11

2017-02-02 Thread Paul Robinson via Phabricator via cfe-commits
probinson added a reviewer: rjmccall. probinson added a comment. +rjmccall as CodeGen owner. https://reviews.llvm.org/D24812 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D29479: Driver: Do not warn about unused -pthread when linking on darwin

2017-02-02 Thread Duncan P. N. Exon Smith via cfe-commits
Seems reasonable to me. I wonder, should this do something in the case where -nostdlib has been passed, so we're not linking against libc by default? Or should it error/warning/etc.? One comment inline below. > On 2017-Feb-02, at 16:56, Matthias Braun via Phabricator > wrote: > > MatzeB cre

[PATCH] D24933: Enable configuration files in clang

2017-02-02 Thread Hal Finkel via Phabricator via cfe-commits
hfinkel added inline comments. Comment at: include/clang/Driver/Driver.h:219 + /// This number may be smaller that \c NumConfigOptions if some options + /// requires separate arguments. + unsigned NumConfigArgs; requires -> require Comment a

[PATCH] D25208: [libc++] Make _LIBCPP_TYPE_VIS export members

2017-02-02 Thread Shoaib Meenai via Phabricator via cfe-commits
smeenai added a comment. Ping. https://reviews.llvm.org/D25208 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D29157: [libc++] Make _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS export members

2017-02-02 Thread Shoaib Meenai via Phabricator via cfe-commits
smeenai added a comment. Ping. https://reviews.llvm.org/D29157 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D29480: C++11 Compatibility - OpenMP constant expressions

2017-02-02 Thread Alexey Bataev via Phabricator via cfe-commits
ABataev accepted this revision. ABataev added a comment. This revision is now accepted and ready to land. LG https://reviews.llvm.org/D29480 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c