r314697 - Revert "Add /System/Library/PrivateFrameworks as a header search path."

2017-10-02 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Mon Oct 2 11:22:19 2017 New Revision: 314697 URL: http://llvm.org/viewvc/llvm-project?rev=314697&view=rev Log: Revert "Add /System/Library/PrivateFrameworks as a header search path." This reverts commit f7a95215a435aa8d5f64f43a8bb23ba077270755. Modified: cfe/trunk/lib/

r313316 - [Module map] Introduce a private module re-export directive.

2017-09-14 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Thu Sep 14 16:38:44 2017 New Revision: 313316 URL: http://llvm.org/viewvc/llvm-project?rev=313316&view=rev Log: [Module map] Introduce a private module re-export directive. Introduce a new "export_as" directive for top-level modules, which indicates that the current module i

r313317 - Add /System/Library/PrivateFrameworks as a header search path.

2017-09-14 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Thu Sep 14 16:38:44 2017 New Revision: 313317 URL: http://llvm.org/viewvc/llvm-project?rev=313317&view=rev Log: Add /System/Library/PrivateFrameworks as a header search path. Addresses rdar://problem/34438708. Modified: cfe/trunk/lib/Frontend/InitHeaderSearch.cpp Modif

r313315 - Diagnostic specific failed condition in a static_assert.

2017-09-14 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Thu Sep 14 16:38:42 2017 New Revision: 313315 URL: http://llvm.org/viewvc/llvm-project?rev=313315&view=rev Log: Diagnostic specific failed condition in a static_assert. When a static_assert fails, dig out a specific condition to diagnose, using the same logic that we use to

r313318 - Minor cleanups to address feedback from Bruno. NFC

2017-09-14 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Thu Sep 14 16:40:51 2017 New Revision: 313318 URL: http://llvm.org/viewvc/llvm-project?rev=313318&view=rev Log: Minor cleanups to address feedback from Bruno. NFC Modified: cfe/trunk/docs/Modules.rst cfe/trunk/lib/Serialization/ASTWriter.cpp Modified: cfe/trunk/docs

r313320 - Fix reStructuredText warning.

2017-09-14 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Thu Sep 14 16:58:18 2017 New Revision: 313320 URL: http://llvm.org/viewvc/llvm-project?rev=313320&view=rev Log: Fix reStructuredText warning. Modified: cfe/trunk/docs/Modules.rst Modified: cfe/trunk/docs/Modules.rst URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/do

Re: r313315 - Diagnostic specific failed condition in a static_assert.

2017-09-17 Thread Douglas Gregor via cfe-commits
d:". >>> >>>> On 16 September 2017 at 05:54, NAKAMURA Takumi via cfe-commits >>>> wrote: >>>> This triggered failure in libcxx tests. >>>> http://bb.pgr.jp/builders/bootstrap-clang-libcxx-lld-i686-linux/builds/97 >>>>

Re: r313316 - [Module map] Introduce a private module re-export directive.

2017-09-18 Thread Douglas Gregor via cfe-commits
stack trace is… insufficient… to figure out what’s going on. - Doug > > Thanks > > Galina > > On Thu, Sep 14, 2017 at 4:38 PM, Douglas Gregor via cfe-commits > mailto:cfe-commits@lists.llvm.org>> wrote: > Author: dgregor > Date: Thu Sep 14 16:38:44 2017

Re: r313316 - [Module map] Introduce a private module re-export directive.

2017-09-18 Thread Douglas Gregor via cfe-commits
> On Sep 18, 2017, at 3:11 PM, Richard Smith wrote: > > On 18 September 2017 at 14:34, Douglas Gregor via cfe-commits > mailto:cfe-commits@lists.llvm.org>> wrote: > >> On Sep 18, 2017, at 1:45 PM, Galina Kistanova > <mailto:gkistan...@gmail.com>> w

r307196 - Customize the SFINAE diagnostics for enable_if to provide the failed condition.

