[clang] 290cddc - Allow __attribute__((swift_attr)) in attribute push pragmas

2021-11-19 Thread Alex Lorenz via cfe-commits
Author: Becca Royal-Gordon Date: 2021-11-19T13:00:26-08:00 New Revision: 290cddcd139d668251821f11426f37481faf6d7f URL: https://github.com/llvm/llvm-project/commit/290cddcd139d668251821f11426f37481faf6d7f DIFF: https://github.com/llvm/llvm-project/commit/290cddcd139d668251821f11426f37481faf6d7f.

[clang] 7d85f6b - [clang][driver][darwin] Ensure that the SDK version passed to -platform_version has a minor version number 0

2022-10-04 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-10-04T10:23:38-07:00 New Revision: 7d85f6b1af26c8f749f0c217d7aae694cc3931eb URL: https://github.com/llvm/llvm-project/commit/7d85f6b1af26c8f749f0c217d7aae694cc3931eb DIFF: https://github.com/llvm/llvm-project/commit/7d85f6b1af26c8f749f0c217d7aae694cc3931eb.diff L

[clang] 2498964 - [clang][test] NFC, check in darwin-ld-platform-version-macos-requires-darwin.c should be more permissive

2022-10-12 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-10-12T15:57:27-07:00 New Revision: 24989646a5216cc6f8c6d336a17e7cb2f5c60454 URL: https://github.com/llvm/llvm-project/commit/24989646a5216cc6f8c6d336a17e7cb2f5c60454 DIFF: https://github.com/llvm/llvm-project/commit/24989646a5216cc6f8c6d336a17e7cb2f5c60454.diff L

[clang] f4be5ed - [clang][pp] only __is_target_environment(unknown) should match unknown target triple environment

2022-11-02 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-11-02T13:49:04-07:00 New Revision: f4be5ed6a3fef0b2b0c60b29e1c0638926638d28 URL: https://github.com/llvm/llvm-project/commit/f4be5ed6a3fef0b2b0c60b29e1c0638926638d28 DIFF: https://github.com/llvm/llvm-project/commit/f4be5ed6a3fef0b2b0c60b29e1c0638926638d28.diff L

[clang] 1b34f1e - [clang][test] mark tests added in ee8524087c78 as unsupported on AIX

2022-05-24 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-05-24T13:39:37-07:00 New Revision: 1b34f1e996565bc5e4f2be14b89f881f8fe0f3b9 URL: https://github.com/llvm/llvm-project/commit/1b34f1e996565bc5e4f2be14b89f881f8fe0f3b9 DIFF: https://github.com/llvm/llvm-project/commit/1b34f1e996565bc5e4f2be14b89f881f8fe0f3b9.diff L

[clang] 79e09af - [clang] Fix the begin location of concepts specialization expression

2022-05-25 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-05-25T12:39:21-07:00 New Revision: 79e09af1d6e11b05c6484868f15a9a2db298699c URL: https://github.com/llvm/llvm-project/commit/79e09af1d6e11b05c6484868f15a9a2db298699c DIFF: https://github.com/llvm/llvm-project/commit/79e09af1d6e11b05c6484868f15a9a2db298699c.diff L

[clang] 3197357 - Revert "[clang] Match -isysroot behaviour with system compiler on Darwin"

2023-08-23 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2023-08-23T14:50:02-07:00 New Revision: 3197357b7e39a58bc7eb0600eb337ac2a1c8c225 URL: https://github.com/llvm/llvm-project/commit/3197357b7e39a58bc7eb0600eb337ac2a1c8c225 DIFF: https://github.com/llvm/llvm-project/commit/3197357b7e39a58bc7eb0600eb337ac2a1c8c225.diff L

[clang] 2a67014 - [clang][driver][darwin] Enforce consistent major version limit for any Darwin OS

2022-11-29 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-11-29T13:18:56-08:00 New Revision: 2a6701444af816f9048c788513abf4d2e9fa785d URL: https://github.com/llvm/llvm-project/commit/2a6701444af816f9048c788513abf4d2e9fa785d DIFF: https://github.com/llvm/llvm-project/commit/2a6701444af816f9048c788513abf4d2e9fa785d.diff L

[clang] 60a33de - [clang][darwin] Use consistent version define stringifying logic for different Darwin OSes

2022-11-29 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2022-11-29T14:22:34-08:00 New Revision: 60a33ded751c86fff9ac1c4bdd2b341fbe4b0649 URL: https://github.com/llvm/llvm-project/commit/60a33ded751c86fff9ac1c4bdd2b341fbe4b0649 DIFF: https://github.com/llvm/llvm-project/commit/60a33ded751c86fff9ac1c4bdd2b341fbe4b0649.diff L

[clang-tools-extra] e1b07aa - [clangd] NFC, reuse the source manager variable in the RawStringLiteral apply method

2019-11-08 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2019-11-08T14:50:54-08:00 New Revision: e1b07aac3d1c92f58e05cb5c37c0707842da5839 URL: https://github.com/llvm/llvm-project/commit/e1b07aac3d1c92f58e05cb5c37c0707842da5839 DIFF: https://github.com/llvm/llvm-project/commit/e1b07aac3d1c92f58e05cb5c37c0707842da5839.diff L

[clang] 3895305 - [clang-scan-deps] do not skip empty #if/#elif in the minimizer to avoid missing `__has_include` dependencies

2019-12-02 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2019-12-02T18:47:22-08:00 New Revision: 389530524be1715e97947810514f3a75dfe73975 URL: https://github.com/llvm/llvm-project/commit/389530524be1715e97947810514f3a75dfe73975 DIFF: https://github.com/llvm/llvm-project/commit/389530524be1715e97947810514f3a75dfe73975.diff L

[clang-tools-extra] c0ee022 - [clangd] NFC, add getLangOpts helper to ParsedAST

2019-12-04 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2019-12-04T16:55:25-08:00 New Revision: c0ee0224c4cf52bc6ba74dec88b30b850deca523 URL: https://github.com/llvm/llvm-project/commit/c0ee0224c4cf52bc6ba74dec88b30b850deca523 DIFF: https://github.com/llvm/llvm-project/commit/c0ee0224c4cf52bc6ba74dec88b30b850deca523.diff L

[clang-tools-extra] 27f1244 - [clangd] Add a tweak refactoring to wrap Objective-C string literals in `NSLocalizedString` macros

2019-12-04 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2019-12-04T16:58:12-08:00 New Revision: 27f124445755a80e048a68d2fabbd2fa6f40a723 URL: https://github.com/llvm/llvm-project/commit/27f124445755a80e048a68d2fabbd2fa6f40a723 DIFF: https://github.com/llvm/llvm-project/commit/27f124445755a80e048a68d2fabbd2fa6f40a723.diff L

[clang] f3efd69 - [ObjC] Make sure that the implicit arguments for direct methods have been setup

2019-12-06 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2019-12-06T14:28:28-08:00 New Revision: f3efd6957474bfd3b9b232ac6e4b3608174c3b79 URL: https://github.com/llvm/llvm-project/commit/f3efd6957474bfd3b9b232ac6e4b3608174c3b79 DIFF: https://github.com/llvm/llvm-project/commit/f3efd6957474bfd3b9b232ac6e4b3608174c3b79.diff L

[clang] 1646bb8 - Also synthesize _cmd and self for properties

2019-12-09 Thread Alex Lorenz via cfe-commits
Author: Pierre Habouzit Date: 2019-12-09T14:30:01-08:00 New Revision: 1646bb86643326db6e220291d5c71c8d616f66fb URL: https://github.com/llvm/llvm-project/commit/1646bb86643326db6e220291d5c71c8d616f66fb DIFF: https://github.com/llvm/llvm-project/commit/1646bb86643326db6e220291d5c71c8d616f66fb.dif

[clang] 25ce33a - [driver][darwin] Pass -platform_version flag to the linker instead of the -_version_min flag

2019-12-17 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2019-12-17T10:26:32-08:00 New Revision: 25ce33a6e4f3b13732c0f851e68390dc2acb9123 URL: https://github.com/llvm/llvm-project/commit/25ce33a6e4f3b13732c0f851e68390dc2acb9123 DIFF: https://github.com/llvm/llvm-project/commit/25ce33a6e4f3b13732c0f851e68390dc2acb9123.diff L

[clang] a4e1819 - [objc_direct] fix uniquing when re-declaring a readwrite-direct property

2019-12-17 Thread Alex Lorenz via cfe-commits
Author: Pierre Habouzit Date: 2019-12-17T11:07:48-08:00 New Revision: a4e1819c16836dba928e646024a2406bb2eb3f94 URL: https://github.com/llvm/llvm-project/commit/a4e1819c16836dba928e646024a2406bb2eb3f94 DIFF: https://github.com/llvm/llvm-project/commit/a4e1819c16836dba928e646024a2406bb2eb3f94.dif

[clang] be88a20 - [driver][darwin] Use explicit -mlinker-version in the -platform_version tests

2019-12-17 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2019-12-17T14:25:22-08:00 New Revision: be88a20c900463c4919433109e4c17cd001da580 URL: https://github.com/llvm/llvm-project/commit/be88a20c900463c4919433109e4c17cd001da580 DIFF: https://github.com/llvm/llvm-project/commit/be88a20c900463c4919433109e4c17cd001da580.diff L

[clang] f96f64d - [driver][Darwin] Add an -ibuiltininc flag that lets Darwin driver

2020-01-28 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2020-01-28T18:18:43-08:00 New Revision: f96f64d0f2793fe720bf847cac4a45d74a81c0ef URL: https://github.com/llvm/llvm-project/commit/f96f64d0f2793fe720bf847cac4a45d74a81c0ef DIFF: https://github.com/llvm/llvm-project/commit/f96f64d0f2793fe720bf847cac4a45d74a81c0ef.diff L

r329110 - [driver][darwin] Do not infer -simulator environment for non-simulator SDKs

2018-04-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Apr 3 13:50:05 2018 New Revision: 329110 URL: http://llvm.org/viewvc/llvm-project?rev=329110&view=rev Log: [driver][darwin] Do not infer -simulator environment for non-simulator SDKs rdar://36369832 Modified: cfe/trunk/lib/Driver/ToolChains/Darwin.cpp cfe/trun

r329113 - Add REQUIRES: darwin-system to test/Driver/darwin-sdkroot.c

2018-04-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Apr 3 14:10:26 2018 New Revision: 329113 URL: http://llvm.org/viewvc/llvm-project?rev=329113&view=rev Log: Add REQUIRES: darwin-system to test/Driver/darwin-sdkroot.c The test from r329110 is for Darwin only Modified: cfe/trunk/test/Driver/darwin-sdkroot.c Modifi