2017-07-05 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Wed Jul 5 13:20:14 2017 New Revision: 307196 URL: http://llvm.org/viewvc/llvm-project?rev=307196&view=rev Log: Customize the SFINAE diagnostics for enable_if to provide the failed condition. When enable_if disables a particular overload resolution candidate, rummage through

r307197 - Cope with Range-v3's CONCEPT_REQUIRES idiom

2017-07-05 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Wed Jul 5 13:20:15 2017 New Revision: 307197 URL: http://llvm.org/viewvc/llvm-project?rev=307197&view=rev Log: Cope with Range-v3's CONCEPT_REQUIRES idiom Modified: cfe/trunk/lib/Sema/SemaTemplate.cpp cfe/trunk/test/SemaTemplate/overload-candidates.cpp Modified: cf

Re: r307197 - Cope with Range-v3's CONCEPT_REQUIRES idiom

2017-07-05 Thread Douglas Gregor via cfe-commits
> On Jul 5, 2017, at 1:33 PM, Aaron Ballman wrote: > > On Wed, Jul 5, 2017 at 4:20 PM, Douglas Gregor via cfe-commits > mailto:cfe-commits@lists.llvm.org>> wrote: >> Author: dgregor >> Date: Wed Jul 5 13:20:15 2017 >> New Revision: 307197 >> >&

r307202 - Fix test case in pre-C++11 mode; address Aaron Ballman's code review.

2017-07-05 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Wed Jul 5 14:12:37 2017 New Revision: 307202 URL: http://llvm.org/viewvc/llvm-project?rev=307202&view=rev Log: Fix test case in pre-C++11 mode; address Aaron Ballman's code review. Modified: cfe/trunk/lib/Sema/SemaTemplate.cpp cfe/trunk/test/SemaTemplate/overload-ca

r248949 - Don't inherit availability information when implementing a protocol requirement.

2015-09-30 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Wed Sep 30 16:27:42 2015 New Revision: 248949 URL: http://llvm.org/viewvc/llvm-project?rev=248949&view=rev Log: Don't inherit availability information when implementing a protocol requirement. When an Objective-C method implements a protocol requirement, do not inherit any a

r248950 - Don't inherit the "unavailable" attribute from an overridden superclass method.

2015-09-30 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Wed Sep 30 16:34:33 2015 New Revision: 248950 URL: http://llvm.org/viewvc/llvm-project?rev=248950&view=rev Log: Don't inherit the "unavailable" attribute from an overridden superclass method. Fixes rdar://problem/22922259. Modified: cfe/trunk/lib/Sema/SemaDecl.cpp c

r249060 - Simplify Sema::DeduceFunctionTypeFromReturnExpr and eliminae a redundant check.

2015-10-01 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Thu Oct 1 14:52:44 2015 New Revision: 249060 URL: http://llvm.org/viewvc/llvm-project?rev=249060&view=rev Log: Simplify Sema::DeduceFunctionTypeFromReturnExpr and eliminae a redundant check. NFC Modified: cfe/trunk/lib/Sema/SemaStmt.cpp Modified: cfe/trunk/lib/Sema/Se

r249065 - Perform Objective-C lifetime adjustments before comparing deduced lambda result types.

2015-10-01 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Thu Oct 1 15:20:47 2015 New Revision: 249065 URL: http://llvm.org/viewvc/llvm-project?rev=249065&view=rev Log: Perform Objective-C lifetime adjustments before comparing deduced lambda result types. Objective-C ARC lifetime qualifiers are dropped when canonicalizing functio

r249896 - Fix inference of _Nullable for weak Objective-C properties.

2015-10-09 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Fri Oct 9 15:36:17 2015 New Revision: 249896 URL: http://llvm.org/viewvc/llvm-project?rev=249896&view=rev Log: Fix inference of _Nullable for weak Objective-C properties. The inference of _Nullable for weak Objective-C properties was broken in several ways: * It was back-p

Re: r248949 - Don't inherit availability information when implementing a protocol requirement.

2015-10-09 Thread Douglas Gregor via cfe-commits
> On Oct 7, 2015, at 11:55 AM, Hans Wennborg wrote: > > Hi Doug, > > On Wed, Sep 30, 2015 at 2:27 PM, Douglas Gregor via cfe-commits > wrote: >> Author: dgregor >> Date: Wed Sep 30 16:27:42 2015 >> New Revision: 248949 >> >> URL: http://llvm.or

Re: r248949 - Don't inherit availability information when implementing a protocol requirement.

2015-10-09 Thread Douglas Gregor via cfe-commits
Sent from my iPhone > On Oct 9, 2015, at 2:17 PM, Hans Wennborg wrote: > >> On Fri, Oct 9, 2015 at 1:46 PM, Douglas Gregor wrote: >> >>> On Oct 7, 2015, at 11:55 AM, Hans Wennborg wrote: >>> >>> Hi Doug, >>> >>> On Wed, Sep

r251874 - Stop back-patching 'readonly' Objective-C properties with 'readwrite' ones.

2015-11-02 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Mon Nov 2 19:15:46 2015 New Revision: 251874 URL: http://llvm.org/viewvc/llvm-project?rev=251874&view=rev Log: Stop back-patching 'readonly' Objective-C properties with 'readwrite' ones. A 'readonly' Objective-C property declared in the primary class can effectively be shad

Re: r251874 - Stop back-patching 'readonly' Objective-C properties with 'readwrite' ones.

2015-11-02 Thread Douglas Gregor via cfe-commits
… and I forgot the most important part, which is that this is based on the good work of Mr. Kyrtzidis that I failed to acknowledge in the commit message. - Doug > On Nov 2, 2015, at 5:15 PM, Douglas Gregor via cfe-commits > wrote: > > Author: dgregor > Date: Mon Nov

r251877 - Eliminate "rewritten decls" from the AST writer. NFC

2015-11-02 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Mon Nov 2 19:20:54 2015 New Revision: 251877 URL: http://llvm.org/viewvc/llvm-project?rev=251877&view=rev Log: Eliminate "rewritten decls" from the AST writer. NFC Modified: cfe/trunk/include/clang/Serialization/ASTWriter.h cfe/trunk/lib/Serialization/ASTWriter.cpp

r251949 - Simplify Sema::ProcessPropertyDecl. NFC

2015-11-03 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Tue Nov 3 11:02:34 2015 New Revision: 251949 URL: http://llvm.org/viewvc/llvm-project?rev=251949&view=rev Log: Simplify Sema::ProcessPropertyDecl. NFC Now that the properties created within Objective-C class extensions go into the extension themselves, we don't need any of

r251955 - Introduce module file extensions to piggy-back data onto module files.

2015-11-03 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Tue Nov 3 12:33:07 2015 New Revision: 251955 URL: http://llvm.org/viewvc/llvm-project?rev=251955&view=rev Log: Introduce module file extensions to piggy-back data onto module files. Introduce the notion of a module file extension, which introduces additional information int

r259681 - [Sema debugger support] Require non-void types to be complete in unknown-anytype casts.

2016-02-03 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Wed Feb 3 13:13:08 2016 New Revision: 259681 URL: http://llvm.org/viewvc/llvm-project?rev=259681&view=rev Log: [Sema debugger support] Require non-void types to be complete in unknown-anytype casts. When performing a cast from an __unknown_anytype function call to a non-vo

Re: r259624 - Make CF constant string decl visible to name lookup to fix module errors

2016-02-03 Thread Douglas Gregor via cfe-commits
> On Feb 2, 2016, at 7:26 PM, Ben Langmuir via cfe-commits > wrote: > > Author: benlangmuir > Date: Tue Feb 2 21:26:19 2016 > New Revision: 259624 > > URL: http://llvm.org/viewvc/llvm-project?rev=259624&view=rev > Log: > Make CF constant string decl visible to name lookup to fix module errors

Re: r259734 - Fix predefine for __NSConstantString struct type