r329141 - Split test/Driver/darwin-sdkroot.c into two tests

2018-04-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Apr 3 19:11:20 2018 New Revision: 329141 URL: http://llvm.org/viewvc/llvm-project?rev=329141&view=rev Log: Split test/Driver/darwin-sdkroot.c into two tests The test additions in r329110 are Darwin-specific, as they rely on a code path that is reachabled when driver is

r329324 - Remove the temporary availability checking workaround for

2018-04-05 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Apr 5 11:12:06 2018 New Revision: 329324 URL: http://llvm.org/viewvc/llvm-project?rev=329324&view=rev Log: Remove the temporary availability checking workaround for the nested declarations in @interface. rdar://28825862 Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cp

r329442 - Generate Libclang invocation reproducers using a new -cc1gen-reproducer

2018-04-06 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Apr 6 11:30:14 2018 New Revision: 329442 URL: http://llvm.org/viewvc/llvm-project?rev=329442&view=rev Log: Generate Libclang invocation reproducers using a new -cc1gen-reproducer driver option This commit is a follow up to the previous work that recorded Libclang invo

r329447 - Revert r329442 "Generate Libclang invocation reproducers using a new

2018-04-06 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Apr 6 12:45:29 2018 New Revision: 329447 URL: http://llvm.org/viewvc/llvm-project?rev=329447&view=rev Log: Revert r329442 "Generate Libclang invocation reproducers using a new -cc1gen-reproducer driver option" The tests are failing on some bots Removed: cfe/trunk/

r329465 - Recommit r329442: Generate Libclang invocation reproducers using a new

2018-04-06 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Apr 6 17:03:27 2018 New Revision: 329465 URL: http://llvm.org/viewvc/llvm-project?rev=329465&view=rev Log: Recommit r329442: Generate Libclang invocation reproducers using a new -cc1gen-reproducer driver option The recommit fixes: - An MSAN failure (CCPrintOptions wasn

[clang-tools-extra] r316621 - Handle PragmaDebug in PPChainedCallbacks

2017-10-25 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Oct 25 15:01:23 2017 New Revision: 316621 URL: http://llvm.org/viewvc/llvm-project?rev=316621&view=rev Log: Handle PragmaDebug in PPChainedCallbacks The test is in clang-tools-extra/test/pp-trace Modified: clang-tools-extra/trunk/test/pp-trace/pp-trace-pragma-gener

r316621 - Handle PragmaDebug in PPChainedCallbacks

2017-10-25 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Oct 25 15:01:23 2017 New Revision: 316621 URL: http://llvm.org/viewvc/llvm-project?rev=316621&view=rev Log: Handle PragmaDebug in PPChainedCallbacks The test is in clang-tools-extra/test/pp-trace Modified: cfe/trunk/include/clang/Lex/PPCallbacks.h Modified: cfe/tr

r316631 - Allow StmtPrinter to supress implicit 'this' and 'self' base expressions

2017-10-25 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Oct 25 17:56:54 2017 New Revision: 316631 URL: http://llvm.org/viewvc/llvm-project?rev=316631&view=rev Log: Allow StmtPrinter to supress implicit 'this' and 'self' base expressions This will be useful for certain refactoring actions. rdar://34202062 Modified: cfe/

r316778 - [Sema] Fix an assert-on-invalid by avoiding function template specialisation

2017-10-27 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Oct 27 11:13:31 2017 New Revision: 316778 URL: http://llvm.org/viewvc/llvm-project?rev=316778&view=rev Log: [Sema] Fix an assert-on-invalid by avoiding function template specialisation deduction for invalid functions The fabricated template parameters cause an assertion

r316780 - [refactor] Describe refactorings in the operation classes

2017-10-27 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Oct 27 11:19:11 2017 New Revision: 316780 URL: http://llvm.org/viewvc/llvm-project?rev=316780&view=rev Log: [refactor] Describe refactorings in the operation classes This commit changes the way that the refactoring operation classes are structured: - Users have to call

r316966 - Typo correct the condition of 'do-while' before exiting its scope

2017-10-30 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Oct 30 15:55:11 2017 New Revision: 316966 URL: http://llvm.org/viewvc/llvm-project?rev=316966&view=rev Log: Typo correct the condition of 'do-while' before exiting its scope rdar://35172419 Modified: cfe/trunk/lib/Parse/ParseStmt.cpp cfe/trunk/test/SemaObjCXX/t

r316971 - [refactor] select the entire DeclStmt if one ifs decls is selected

2017-10-30 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Oct 30 18:28:17 2017 New Revision: 316971 URL: http://llvm.org/viewvc/llvm-project?rev=316971&view=rev Log: [refactor] select the entire DeclStmt if one ifs decls is selected Modified: cfe/trunk/lib/Tooling/Refactoring/ASTSelection.cpp cfe/trunk/unittests/Toolin

r317054 - [refactor][selection] code ranges can be selected in objc methods

2017-10-31 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Oct 31 17:07:12 2017 New Revision: 317054 URL: http://llvm.org/viewvc/llvm-project?rev=317054&view=rev Log: [refactor][selection] code ranges can be selected in objc methods Modified: cfe/trunk/lib/Tooling/Refactoring/ASTSelection.cpp cfe/trunk/unittests/Tooling

r317056 - [refactor][extract] prohibit extraction of ObjC property setters

2017-10-31 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Oct 31 17:20:55 2017 New Revision: 317056 URL: http://llvm.org/viewvc/llvm-project?rev=317056&view=rev Log: [refactor][extract] prohibit extraction of ObjC property setters Added: cfe/trunk/test/Refactor/Extract/ObjCProperty.m Modified: cfe/trunk/include/clang/B

r317062 - [refactor][extract] code extracted from inline method should be placed

2017-10-31 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Oct 31 18:12:56 2017 New Revision: 317062 URL: http://llvm.org/viewvc/llvm-project?rev=317062&view=rev Log: [refactor][extract] code extracted from inline method should be placed in a function defined before the outer class Added: cfe/trunk/test/Refactor/Extract/Fro

r317224 - [refactor][selection] canonicalize selected string literal to objc

2017-11-02 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Nov 2 11:05:48 2017 New Revision: 317224 URL: http://llvm.org/viewvc/llvm-project?rev=317224&view=rev Log: [refactor][selection] canonicalize selected string literal to objc string literal when possible Modified: cfe/trunk/lib/Tooling/Refactoring/ASTSelection.cpp

r317228 - remove unused function from ObjCRuntime.h, NFC

2017-11-02 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Nov 2 12:01:34 2017 New Revision: 317228 URL: http://llvm.org/viewvc/llvm-project?rev=317228&view=rev Log: remove unused function from ObjCRuntime.h, NFC Modified: cfe/trunk/include/clang/Basic/ObjCRuntime.h Modified: cfe/trunk/include/clang/Basic/ObjCRuntime.h UR

r317231 - revert r317228: remove unused function from ObjCRuntime.h, NFC

2017-11-02 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Nov 2 12:42:40 2017 New Revision: 317231 URL: http://llvm.org/viewvc/llvm-project?rev=317231&view=rev Log: revert r317228: remove unused function from ObjCRuntime.h, NFC This function is actually used in LLDB Modified: cfe/trunk/include/clang/Basic/ObjCRuntime.h

r317343 - [refactor][extract] insert semicolons into extracted/inserted code

2017-11-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Nov 3 11:11:22 2017 New Revision: 317343 URL: http://llvm.org/viewvc/llvm-project?rev=317343&view=rev Log: [refactor][extract] insert semicolons into extracted/inserted code when needed This commit implements the semicolon insertion logic into the extract refactoring.

r317344 - Move Extract.cpp that wasn't moved in r317343

2017-11-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Nov 3 11:21:06 2017 New Revision: 317344 URL: http://llvm.org/viewvc/llvm-project?rev=317344&view=rev Log: Move Extract.cpp that wasn't moved in r317343 Added: cfe/trunk/lib/Tooling/Refactoring/Extract/Extract.cpp Removed: cfe/trunk/lib/Tooling/Refactoring/Extr

r317372 - Add -fcxx-exceptions for ExtractionSemicolonPolicy.cpp to appease PS4 bots

2017-11-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Nov 3 14:31:10 2017 New Revision: 317372 URL: http://llvm.org/viewvc/llvm-project?rev=317372&view=rev Log: Add -fcxx-exceptions for ExtractionSemicolonPolicy.cpp to appease PS4 bots Modified: cfe/trunk/test/Refactor/Extract/ExtractionSemicolonPolicy.cpp Modified:

r317532 - Clarify the error message for unsupported aliases on Darwin

2017-11-06 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Nov 6 16:31:19 2017 New Revision: 317532 URL: http://llvm.org/viewvc/llvm-project?rev=317532&view=rev Log: Clarify the error message for unsupported aliases on Darwin rdar://35109556 Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td cfe/trunk/test

r317593 - [index] index field references in __builtin_offset

2017-11-07 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Nov 7 09:29:11 2017 New Revision: 317593 URL: http://llvm.org/viewvc/llvm-project?rev=317593&view=rev Log: [index] index field references in __builtin_offset rdar://35109556 Modified: cfe/trunk/lib/Index/IndexBody.cpp cfe/trunk/test/Index/Core/index-source.cpp

r317596 - [index] __builtin_offset's field reference is located at the end location

2017-11-07 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Nov 7 10:25:36 2017 New Revision: 317596 URL: http://llvm.org/viewvc/llvm-project?rev=317596&view=rev Log: [index] __builtin_offset's field reference is located at the end location The starting location is the location of the '.' Modified: cfe/trunk/lib/Index/Inde

r317599 - [refactor] rename field references in __builtin_offsetof

2017-11-07 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Nov 7 10:30:23 2017 New Revision: 317599 URL: http://llvm.org/viewvc/llvm-project?rev=317599&view=rev Log: [refactor] rename field references in __builtin_offsetof rdar://33875453 Added: cfe/trunk/test/Refactor/LocalRename/BuiltinOffsetof.cpp Modified: cfe/tru

r317620 - [ObjC++] Don't warn about pessimizing move for __block variables

2017-11-07 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Nov 7 13:40:11 2017 New Revision: 317620 URL: http://llvm.org/viewvc/llvm-project?rev=317620&view=rev Log: [ObjC++] Don't warn about pessimizing move for __block variables rdar://33316951 Added: cfe/trunk/test/SemaObjCXX/block-variable-move.mm Modified: cfe/tr

r317727 - [ObjC] Boxed strings should use the nullability from stringWithUTF8String's return type

2017-11-08 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Nov 8 13:33:15 2017 New Revision: 317727 URL: http://llvm.org/viewvc/llvm-project?rev=317727&view=rev Log: [ObjC] Boxed strings should use the nullability from stringWithUTF8String's return type Objective-C NSString has a class method stringWithUTF8String that creates