2016-02-03 Thread Douglas Gregor via cfe-commits
> On Feb 3, 2016, at 4:55 PM, Ben Langmuir via cfe-commits > wrote: > > Author: benlangmuir > Date: Wed Feb 3 18:55:24 2016 > New Revision: 259734 > > URL: http://llvm.org/viewvc/llvm-project?rev=259734&view=rev > Log: > Fix predefine for __NSConstantString struct type > > Per review feedbac

r265201 - [Objective-C] Introduce objc_runtime_visible attribute.

2016-04-01 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Fri Apr 1 18:23:52 2016 New Revision: 265201 URL: http://llvm.org/viewvc/llvm-project?rev=265201&view=rev Log: [Objective-C] Introduce objc_runtime_visible attribute. The objc_runtime_visible attribute deals with an odd corner case where a particular Objective-C class is kn

Re: [cfe-commits] r119285 - in /cfe/trunk: lib/Frontend/ASTUnit.cpp tools/c-index-test/c-index-test.c

2015-11-18 Thread Douglas Gregor via cfe-commits
Sent from my iPhone > On Nov 18, 2015, at 8:19 AM, Manuel Klimek wrote: > > (now with the right list) > >> On Tue, Nov 16, 2010 at 12:03 AM Douglas Gregor wrote: >> Author: dgregor >> Date: Mon Nov 15 17:00:34 2010 >> New Revision: 119285 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=1

Re: [cfe-commits] r119285 - in /cfe/trunk: lib/Frontend/ASTUnit.cpp tools/c-index-test/c-index-test.c

2015-11-18 Thread Douglas Gregor via cfe-commits
> On Nov 18, 2015, at 9:36 AM, Manuel Klimek wrote: > > > > On Wed, Nov 18, 2015 at 6:19 PM Douglas Gregor > wrote: > > > Sent from my iPhone > > On Nov 18, 2015, at 8:19 AM, Manuel Klimek > wrote: > >> (now with the right list) >> >>

r255065 - Module file extensions: pass a Sema through to the extension writer.

2015-12-08 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Tue Dec 8 16:43:32 2015 New Revision: 255065 URL: http://llvm.org/viewvc/llvm-project?rev=255065&view=rev Log: Module file extensions: pass a Sema through to the extension writer. Module file extensions are likely to need access to Sema/Preprocessor/ASTContext, and cannot g

r255066 - Objective-C properties: fix bogus use of "isa<>" on a QualType.

2015-12-08 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Tue Dec 8 16:45:17 2015 New Revision: 255066 URL: http://llvm.org/viewvc/llvm-project?rev=255066&view=rev Log: Objective-C properties: fix bogus use of "isa<>" on a QualType. The code used "isa" to check the type and then "getAs" to look through sugar; we need to look throu

r255174 - Objective-C properties: loosen 'atomic' checking for readonly properties.

2015-12-09 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Wed Dec 9 16:57:32 2015 New Revision: 255174 URL: http://llvm.org/viewvc/llvm-project?rev=255174&view=rev Log: Objective-C properties: loosen 'atomic' checking for readonly properties. r251874 reworked the way we handle properties declared within Objective-C class extension

r255309 - Objective-C properties: merge attributes when redeclaring 'readonly' as 'readwrite' in an extension.

2015-12-10 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Thu Dec 10 17:02:09 2015 New Revision: 255309 URL: http://llvm.org/viewvc/llvm-project?rev=255309&view=rev Log: Objective-C properties: merge attributes when redeclaring 'readonly' as 'readwrite' in an extension. r251874 stopped back-patching the AST when an Objective-C 're

r255943 - ObjC properties: consider ownership of properties from protocols when synthesizing.

2015-12-17 Thread Douglas Gregor via cfe-commits
Author: dgregor Date: Thu Dec 17 18:52:31 2015 New Revision: 255943 URL: http://llvm.org/viewvc/llvm-project?rev=255943&view=rev Log: ObjC properties: consider ownership of properties from protocols when synthesizing. When determining whether ownership was explicitly written for a property when