r317736 - [ObjC] Fix function signature handling for blocks literals with attributes

2017-11-08 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Nov 8 14:44:34 2017 New Revision: 317736 URL: http://llvm.org/viewvc/llvm-project?rev=317736&view=rev Log: [ObjC] Fix function signature handling for blocks literals with attributes Block literals can have a type with attributes in its signature, e.g. ns_returns_retain

r317737 - Remove redundant copy-pasted comment in test file from r317736

2017-11-08 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Nov 8 14:47:15 2017 New Revision: 317737 URL: http://llvm.org/viewvc/llvm-project?rev=317737&view=rev Log: Remove redundant copy-pasted comment in test file from r317736 Modified: cfe/trunk/test/SemaObjC/block-literal-with-attribute.m Modified: cfe/trunk/test/Sema

[libcxx] r317816 - Add _LIBCPP_INLINE_VISIBILITY to __compressed_pair_elem members

2017-11-09 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Nov 9 09:54:49 2017 New Revision: 317816 URL: http://llvm.org/viewvc/llvm-project?rev=317816&view=rev Log: Add _LIBCPP_INLINE_VISIBILITY to __compressed_pair_elem members The commit r300140 changed the implementation of compressed_pair, but didn't add _LIBCPP_INLINE_VI

r317832 - [index] tag declarations should use the decl role instead of ref

2017-11-09 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Nov 9 12:50:59 2017 New Revision: 317832 URL: http://llvm.org/viewvc/llvm-project?rev=317832&view=rev Log: [index] tag declarations should use the decl role instead of ref The 'decl' role is more canonical than the 'ref'. This helps us establish the 'specialization-of'

r318129 - [completion] complete ObjC interface names in an expression

2017-11-13 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Nov 13 17:46:24 2017 New Revision: 318129 URL: http://llvm.org/viewvc/llvm-project?rev=318129&view=rev Log: [completion] complete ObjC interface names in an expression Objective-C interfaces can be used in a class property expression. rdar://26982192 Modified: cfe

r318169 - [refactor][extract] avoid extracting expressions from types in functions

2017-11-14 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Nov 14 10:59:01 2017 New Revision: 318169 URL: http://llvm.org/viewvc/llvm-project?rev=318169&view=rev Log: [refactor][extract] avoid extracting expressions from types in functions Modified: cfe/trunk/lib/Tooling/Refactoring/ASTSelection.cpp cfe/trunk/test/Refac

r318205 - [refactor][selection] canonicalize member expr callee to the full

2017-11-14 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Nov 14 14:06:55 2017 New Revision: 318205 URL: http://llvm.org/viewvc/llvm-project?rev=318205&view=rev Log: [refactor][selection] canonicalize member expr callee to the full member call expression We would like to extract the full call when just the callee is selected.

r318215 - [refactor][selection] canonicalize decl ref callee to the call expr

2017-11-14 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Nov 14 15:10:50 2017 New Revision: 318215 URL: http://llvm.org/viewvc/llvm-project?rev=318215&view=rev Log: [refactor][selection] canonicalize decl ref callee to the call expr We would like to extract the full call when just the callee function is selected Modified:

r318365 - [DeclPrinter] Honor TerseOutput for constructors

2017-11-15 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Nov 15 17:28:25 2017 New Revision: 318365 URL: http://llvm.org/viewvc/llvm-project?rev=318365&view=rev Log: [DeclPrinter] Honor TerseOutput for constructors Patch by Nikolai Kosjar! Differential Revision: https://reviews.llvm.org/D39957 Modified: cfe/trunk/lib/AST

r318367 - [DeclPrinter] Extract function PrintConstructorInitializers, NFC

2017-11-15 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Nov 15 17:31:27 2017 New Revision: 318367 URL: http://llvm.org/viewvc/llvm-project?rev=318367&view=rev Log: [DeclPrinter] Extract function PrintConstructorInitializers, NFC Patch by Nikolai Kosjar! Differential Revision: https://reviews.llvm.org/D40066 Modified: c

r318552 - [ObjC][ARC] Honor noescape attribute for -Warc-retain-cycles

2017-11-17 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Nov 17 12:44:25 2017 New Revision: 318552 URL: http://llvm.org/viewvc/llvm-project?rev=318552&view=rev Log: [ObjC][ARC] Honor noescape attribute for -Warc-retain-cycles rdar://35409566 Differential Revision: https://reviews.llvm.org/D40141 Modified: cfe/trunk/lib/

[clang] c8e2dd8 - [clang][darwin] An OS version preprocessor define is added for any darwin OS

2023-03-12 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2023-03-12T10:58:33-07:00 New Revision: c8e2dd8c6f490b68e41fe663b44535a8a21dfeab URL: https://github.com/llvm/llvm-project/commit/c8e2dd8c6f490b68e41fe663b44535a8a21dfeab DIFF: https://github.com/llvm/llvm-project/commit/c8e2dd8c6f490b68e41fe663b44535a8a21dfeab.diff L

[clang] c8b37e4 - [clang] extend external_source_symbol attribute with USR clause

2023-02-23 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2023-02-23T14:59:26-08:00 New Revision: c8b37e48f6f00bb2aa3882ca3cc26082f85ca999 URL: https://github.com/llvm/llvm-project/commit/c8b37e48f6f00bb2aa3882ca3cc26082f85ca999 DIFF: https://github.com/llvm/llvm-project/commit/c8b37e48f6f00bb2aa3882ca3cc26082f85ca999.diff L

[clang] 21631b5 - [clang] fix intendation in newly added release note

2023-02-23 Thread Alex Lorenz via cfe-commits
Author: Alex Lorenz Date: 2023-02-23T15:53:07-08:00 New Revision: 21631b567e88b5a1146a74b0a25f7a20afef8afb URL: https://github.com/llvm/llvm-project/commit/21631b567e88b5a1146a74b0a25f7a20afef8afb DIFF: https://github.com/llvm/llvm-project/commit/21631b567e88b5a1146a74b0a25f7a20afef8afb.diff L

r290879 - [CodeCompletion] Autocomplete NS_DESIGNATED_INITIALIZER in initializers

2017-01-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Jan 3 05:56:40 2017 New Revision: 290879 URL: http://llvm.org/viewvc/llvm-project?rev=290879&view=rev Log: [CodeCompletion] Autocomplete NS_DESIGNATED_INITIALIZER in initializers with arguments rdar://21014571 Differential Revision: https://reviews.llvm.org/D27039 Ad

r290880 - Handle FriendDecl in DeclContextPrinter

2017-01-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Jan 3 06:07:20 2017 New Revision: 290880 URL: http://llvm.org/viewvc/llvm-project?rev=290880&view=rev Log: Handle FriendDecl in DeclContextPrinter This commit fixes a crash that occurs when -print-decl-contexts AST consumer tries to print an unhandled declaration. rda

r290881 - Handle UsingDecl and UsingShadowDecl in DeclContextPrinter

2017-01-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Jan 3 06:08:40 2017 New Revision: 290881 URL: http://llvm.org/viewvc/llvm-project?rev=290881&view=rev Log: Handle UsingDecl and UsingShadowDecl in DeclContextPrinter This commit fixes a crash that occurs when -print-decl-contexts AST consumer tries to print an unhandle

r290882 - Handle EmptyDecl in DeclContextPrinter

2017-01-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Jan 3 06:09:39 2017 New Revision: 290882 URL: http://llvm.org/viewvc/llvm-project?rev=290882&view=rev Log: Handle EmptyDecl in DeclContextPrinter This commit fixes a crash that occurs when -print-decl-contexts AST consumer tries to print an unhandled declaration. rdar

r290884 - Handle ClassTemplateSpecializationDecl in DeclContextPrinter

2017-01-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Jan 3 06:11:17 2017 New Revision: 290884 URL: http://llvm.org/viewvc/llvm-project?rev=290884&view=rev Log: Handle ClassTemplateSpecializationDecl in DeclContextPrinter This commit fixes a crash that occurs when -print-decl-contexts AST consumer tries to print an unhand

r290885 - Handle AccessSpecDecl in DeclContextPrinter

2017-01-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Jan 3 06:12:36 2017 New Revision: 290885 URL: http://llvm.org/viewvc/llvm-project?rev=290885&view=rev Log: Handle AccessSpecDecl in DeclContextPrinter This commit fixes a crash that occurs when -print-decl-contexts AST consumer tries to print an unhandled declaration.

r290886 - Handle VarTemplateDecl in DeclContextPrinter

2017-01-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Jan 3 06:14:59 2017 New Revision: 290886 URL: http://llvm.org/viewvc/llvm-project?rev=290886&view=rev Log: Handle VarTemplateDecl in DeclContextPrinter This commit fixes a crash that occurs when -print-decl-contexts AST consumer tries to print an unhandled declaration.

r290887 - Handle StaticAssertDecl in DeclContextPrinter

2017-01-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Jan 3 06:16:02 2017 New Revision: 290887 URL: http://llvm.org/viewvc/llvm-project?rev=290887&view=rev Log: Handle StaticAssertDecl in DeclContextPrinter This commit fixes a crash that occurs when -print-decl-contexts AST consumer tries to print an unhandled declaration

r290960 - Add -f[no-]strict-return flag that can be used to avoid undefined behaviour

2017-01-04 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Jan 4 07:40:34 2017 New Revision: 290960 URL: http://llvm.org/viewvc/llvm-project?rev=290960&view=rev Log: Add -f[no-]strict-return flag that can be used to avoid undefined behaviour in non-void functions that fall off at the end without returning a value when compiling

r290968 - Fix a buildbot failure introduced by r290960.

2017-01-04 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Jan 4 09:07:13 2017 New Revision: 290968 URL: http://llvm.org/viewvc/llvm-project?rev=290968&view=rev Log: Fix a buildbot failure introduced by r290960. The commit r290960 checked the the basic block label name which isn't there when clang is compiled in release mode.

r291231 - [ObjC] The declarator for a block literal should be a definition

2017-01-06 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Jan 6 05:31:12 2017 New Revision: 291231 URL: http://llvm.org/viewvc/llvm-project?rev=291231&view=rev Log: [ObjC] The declarator for a block literal should be a definition This change avoids the -Wstrict-prototypes warning for block literals with an empty argument list

r291232 - [CodeCompletion] Block property setters: Use dynamic priority heuristic

2017-01-06 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Jan 6 06:00:44 2017 New Revision: 291232 URL: http://llvm.org/viewvc/llvm-project?rev=291232&view=rev Log: [CodeCompletion] Block property setters: Use dynamic priority heuristic Now when completing blocks properties that return void the block call completion result sh

r291564 - [Sema] Avoid -Wshadow warning when a "redefinition of " error is presented

2017-01-10 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Jan 10 08:41:13 2017 New Revision: 291564 URL: http://llvm.org/viewvc/llvm-project?rev=291564&view=rev Log: [Sema] Avoid -Wshadow warning when a "redefinition of " error is presented This commit ensures that clang avoids the redundant -Wshadow warning for variables that

r297862 - [ObjC][Sema] Avoid warning about a call to an instance method on an

2017-03-15 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Mar 15 12:16:41 2017 New Revision: 297862 URL: http://llvm.org/viewvc/llvm-project?rev=297862&view=rev Log: [ObjC][Sema] Avoid warning about a call to an instance method on an instance of a qualified Class object when that instance method comes from a protocol that's imp

r297961 - [ObjC][Sema] Avoid ARC performSelector error for 'self' selector

2017-03-16 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Mar 16 11:36:11 2017 New Revision: 297961 URL: http://llvm.org/viewvc/llvm-project?rev=297961&view=rev Log: [ObjC][Sema] Avoid ARC performSelector error for 'self' selector The instance method 'self' does not actually return an over-retained object, so we shouldn't repo

r298493 - [Serialization] Serialize DependentSizedExtVectorType

2017-03-22 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Mar 22 05:04:48 2017 New Revision: 298493 URL: http://llvm.org/viewvc/llvm-project?rev=298493&view=rev Log: [Serialization] Serialize DependentSizedExtVectorType rdar://30659700 Differential Revision: https://reviews.llvm.org/D31134 Added: cfe/trunk/test/PCH/cxx-d

r298587 - [ObjC][ARC] Avoid -Warc-performSelector-leaks for performSelector variations

2017-03-23 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Mar 23 05:46:05 2017 New Revision: 298587 URL: http://llvm.org/viewvc/llvm-project?rev=298587&view=rev Log: [ObjC][ARC] Avoid -Warc-performSelector-leaks for performSelector variations that became supported after r297019 The commit r297019 expanded the performSelector O

r298588 - [CodeGen] Emit a CoreFoundation link guard when @available is used

2017-03-23 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Mar 23 06:14:27 2017 New Revision: 298588 URL: http://llvm.org/viewvc/llvm-project?rev=298588&view=rev Log: [CodeGen] Emit a CoreFoundation link guard when @available is used After r297760, __isOSVersionAtLeast in compiler-rt loads the CoreFoundation symbols at runtime.

r298589 - Support attributes for Objective-C categories

2017-03-23 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Mar 23 06:44:25 2017 New Revision: 298589 URL: http://llvm.org/viewvc/llvm-project?rev=298589&view=rev Log: Support attributes for Objective-C categories rdar://31095315 Differential Revision: https://reviews.llvm.org/D31179 Added: cfe/trunk/test/SemaObjC/category

r299078 - [Sema][ObjC] Avoid the "type of property does not match type of accessor"

2017-03-30 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Mar 30 08:33:51 2017 New Revision: 299078 URL: http://llvm.org/viewvc/llvm-project?rev=299078&view=rev Log: [Sema][ObjC] Avoid the "type of property does not match type of accessor" warning for methods that resemble the setters of readonly properties rdar://30415679 Mo

r299080 - [ARC][ObjC++] Use ObjC semantic rules for comparisons between a pointer and

2017-03-30 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Mar 30 08:48:33 2017 New Revision: 299080 URL: http://llvm.org/viewvc/llvm-project?rev=299080&view=rev Log: [ARC][ObjC++] Use ObjC semantic rules for comparisons between a pointer and an ObjC object pointer When ARC is enabled in Objective-C++, comparisons between a poi

r299226 - [Modules][PCH] Serialize #pragma pack

2017-03-31 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Mar 31 10:36:21 2017 New Revision: 299226 URL: http://llvm.org/viewvc/llvm-project?rev=299226&view=rev Log: [Modules][PCH] Serialize #pragma pack This patch serializes the state of #pragma pack. It preserves the state of the pragma from a PCH/from modules in a file that

r299363 - Enhance -Wshadow to warn when shadowing typedefs or type aliases

2017-04-03 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Mon Apr 3 11:43:21 2017 New Revision: 299363 URL: http://llvm.org/viewvc/llvm-project?rev=299363&view=rev Log: Enhance -Wshadow to warn when shadowing typedefs or type aliases Enhance -Wshadow to emit a warning when typedefs or type aliases are shadowed. Fixes bug https:/

r299541 - -Wunreachable-code: 'true' and 'false' should not be treated as configuration

2017-04-05 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Apr 5 09:07:21 2017 New Revision: 299541 URL: http://llvm.org/viewvc/llvm-project?rev=299541&view=rev Log: -Wunreachable-code: 'true' and 'false' should not be treated as configuration macros Clang should emit -Wunreachable-code warnings in C mode for code that's unrea

r299646 - Fix lambda to block conversion in C++17 by avoiding copy elision for the

2017-04-06 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Apr 6 07:53:43 2017 New Revision: 299646 URL: http://llvm.org/viewvc/llvm-project?rev=299646&view=rev Log: Fix lambda to block conversion in C++17 by avoiding copy elision for the lambda capture used by the created block The commit r288866 introduced guaranteed copy el

r299648 - [ObjC++] Conversions from specialized to non-specialized Objective-C generic

2017-04-06 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Apr 6 08:06:34 2017 New Revision: 299648 URL: http://llvm.org/viewvc/llvm-project?rev=299648&view=rev Log: [ObjC++] Conversions from specialized to non-specialized Objective-C generic object types should be preferred over conversions to other object pointers This chang

r299650 - Avoid the -Wdocumentation-unknown-command warning in Clang's C API docs

2017-04-06 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Apr 6 09:03:25 2017 New Revision: 299650 URL: http://llvm.org/viewvc/llvm-project?rev=299650&view=rev Log: Avoid the -Wdocumentation-unknown-command warning in Clang's C API docs rdar://20441985 Modified: cfe/trunk/include/clang-c/Index.h Modified: cfe/trunk/incl

r299950 - [Parser][ObjC++] Improve diagnostics and recovery when C++ keywords are used

2017-04-11 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Apr 11 10:01:53 2017 New Revision: 299950 URL: http://llvm.org/viewvc/llvm-project?rev=299950&view=rev Log: [Parser][ObjC++] Improve diagnostics and recovery when C++ keywords are used as identifiers in Objective-C++ This commit improves the 'expected identifier' errors

r299951 - Fix PR13910: Don't warn that __builtin_unreachable() is unreachable

2017-04-11 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Apr 11 10:36:06 2017 New Revision: 299951 URL: http://llvm.org/viewvc/llvm-project?rev=299951&view=rev Log: Fix PR13910: Don't warn that __builtin_unreachable() is unreachable Differential Revision: https://reviews.llvm.org/D25321 Modified: cfe/trunk/lib/Analysis/R

r299962 - [ASTPrinter] Print nested name specifiers for out-of-line functions

2017-04-11 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Apr 11 11:46:03 2017 New Revision: 299962 URL: http://llvm.org/viewvc/llvm-project?rev=299962&view=rev Log: [ASTPrinter] Print nested name specifiers for out-of-line functions rdar://31501863 Added: cfe/trunk/test/Misc/ast-print-out-of-line-func.cpp Modified: c

r300049 - Add support for __builtin_available to __has_builtin

2017-04-12 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Apr 12 06:03:25 2017 New Revision: 300049 URL: http://llvm.org/viewvc/llvm-project?rev=300049&view=rev Log: Add support for __builtin_available to __has_builtin rdar://31576715 Modified: cfe/trunk/lib/Lex/PPMacroExpansion.cpp cfe/trunk/test/Parser/objc-availabl

r300540 - [TableGen] Fix MSVC warning that occurs in TableGen generated function

2017-04-18 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Apr 18 04:59:27 2017 New Revision: 300540 URL: http://llvm.org/viewvc/llvm-project?rev=300540&view=rev Log: [TableGen] Fix MSVC warning that occurs in TableGen generated function This should fix the Windows buildbot failure that happened after r300539. Modified: cf

r300542 - Fix one more 'not all control paths return a value' MSVC warning

2017-04-18 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Apr 18 05:17:41 2017 New Revision: 300542 URL: http://llvm.org/viewvc/llvm-project?rev=300542&view=rev Log: Fix one more 'not all control paths return a value' MSVC warning The warning was caused by r300539. Modified: cfe/trunk/lib/Parse/ParsePragma.cpp cfe/tru

r300560 - [ASTPrinter] Print template parameter lists for out-of-line functions

2017-04-18 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Apr 18 10:12:34 2017 New Revision: 300560 URL: http://llvm.org/viewvc/llvm-project?rev=300560&view=rev Log: [ASTPrinter] Print template parameter lists for out-of-line functions Modified: cfe/trunk/lib/AST/DeclPrinter.cpp cfe/trunk/test/Misc/ast-print-out-of-lin

r300591 - The SubjectMatchRule enum should not be used as a DenseMap key to avoid

2017-04-18 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Tue Apr 18 15:54:23 2017 New Revision: 300591 URL: http://llvm.org/viewvc/llvm-project?rev=300591&view=rev Log: The SubjectMatchRule enum should not be used as a DenseMap key to avoid UBSAN 'invalid value' failures The commit r300556 introduced a UBSAN issue that was caught

r300667 - Add support for editor placeholders to Clang

2017-04-19 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Wed Apr 19 03:58:56 2017 New Revision: 300667 URL: http://llvm.org/viewvc/llvm-project?rev=300667&view=rev Log: Add support for editor placeholders to Clang This commit teaches Clang to recognize editor placeholders that are produced when an IDE like Xcode inserts a code-co

r291757 - Avoid multiple -Wunreachable-code diagnostics that are triggered by

2017-01-12 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Jan 12 04:48:03 2017 New Revision: 291757 URL: http://llvm.org/viewvc/llvm-project?rev=291757&view=rev Log: Avoid multiple -Wunreachable-code diagnostics that are triggered by the same source range and use the unary operator fixit only when it actually silences the warni

r292497 - [Sema] Fix PR28181 by avoiding calling BuildOverloadedBinOp in C mode

2017-01-19 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Thu Jan 19 11:17:57 2017 New Revision: 292497 URL: http://llvm.org/viewvc/llvm-project?rev=292497&view=rev Log: [Sema] Fix PR28181 by avoiding calling BuildOverloadedBinOp in C mode rdar://28532840 Differential Revision: https://reviews.llvm.org/D25213 Added: cfe/trun

<    1   2   3   4   5   6   7   >