[clang] 4a64d8f - [ObjC][ARC] Use operand bundle 'clang.arc.rv' instead of explicitly

2021-02-05 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-02-05T06:09:42-08:00 New Revision: 4a64d8fe392449b205e59031aad5424968cf7446 URL: https://github.com/llvm/llvm-project/commit/4a64d8fe392449b205e59031aad5424968cf7446 DIFF: https://github.com/llvm/llvm-project/commit/4a64d8fe392449b205e59031aad5424968cf7446.diff

[clang] c6edf26 - [docs ]Fix indentation

2021-09-28 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-09-28T11:31:39-07:00 New Revision: c6edf26f9a283564a5697068c845a8ff03386086 URL: https://github.com/llvm/llvm-project/commit/c6edf26f9a283564a5697068c845a8ff03386086 DIFF: https://github.com/llvm/llvm-project/commit/c6edf26f9a283564a5697068c845a8ff03386086.diff

[clang] ed4718e - [ObjC][ARC] Use operand bundle 'clang.arc.attachedcall' instead of

2021-02-12 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-02-12T09:51:57-08:00 New Revision: ed4718eccb12bd42214ca4fb17d196d49561c0c7 URL: https://github.com/llvm/llvm-project/commit/ed4718eccb12bd42214ca4fb17d196d49561c0c7 DIFF: https://github.com/llvm/llvm-project/commit/ed4718eccb12bd42214ca4fb17d196d49561c0c7.diff

[clang] b87a120 - [ObjC] Encode pointers to C++ classes as "^v" if the encoded string

2021-02-18 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-02-18T09:38:26-08:00 New Revision: b87a120820989844dc206c66bd0272b5238a14d1 URL: https://github.com/llvm/llvm-project/commit/b87a120820989844dc206c66bd0272b5238a14d1 DIFF: https://github.com/llvm/llvm-project/commit/b87a120820989844dc206c66bd0272b5238a14d1.diff

[clang] f4c06bc - [CodeGen] Don't create fake FunctionDecls when generating block/byref

2021-06-22 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-06-22T11:42:53-07:00 New Revision: f4c06bcb67a1eba13a7f164961586dddaf8ebd5f URL: https://github.com/llvm/llvm-project/commit/f4c06bcb67a1eba13a7f164961586dddaf8ebd5f DIFF: https://github.com/llvm/llvm-project/commit/f4c06bcb67a1eba13a7f164961586dddaf8ebd5f.diff

[clang] 8db0dbb - [CodeGen] Don't create fake FunctionDecls when generating block/byref

2021-06-24 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-06-24T11:45:52-07:00 New Revision: 8db0dbbe2c0544c38f33cf64b4cdd5135d524b23 URL: https://github.com/llvm/llvm-project/commit/8db0dbbe2c0544c38f33cf64b4cdd5135d524b23 DIFF: https://github.com/llvm/llvm-project/commit/8db0dbbe2c0544c38f33cf64b4cdd5135d524b23.diff

[clang] ee620b1 - [clang][Arm] Fix the default floating point ABI for

2021-08-12 Thread Akira Hatanaka via cfe-commits
Author: Sarah Purohit Date: 2021-08-12T21:46:30-07:00 New Revision: ee620b1743bc524ce4b84d8113cb5b43ddcf3b59 URL: https://github.com/llvm/llvm-project/commit/ee620b1743bc524ce4b84d8113cb5b43ddcf3b59 DIFF: https://github.com/llvm/llvm-project/commit/ee620b1743bc524ce4b84d8113cb5b43ddcf3b59.diff

[clang] 952944c - [ObjC][ARC] Don't add operand bundle clang.arc.attachedcall to a call if

2021-06-29 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-06-29T10:23:01-07:00 New Revision: 952944c12c0aa917e97805e929b5cd4e40866f91 URL: https://github.com/llvm/llvm-project/commit/952944c12c0aa917e97805e929b5cd4e40866f91 DIFF: https://github.com/llvm/llvm-project/commit/952944c12c0aa917e97805e929b5cd4e40866f91.diff

[clang] 8d21d54 - [CodeGen] Stop creating fake FunctionDecls when generating IR for

2021-06-29 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-06-29T14:22:33-07:00 New Revision: 8d21d5472501460933e78aead04cf59579025ba4 URL: https://github.com/llvm/llvm-project/commit/8d21d5472501460933e78aead04cf59579025ba4 DIFF: https://github.com/llvm/llvm-project/commit/8d21d5472501460933e78aead04cf59579025ba4.diff

[clang] 6cda73e - [CodeGen] Add ParmVarDecls to FunctionDecls that are created to generate

2021-06-29 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-06-29T16:27:24-07:00 New Revision: 6cda73e3c44968eb6fff4b73cb6f1d0ef7d861f4 URL: https://github.com/llvm/llvm-project/commit/6cda73e3c44968eb6fff4b73cb6f1d0ef7d861f4 DIFF: https://github.com/llvm/llvm-project/commit/6cda73e3c44968eb6fff4b73cb6f1d0ef7d861f4.diff

[clang] d61eb6c - [ObjC][ARC] Use operand bundle "clang.arc.attachedcall" on x86-64

2021-11-08 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-11-08T18:38:40-08:00 New Revision: d61eb6c5d97b6fb8af206bd533db6a0810f75285 URL: https://github.com/llvm/llvm-project/commit/d61eb6c5d97b6fb8af206bd533db6a0810f75285 DIFF: https://github.com/llvm/llvm-project/commit/d61eb6c5d97b6fb8af206bd533db6a0810f75285.diff

[clang] ec4408a - [CodeGen] Call ConvertTypeForMem instead of ConvertType

2021-02-25 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-02-25T12:11:18-08:00 New Revision: ec4408ad692b20a01cca8b5d86f359f6f16bae87 URL: https://github.com/llvm/llvm-project/commit/ec4408ad692b20a01cca8b5d86f359f6f16bae87 DIFF: https://github.com/llvm/llvm-project/commit/ec4408ad692b20a01cca8b5d86f359f6f16bae87.diff

[clang] 1900503 - [ObjC][ARC] Use operand bundle 'clang.arc.attachedcall' instead of

2021-03-04 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-03-04T11:22:30-08:00 New Revision: 1900503595cbb84a4c6e140a9ba1a2c574c0586d URL: https://github.com/llvm/llvm-project/commit/1900503595cbb84a4c6e140a9ba1a2c574c0586d DIFF: https://github.com/llvm/llvm-project/commit/1900503595cbb84a4c6e140a9ba1a2c574c0586d.diff

[clang] dca5737 - Move ObjCARCUtil.h back to llvm/Analysis

2021-03-08 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2021-03-08T16:35:24-08:00 New Revision: dca5737945b9a52d0c66c7ec0cbaa2e15ada69cf URL: https://github.com/llvm/llvm-project/commit/dca5737945b9a52d0c66c7ec0cbaa2e15ada69cf DIFF: https://github.com/llvm/llvm-project/commit/dca5737945b9a52d0c66c7ec0cbaa2e15ada69cf.diff

[clang] 7611e16 - [clang][objc][codegen] Skip emitting ObjC category metadata when the

2021-11-12 Thread Akira Hatanaka via cfe-commits
Author: Josh Learn Date: 2021-11-12T16:21:21-08:00 New Revision: 7611e16fce9ce36b6bd6dceda691f6bc7e754347 URL: https://github.com/llvm/llvm-project/commit/7611e16fce9ce36b6bd6dceda691f6bc7e754347 DIFF: https://github.com/llvm/llvm-project/commit/7611e16fce9ce36b6bd6dceda691f6bc7e754347.diff LO

[clang] 5d79455 - [Sema][ObjC] Don't warn about implicitly-retained self in an unevaluated

2022-08-22 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-08-22T12:16:37-07:00 New Revision: 5d794552bc0c15bbe9852080e60bcecead09302f URL: https://github.com/llvm/llvm-project/commit/5d794552bc0c15bbe9852080e60bcecead09302f DIFF: https://github.com/llvm/llvm-project/commit/5d794552bc0c15bbe9852080e60bcecead09302f.diff

[clang] adaf62c - [Sema] Reject array element types whose sizes aren't a multiple of their

2022-09-21 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-09-21T09:15:03-07:00 New Revision: adaf62ced2a106b9f16974f09ef6294583637288 URL: https://github.com/llvm/llvm-project/commit/adaf62ced2a106b9f16974f09ef6294583637288 DIFF: https://github.com/llvm/llvm-project/commit/adaf62ced2a106b9f16974f09ef6294583637288.diff

[clang] 0ca1051 - Check whether the allocated type is an array type before calling

2022-09-26 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-09-26T14:21:21-07:00 New Revision: 0ca1051bfc6e9548763f0a52641733393c33a427 URL: https://github.com/llvm/llvm-project/commit/0ca1051bfc6e9548763f0a52641733393c33a427 DIFF: https://github.com/llvm/llvm-project/commit/0ca1051bfc6e9548763f0a52641733393c33a427.diff

[clang] 65a961f - [Sema][ObjC] Fix assertion failure in getCommonNonSugarTypeNode

2022-10-05 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-10-05T10:38:25-07:00 New Revision: 65a961f719a7ad6db9b608c323a21ed50b4e36ed URL: https://github.com/llvm/llvm-project/commit/65a961f719a7ad6db9b608c323a21ed50b4e36ed DIFF: https://github.com/llvm/llvm-project/commit/65a961f719a7ad6db9b608c323a21ed50b4e36ed.diff

[clang] 28f7087 - [CodeGen][ObjC] Call synthesized copy constructor/assignment operator

2022-10-14 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-10-14T10:40:24-07:00 New Revision: 28f7087c9163f66b07e17bd47a1bfb5d9448467d URL: https://github.com/llvm/llvm-project/commit/28f7087c9163f66b07e17bd47a1bfb5d9448467d DIFF: https://github.com/llvm/llvm-project/commit/28f7087c9163f66b07e17bd47a1bfb5d9448467d.diff

[clang] ea0cd51 - [CodeGen][ObjC] Fix a memory leak that occurs when a non-trivial C

2023-01-05 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-01-05T19:48:25-08:00 New Revision: ea0cd51a495829ea35b7b8304b16784946598d19 URL: https://github.com/llvm/llvm-project/commit/ea0cd51a495829ea35b7b8304b16784946598d19 DIFF: https://github.com/llvm/llvm-project/commit/ea0cd51a495829ea35b7b8304b16784946598d19.diff

[clang] 143ec50 - [Sema] Fix a bug where clang doesn't detect uses of unavailable decls

2023-01-05 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-01-05T20:33:56-08:00 New Revision: 143ec502e9859141e9d340ed59046dad0fc4ee6f URL: https://github.com/llvm/llvm-project/commit/143ec502e9859141e9d340ed59046dad0fc4ee6f DIFF: https://github.com/llvm/llvm-project/commit/143ec502e9859141e9d340ed59046dad0fc4ee6f.diff

[clang] 34aa2e2 - Save the result of getenv() to a string

2023-01-05 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-01-05T22:59:07-08:00 New Revision: 34aa2e24c89ae39c0db4254d8aafcae0285dbe34 URL: https://github.com/llvm/llvm-project/commit/34aa2e24c89ae39c0db4254d8aafcae0285dbe34 DIFF: https://github.com/llvm/llvm-project/commit/34aa2e24c89ae39c0db4254d8aafcae0285dbe34.diff

[clang] 063a43b - [ObjC] Fix an assertion failure in EvaluateLValue

2022-11-15 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-11-15T14:41:28-08:00 New Revision: 063a43b4fd9f869d57c20145302eb41068bfb54e URL: https://github.com/llvm/llvm-project/commit/063a43b4fd9f869d57c20145302eb41068bfb54e DIFF: https://github.com/llvm/llvm-project/commit/063a43b4fd9f869d57c20145302eb41068bfb54e.diff

[clang] 81e3360 - [Sema] Use the value category of the base expression when creating an

2022-11-15 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-11-15T17:14:48-08:00 New Revision: 81e33602f78d135c11b0d74d738263fc6cfaae12 URL: https://github.com/llvm/llvm-project/commit/81e33602f78d135c11b0d74d738263fc6cfaae12 DIFF: https://github.com/llvm/llvm-project/commit/81e33602f78d135c11b0d74d738263fc6cfaae12.diff

[clang] 8fc3d71 - Stop wrapping GCCAsmStmts inside StmtExprs to destruct temporaries

2022-06-17 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-06-17T17:28:00-07:00 New Revision: 8fc3d719eee7ab41641506cbdc59f3ade0eb36e4 URL: https://github.com/llvm/llvm-project/commit/8fc3d719eee7ab41641506cbdc59f3ade0eb36e4 DIFF: https://github.com/llvm/llvm-project/commit/8fc3d719eee7ab41641506cbdc59f3ade0eb36e4.diff

[clang] 5fa4629 - [Sema] Check whether `__auto_type` has been deduced before merging

2022-06-24 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-06-24T09:49:07-07:00 New Revision: 5fa4629581f6938cc175be5d4a3fccdfbf9fc227 URL: https://github.com/llvm/llvm-project/commit/5fa4629581f6938cc175be5d4a3fccdfbf9fc227 DIFF: https://github.com/llvm/llvm-project/commit/5fa4629581f6938cc175be5d4a3fccdfbf9fc227.diff

[clang] b64f6e5 - Add a release note for the scope enum initialization bug fix in

2022-06-02 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-06-02T17:13:05-07:00 New Revision: b64f6e5722024b29f0799f2a0eae08778162dc61 URL: https://github.com/llvm/llvm-project/commit/b64f6e5722024b29f0799f2a0eae08778162dc61 DIFF: https://github.com/llvm/llvm-project/commit/b64f6e5722024b29f0799f2a0eae08778162dc61.diff

[clang] 66e0899 - [Sema] Reject list-initialization of enumeration types from a

2022-06-02 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-06-02T17:25:11-07:00 New Revision: 66e08995b0b72d28acb5e87b90292e59fabfadae URL: https://github.com/llvm/llvm-project/commit/66e08995b0b72d28acb5e87b90292e59fabfadae DIFF: https://github.com/llvm/llvm-project/commit/66e08995b0b72d28acb5e87b90292e59fabfadae.diff

[clang] d1346e2 - [gmodules] Skip CXXDeductionGuideDecls when visiting FunctionDecls in

2022-06-06 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-06-06T12:51:36-07:00 New Revision: d1346e2ee2741919a8cc1b1ffe41e76a6d06 URL: https://github.com/llvm/llvm-project/commit/d1346e2ee2741919a8cc1b1ffe41e76a6d06 DIFF: https://github.com/llvm/llvm-project/commit/d1346e2ee2741919a8cc1b1ffe41e76a6d06.diff

[clang] 834e5d1 - Revert "[gmodules] Skip CXXDeductionGuideDecls when visiting FunctionDecls in"

2022-06-06 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-06-06T18:48:24-07:00 New Revision: 834e5d12c77eaa4ac1f7fa9512bc7a71470318c7 URL: https://github.com/llvm/llvm-project/commit/834e5d12c77eaa4ac1f7fa9512bc7a71470318c7 DIFF: https://github.com/llvm/llvm-project/commit/834e5d12c77eaa4ac1f7fa9512bc7a71470318c7.diff

[clang] 3ba6ace - [gmodules] Skip CXXDeductionGuideDecls when visiting FunctionDecls in

2022-06-06 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-06-06T19:12:26-07:00 New Revision: 3ba6ace3cc507c241225d6ce92768a9aef417d45 URL: https://github.com/llvm/llvm-project/commit/3ba6ace3cc507c241225d6ce92768a9aef417d45 DIFF: https://github.com/llvm/llvm-project/commit/3ba6ace3cc507c241225d6ce92768a9aef417d45.diff

[clang] Mark an ObjCIvarDecl as invalid if its type contains errors (PR #68001)

2023-10-02 Thread Akira Hatanaka via cfe-commits
https://github.com/ahatanak created https://github.com/llvm/llvm-project/pull/68001 This fixes an assertion failure in InitializationSequence::Perform. >From 82f68bfe98ab0bebf6d1c33a09645aaa55326c2b Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Mon, 2 Oct 2023 09:03:00 -0700 Subject: [PA

[clang] Mark an ObjCIvarDecl as invalid if its type contains errors (PR #68001)

2023-10-02 Thread Akira Hatanaka via cfe-commits
https://github.com/ahatanak closed https://github.com/llvm/llvm-project/pull/68001 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Mark an ObjCIvarDecl as invalid if its type contains errors (PR #68001)

2023-10-02 Thread Akira Hatanaka via cfe-commits
ahatanak wrote: The commit fixed an assertion that was failing in SemaInit.cpp. Assertion failed: (Kind.getKind() == InitializationKind::IK_Copy || Kind.isExplicitCast() || Kind.getKind() == InitializationKind::IK_DirectList), function Perform, file SemaInit.cpp, line 8607. The assertion in

[clang] Add a release note for https://github.com/llvm/llvm-project/pull/68001 (PR #68061)

2023-10-02 Thread Akira Hatanaka via cfe-commits
https://github.com/ahatanak created https://github.com/llvm/llvm-project/pull/68061 None >From bc5093e4942b3ac3d538eb1253515e4b7c562a4a Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Mon, 2 Oct 2023 18:43:26 -0700 Subject: [PATCH] Add a release note for https://github.com/llvm/llvm-proje

[clang] Add a release note for https://github.com/llvm/llvm-project/pull/68001 (PR #68061)

2023-10-03 Thread Akira Hatanaka via cfe-commits
https://github.com/ahatanak closed https://github.com/llvm/llvm-project/pull/68061 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CodeGen][arm64e] Add methods and data members to Address, which are needed to authenticate signed pointers (PR #67454)

2023-10-05 Thread Akira Hatanaka via cfe-commits
https://github.com/ahatanak edited https://github.com/llvm/llvm-project/pull/67454 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CodeGen][arm64e] Add methods and data members to Address, which are needed to authenticate signed pointers (PR #67454)

2023-10-05 Thread Akira Hatanaka via cfe-commits
https://github.com/ahatanak edited https://github.com/llvm/llvm-project/pull/67454 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4ae87b3 - Fix types of arm64 MSVC __readx18/__writex18 intrinsics

2023-07-18 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-07-18T18:16:20-07:00 New Revision: 4ae87b3f8adc35faa3769f2929e51940dd397803 URL: https://github.com/llvm/llvm-project/commit/4ae87b3f8adc35faa3769f2929e51940dd397803 DIFF: https://github.com/llvm/llvm-project/commit/4ae87b3f8adc35faa3769f2929e51940dd397803.diff

[clang] b08d358 - Remove private rdar links. NFC

2023-07-28 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-07-28T16:42:31-07:00 New Revision: b08d358e8ac83cf31c007a58c814bf2dca03d591 URL: https://github.com/llvm/llvm-project/commit/b08d358e8ac83cf31c007a58c814bf2dca03d591 DIFF: https://github.com/llvm/llvm-project/commit/b08d358e8ac83cf31c007a58c814bf2dca03d591.diff

[clang] cff99b7 - Add a flag to disable "duplicate definition of category" warnings

2023-07-03 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-07-03T16:25:22-07:00 New Revision: cff99b76ac4f502ceba897a62db658667f1237f3 URL: https://github.com/llvm/llvm-project/commit/cff99b76ac4f502ceba897a62db658667f1237f3 DIFF: https://github.com/llvm/llvm-project/commit/cff99b76ac4f502ceba897a62db658667f1237f3.diff

[clang] a2b7297 - Don't pass -ibuiltininc, which is used only by the driver, to CC1

2023-07-05 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-07-05T14:03:21-07:00 New Revision: a2b7297dff345e3fc4886c7e76a67d32ea2cd134 URL: https://github.com/llvm/llvm-project/commit/a2b7297dff345e3fc4886c7e76a67d32ea2cd134 DIFF: https://github.com/llvm/llvm-project/commit/a2b7297dff345e3fc4886c7e76a67d32ea2cd134.diff

[clang] 509d051 - [Driver] Warn about -mios-version-min instead of erroring out when

2023-07-13 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-07-13T06:44:54-07:00 New Revision: 509d051606e837d1b8291743cd1683cf8c582afc URL: https://github.com/llvm/llvm-project/commit/509d051606e837d1b8291743cd1683cf8c582afc DIFF: https://github.com/llvm/llvm-project/commit/509d051606e837d1b8291743cd1683cf8c582afc.diff

[clang] 1127e47 - Don't revisit the subexpressions of PseudoObjectExpr when building a

2022-12-02 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-12-02T11:41:09-08:00 New Revision: 1127e479e85011b4284dd5097ca2732347198130 URL: https://github.com/llvm/llvm-project/commit/1127e479e85011b4284dd5097ca2732347198130 DIFF: https://github.com/llvm/llvm-project/commit/1127e479e85011b4284dd5097ca2732347198130.diff

[clang] c1d2927 - Run clang-format on lib/CodeGen/CGCall.h and fix indentation

2019-10-30 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2019-10-30T18:06:12-07:00 New Revision: c1d2927cc64731520e60ecd1fc0e0eeabdfbac40 URL: https://github.com/llvm/llvm-project/commit/c1d2927cc64731520e60ecd1fc0e0eeabdfbac40 DIFF: https://github.com/llvm/llvm-project/commit/c1d2927cc64731520e60ecd1fc0e0eeabdfbac40.diff

[clang] 4516dc1 - Don't add optnone or noinline if the function is already marked as

2019-11-16 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2019-11-15T15:44:04-08:00 New Revision: 4516dc1c20d1e77f20a72e90be876506805b3978 URL: https://github.com/llvm/llvm-project/commit/4516dc1c20d1e77f20a72e90be876506805b3978 DIFF: https://github.com/llvm/llvm-project/commit/4516dc1c20d1e77f20a72e90be876506805b3978.diff

Re: [PATCH] D70284: Constant strings emitted when `-fno-constant-cfstrings` is passed should allow dead stripping

2019-11-19 Thread Akira Hatanaka via cfe-commits
Can you check the `#0` at the end of the globals and other strings that precede that? If you do so, we can also check that `no_dead_strip` isn’t added. > On Nov 19, 2019, at 6:05 PM, Duncan P. N. Exon Smith via Phabricator via > cfe-commits wrote: > > dexonsmith added a comment. > > For some

[clang] a6150b4 - [Sema] Use the canonical type in function isVector

2019-11-22 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2019-11-22T12:57:24-08:00 New Revision: a6150b48cea00ab31e9335cc73770327acc4cb3a URL: https://github.com/llvm/llvm-project/commit/a6150b48cea00ab31e9335cc73770327acc4cb3a DIFF: https://github.com/llvm/llvm-project/commit/a6150b48cea00ab31e9335cc73770327acc4cb3a.diff

[clang] 825235c - Revert "[Sema] Use the canonical type in function isVector"

2019-11-22 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2019-11-22T13:48:39-08:00 New Revision: 825235c140e7747f686bd7902cb0f9af77590841 URL: https://github.com/llvm/llvm-project/commit/825235c140e7747f686bd7902cb0f9af77590841 DIFF: https://github.com/llvm/llvm-project/commit/825235c140e7747f686bd7902cb0f9af77590841.diff

[clang] d8136f1 - [CodeGen][ObjC] Emit a primitive store to store a __strong field in

2019-12-03 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2019-12-03T23:44:30-08:00 New Revision: d8136f14f125fb27f2326f397df0964bf62078ca URL: https://github.com/llvm/llvm-project/commit/d8136f14f125fb27f2326f397df0964bf62078ca DIFF: https://github.com/llvm/llvm-project/commit/d8136f14f125fb27f2326f397df0964bf62078ca.diff

[clang-tools-extra] a7bdab2 - [clang-tidy] Pass -faligned-allocation on the compiler command line to

2019-12-06 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2019-12-06T12:29:21-08:00 New Revision: a7bdab2e9d59ba0fdf06390f4ddadfd00fe50f2e URL: https://github.com/llvm/llvm-project/commit/a7bdab2e9d59ba0fdf06390f4ddadfd00fe50f2e DIFF: https://github.com/llvm/llvm-project/commit/a7bdab2e9d59ba0fdf06390f4ddadfd00fe50f2e.diff

[clang] 7292c28 - Fix an error in the block ABI documentation sample code

2019-12-11 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2019-12-11T23:18:32-08:00 New Revision: 7292c2823063fdb9e2200ef7e4571d4f2443e6ca URL: https://github.com/llvm/llvm-project/commit/7292c2823063fdb9e2200ef7e4571d4f2443e6ca DIFF: https://github.com/llvm/llvm-project/commit/7292c2823063fdb9e2200ef7e4571d4f2443e6ca.diff

[clang] a0a6706 - Call objc_retainBlock before passing a block as a variadic argument

2019-12-13 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2019-12-13T13:10:07-08:00 New Revision: a0a670614a36f1686c5086033bef85800128cf66 URL: https://github.com/llvm/llvm-project/commit/a0a670614a36f1686c5086033bef85800128cf66 DIFF: https://github.com/llvm/llvm-project/commit/a0a670614a36f1686c5086033bef85800128cf66.diff

[clang] a6d57a8 - Use hasOffsetApplied to initialize member HasOffsetApplied

2019-12-18 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2019-12-18T13:56:59-08:00 New Revision: a6d57a8cd4cfa2a8395eaa6599fc12f7509f98f0 URL: https://github.com/llvm/llvm-project/commit/a6d57a8cd4cfa2a8395eaa6599fc12f7509f98f0 DIFF: https://github.com/llvm/llvm-project/commit/a6d57a8cd4cfa2a8395eaa6599fc12f7509f98f0.diff

[clang] e4dfc9f - Fix the type of the capture passed to LambdaIntroducer::addCapture in

2020-03-09 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2020-03-09T12:25:28-07:00 New Revision: e4dfc9f5bda3171e159f2ff62390c8795d9497e7 URL: https://github.com/llvm/llvm-project/commit/e4dfc9f5bda3171e159f2ff62390c8795d9497e7 DIFF: https://github.com/llvm/llvm-project/commit/e4dfc9f5bda3171e159f2ff62390c8795d9497e7.diff

[clang] 40568fe - [CodeGen] Emit destructor calls to destruct compound literals

2020-03-10 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2020-03-10T14:08:28-07:00 New Revision: 40568fec7e3eb51554cbdaf63a8044830be93fa4 URL: https://github.com/llvm/llvm-project/commit/40568fec7e3eb51554cbdaf63a8044830be93fa4 DIFF: https://github.com/llvm/llvm-project/commit/40568fec7e3eb51554cbdaf63a8044830be93fa4.diff

[clang] 37fa9d6 - [CodeGen][ObjC] Don't extend lifetime of ObjC pointers passed to calls

2020-03-10 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2020-03-10T22:10:32-07:00 New Revision: 37fa9d65eaa7d8fae7e5b787c4e8ef0a982cead5 URL: https://github.com/llvm/llvm-project/commit/37fa9d65eaa7d8fae7e5b787c4e8ef0a982cead5 DIFF: https://github.com/llvm/llvm-project/commit/37fa9d65eaa7d8fae7e5b787c4e8ef0a982cead5.diff

[clang] 86bba6c - [Sema] Use the canonical type in function isVector

2020-03-13 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2020-03-13T13:08:48-07:00 New Revision: 86bba6c6410c31e669b10f182c6d1a03f704555a URL: https://github.com/llvm/llvm-project/commit/86bba6c6410c31e669b10f182c6d1a03f704555a DIFF: https://github.com/llvm/llvm-project/commit/86bba6c6410c31e669b10f182c6d1a03f704555a.diff

r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-03-27 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Tue Mar 27 17:12:08 2018 New Revision: 328680 URL: http://llvm.org/viewvc/llvm-project?rev=328680&view=rev Log: [ObjC] Make C++ triviality type traits available to non-trivial C structs. r326307 and r327870 made changes that allowed using non-trivial C structs with fields q

r328731 - [ObjC++] Make parameter passing and function return compatible with ObjC

2018-03-28 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Wed Mar 28 14:13:14 2018 New Revision: 328731 URL: http://llvm.org/viewvc/llvm-project?rev=328731&view=rev Log: [ObjC++] Make parameter passing and function return compatible with ObjC ObjC and ObjC++ pass non-trivial structs in a way that is incompatible with each othe

r329128 - [ObjC] Use the name specified by objc_runtime_name instead of the class

2018-04-03 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Tue Apr 3 15:50:16 2018 New Revision: 329128 URL: http://llvm.org/viewvc/llvm-project?rev=329128&view=rev Log: [ObjC] Use the name specified by objc_runtime_name instead of the class identifier. This patch fixes a few places in CGObjCMac.cpp where the class identifier was

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-04 Thread Akira Hatanaka via cfe-commits
_is_* traits (is_trivially_copy_constructible, etc.) are templates defined in libcxx, so it seems that we can’t use them when compiling in C mode. Is it OK to add their definitions to TokenKinds.def as non-C++ keywords? > On 27 March 2018 at 17:12, Akira Hatanaka via cfe-commits > mailto:cfe-

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-04 Thread Akira Hatanaka via cfe-commits
> On Apr 4, 2018, at 4:24 PM, Akira Hatanaka via cfe-commits > wrote: > >> >> On Apr 4, 2018, at 3:38 PM, Richard Smith > <mailto:rich...@metafoo.co.uk>> wrote: >> >> Hi Akira, >> >> This change has broken the C++ versions of thes

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-04 Thread Akira Hatanaka via cfe-commits
> On Apr 4, 2018, at 4:47 PM, Richard Smith wrote: > > On 4 April 2018 at 16:24, Akira Hatanaka via cfe-commits > mailto:cfe-commits@lists.llvm.org>> wrote: > >> On Apr 4, 2018, at 3:38 PM, Richard Smith > <mailto:rich...@metafoo.co.uk>> wrote: >>

r329289 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-05 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Thu Apr 5 07:39:57 2018 New Revision: 329289 URL: http://llvm.org/viewvc/llvm-project?rev=329289&view=rev Log: [ObjC] Make C++ triviality type traits available to non-trivial C structs. r326307 and r327870 made changes that allowed using non-trivial C structs with fields q

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-05 Thread Akira Hatanaka via cfe-commits
> On Apr 4, 2018, at 5:38 PM, Richard Smith wrote: > > On 4 April 2018 at 16:57, Akira Hatanaka via cfe-commits > mailto:cfe-commits@lists.llvm.org>> wrote: > >> On Apr 4, 2018, at 4:47 PM, Richard Smith > <mailto:rich...@metafoo.co.uk>> wrote: >>

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-05 Thread Akira Hatanaka via cfe-commits
> On Apr 5, 2018, at 12:39 PM, John McCall wrote: > > > >> On Apr 4, 2018, at 7:37 PM, Akira Hatanaka > <mailto:ahatan...@apple.com>> wrote: >> >> >> >>> On Apr 4, 2018, at 4:24 PM, Akira Hatanaka via cfe-commits >>> m

r329608 - Revert "[ObjC] Make C++ triviality type traits available to non-trivial C"

2018-04-09 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Mon Apr 9 12:39:27 2018 New Revision: 329608 URL: http://llvm.org/viewvc/llvm-project?rev=329608&view=rev Log: Revert "[ObjC] Make C++ triviality type traits available to non-trivial C" This reverts commit r329289. It was decided that we shouldn't expose the __has_* trait

Re: r328680 - [ObjC] Make C++ triviality type traits available to non-trivial C

2018-04-09 Thread Akira Hatanaka via cfe-commits
;> wrote: >>> >>> >>> >>>> On Apr 4, 2018, at 7:37 PM, Akira Hatanaka >>> <mailto:ahatan...@apple.com>> wrote: >>>> >>>> >>>> >>>>> On Apr 4, 2018, at 4:24 PM, Akira Hatanaka

r329617 - [ObjC++] Never pass structs that transitively contain __weak fields in

2018-04-09 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Mon Apr 9 13:39:47 2018 New Revision: 329617 URL: http://llvm.org/viewvc/llvm-project?rev=329617&view=rev Log: [ObjC++] Never pass structs that transitively contain __weak fields in registers. This patch fixes a bug in r328731 that caused structs transitively containing __

r329627 - Revert "[ObjC++] Never pass structs that transitively contain __weak fields in"

2018-04-09 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Mon Apr 9 14:47:58 2018 New Revision: 329627 URL: http://llvm.org/viewvc/llvm-project?rev=329627&view=rev Log: Revert "[ObjC++] Never pass structs that transitively contain __weak fields in" This reverts commit r329617. It broke a windows bot. http://lab.llvm.org:8011/bui

r329635 - [ObjC++] Never pass structs that transitively contain __weak fields in

2018-04-09 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Mon Apr 9 15:48:22 2018 New Revision: 329635 URL: http://llvm.org/viewvc/llvm-project?rev=329635&view=rev Log: [ObjC++] Never pass structs that transitively contain __weak fields in registers. This patch fixes a bug in r328731 that caused structs transitively containing __

Re: r329617 - [ObjC++] Never pass structs that transitively contain __weak fields in

2018-04-09 Thread Akira Hatanaka via cfe-commits
t-cxx-abi.mm/> > Clang :: SemaObjCXX/attr-trivial-abi.mm <http://attr-trivial-abi.mm/> > . . . > Please have a look? > > The builder was red and did not send notifications. > > Thanks > > Galina > > On Mon, Apr 9, 2018 at 1:39 PM, Akira Hatanaka via c

Re: r329652 - [AST] Attempt to fix buildbot warnings + appease MSVC; NFCI

2018-04-09 Thread Akira Hatanaka via cfe-commits
Thanks! > On Apr 9, 2018, at 6:11 PM, George Burgess IV via cfe-commits > wrote: > > Author: gbiv > Date: Mon Apr 9 18:11:26 2018 > New Revision: 329652 > > URL: http://llvm.org/viewvc/llvm-project?rev=329652&view=rev > Log: > [AST] Attempt to fix buildbot warnings + appease MSVC; NFCI > > G

r329671 - [ExprConstant] Use an AST node and a version number as a key to create

2018-04-09 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Mon Apr 9 22:15:01 2018 New Revision: 329671 URL: http://llvm.org/viewvc/llvm-project?rev=329671&view=rev Log: [ExprConstant] Use an AST node and a version number as a key to create an APValue and retrieve it from map Temporaries. The version number is needed when a single

[clang] 2ba8844 - Fix an assertion failure in unwrapSugar

2023-04-12 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-04-12T16:45:56-07:00 New Revision: 2ba88443b31a437a3e80ac4bb6d8ca1675828d1b URL: https://github.com/llvm/llvm-project/commit/2ba88443b31a437a3e80ac4bb6d8ca1675828d1b DIFF: https://github.com/llvm/llvm-project/commit/2ba88443b31a437a3e80ac4bb6d8ca1675828d1b.diff

[clang] 6796053 - [CodeGen] Fix the type of the constant that is used to zero-initialize a

2023-05-23 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-05-23T16:32:27-07:00 New Revision: 6796053723a68b99149737439856e6da25953975 URL: https://github.com/llvm/llvm-project/commit/6796053723a68b99149737439856e6da25953975 DIFF: https://github.com/llvm/llvm-project/commit/6796053723a68b99149737439856e6da25953975.diff

[clang] 57865bc - [CodeGen] Add a flag to `Address` and `Lvalue` that is used to keep

2023-02-15 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-02-15T10:15:13-08:00 New Revision: 57865bc5ad277166507d9e9fbb5205be86caa73a URL: https://github.com/llvm/llvm-project/commit/57865bc5ad277166507d9e9fbb5205be86caa73a DIFF: https://github.com/llvm/llvm-project/commit/57865bc5ad277166507d9e9fbb5205be86caa73a.diff

[clang] cda4a0e - [Sema] Relax a failing assertion in TransformBlockExpr

2023-02-16 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-02-16T18:40:26-08:00 New Revision: cda4a0e918b591be9ae0732f7df07678efb75047 URL: https://github.com/llvm/llvm-project/commit/cda4a0e918b591be9ae0732f7df07678efb75047 DIFF: https://github.com/llvm/llvm-project/commit/cda4a0e918b591be9ae0732f7df07678efb75047.diff

[clang] e419e22 - [CodeGen] Stop storing alignment information into pointers in Address

2023-02-24 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-02-24T10:33:10-08:00 New Revision: e419e22ff6fdff97191d132555ded7811c3f5b05 URL: https://github.com/llvm/llvm-project/commit/e419e22ff6fdff97191d132555ded7811c3f5b05 DIFF: https://github.com/llvm/llvm-project/commit/e419e22ff6fdff97191d132555ded7811c3f5b05.diff

[clang] 644917b - Remove unnecessary metadata check in test

2023-06-09 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-06-09T06:41:22-07:00 New Revision: 644917bb7c05d330b3dfa75ccd50414f9b9cd8ee URL: https://github.com/llvm/llvm-project/commit/644917bb7c05d330b3dfa75ccd50414f9b9cd8ee DIFF: https://github.com/llvm/llvm-project/commit/644917bb7c05d330b3dfa75ccd50414f9b9cd8ee.diff

[clang] de3c01b - Fix regex in test case so that it doesn't match "coverage" in directory

2023-06-09 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2023-06-09T14:20:17-07:00 New Revision: de3c01b06fe5854d2bf72c516e63eaa294e75fd2 URL: https://github.com/llvm/llvm-project/commit/de3c01b06fe5854d2bf72c516e63eaa294e75fd2 DIFF: https://github.com/llvm/llvm-project/commit/de3c01b06fe5854d2bf72c516e63eaa294e75fd2.diff

[clang] 3738ce0 - Add support for a backdoor driver option that enables emitting header

2022-12-07 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-12-07T15:30:19-08:00 New Revision: 3738ce05a70cf97fc73a07b158a1726f61aed28b URL: https://github.com/llvm/llvm-project/commit/3738ce05a70cf97fc73a07b158a1726f61aed28b DIFF: https://github.com/llvm/llvm-project/commit/3738ce05a70cf97fc73a07b158a1726f61aed28b.diff

[clang] abc87ad - Remove slash in check string to fix the test that is failng on windows

2022-12-07 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-12-07T16:17:29-08:00 New Revision: abc87ad4ed6cc5e6568751f375d1c646edb502f7 URL: https://github.com/llvm/llvm-project/commit/abc87ad4ed6cc5e6568751f375d1c646edb502f7 DIFF: https://github.com/llvm/llvm-project/commit/abc87ad4ed6cc5e6568751f375d1c646edb502f7.diff

[clang] 46b9d57 - Return early if FileID is invalid. NFC

2022-12-14 Thread Akira Hatanaka via cfe-commits
Author: Akira Hatanaka Date: 2022-12-14T21:28:31-08:00 New Revision: 46b9d57976517f61d7478104cc95946d1bc03bf0 URL: https://github.com/llvm/llvm-project/commit/46b9d57976517f61d7478104cc95946d1bc03bf0 DIFF: https://github.com/llvm/llvm-project/commit/46b9d57976517f61d7478104cc95946d1bc03bf0.diff

r289914 - [Sema] Fix handling of enumerators used as default arguments of lambda

2016-12-15 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Thu Dec 15 21:19:41 2016 New Revision: 289914 URL: http://llvm.org/viewvc/llvm-project?rev=289914&view=rev Log: [Sema] Fix handling of enumerators used as default arguments of lambda expressions in a function or class template. This patch makes the following changes: - Cre

r289919 - Remove "-disable-llvm-optzns -verify" from the RUN line.

2016-12-15 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Thu Dec 15 22:18:53 2016 New Revision: 289919 URL: http://llvm.org/viewvc/llvm-project?rev=289919&view=rev Log: Remove "-disable-llvm-optzns -verify" from the RUN line. Modified: cfe/trunk/test/SemaTemplate/default-expr-arguments-3.cpp Modified: cfe/trunk/test/SemaTemp

Re: r289919 - Remove "-disable-llvm-optzns -verify" from the RUN line.

2016-12-15 Thread Akira Hatanaka via cfe-commits
ttp://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel/builds/493 > <http://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel/builds/493> eg) > > On Thu, Dec 15, 2016 at 11:18 PM, Akira Hatanaka via cfe-commits > mailto:cfe-commits@lists.llvm.org>> wrote: > A

Re: r289919 - Remove "-disable-llvm-optzns -verify" from the RUN line.

2016-12-15 Thread Akira Hatanaka via cfe-commits
org>> wrote: >> Are you aware that this is still failing on all the bots? >> (http://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel/builds/493 >> <http://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel/builds/493> eg) >> >> On Thu, Dec 15, 2016 at 11:

Re: r289919 - Remove "-disable-llvm-optzns -verify" from the RUN line.

2016-12-15 Thread Akira Hatanaka via cfe-commits
l failing on all the bots? > (http://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel/builds/493 > <http://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel/builds/493> eg) > > On Thu, Dec 15, 2016 at 11:18 PM, Akira Hatanaka via cfe-commits > mailto:cfe-commits@list

Re: r289919 - Remove "-disable-llvm-optzns -verify" from the RUN line.

2016-12-15 Thread Akira Hatanaka via cfe-commits
Your commit seemed to have fixed the bot. Thanks! I’m going to wait until all the other bots are green again and then fix the test case later. > On Dec 15, 2016, at 9:45 PM, Akira Hatanaka via cfe-commits > wrote: > > It looks like it failed again. I’m still looking. > >

r289986 - Remove the temporary fix to the RUN line that was committed in r289924.

2016-12-16 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Fri Dec 16 14:25:11 2016 New Revision: 289986 URL: http://llvm.org/viewvc/llvm-project?rev=289986&view=rev Log: Remove the temporary fix to the RUN line that was committed in r289924. Also, dump the AST and run FileCheck to make sure the expected nodes are created in the AS

r289990 - [Sema] Transform the default arguments of a lambda expression when the

2016-12-16 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Fri Dec 16 15:16:57 2016 New Revision: 289990 URL: http://llvm.org/viewvc/llvm-project?rev=289990&view=rev Log: [Sema] Transform the default arguments of a lambda expression when the lambda expression is instantiated. Rather than waiting until Sema::CheckCXXDefaultArgExpr t

r290156 - [Parser] Correct typo after lambda capture initializer is parsed.

2016-12-19 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Mon Dec 19 20:11:29 2016 New Revision: 290156 URL: http://llvm.org/viewvc/llvm-project?rev=290156&view=rev Log: [Parser] Correct typo after lambda capture initializer is parsed. This patch fixes an assertion that is triggered when RecordLayoutBuilder tries to compute the si

r291253 - Make ASTContext::getDeclAlign return the correct alignment for

2017-01-06 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Fri Jan 6 11:56:15 2017 New Revision: 291253 URL: http://llvm.org/viewvc/llvm-project?rev=291253&view=rev Log: Make ASTContext::getDeclAlign return the correct alignment for FunctionDecls. This commit silences an incorrect warning that is issued when a function pointer is

Re: Patch for Bug 22877

2017-01-09 Thread Akira Hatanaka via cfe-commits
Perhaps you can check more explicitly that the destructor is called inside the loop? // CHECK: [[regex for LOOP_BODY]]: // CHECK: call void @_ZN3fooC1Ev // CHECK-NOT: br // CHECK: call void @_ZN3barC1E3foo // CHECK-NOT: br // CHECK: call void @_ZN3fooD1Ev // CHECK: br [[LOOP_BODY]] > On Jan 8, 2

Re: [PATCH] D23096: [Sema] Pass CombineWithOuterScope = true to constructor of LocalInstantiationScope

2016-08-15 Thread Akira Hatanaka via cfe-commits
ahatanak updated this revision to Diff 68078. ahatanak added a comment. Fix Sema::getTemplateInstantiationArgs to return the template instantiation args when variable templates are being instantiated. https://reviews.llvm.org/D23096 Files: include/clang/Sema/Sema.h lib/Sema/SemaTemplate.cp

Re: [PATCH] D22794: [Sema] Propagate nullability when deducing type of auto

2016-08-16 Thread Akira Hatanaka via cfe-commits
ahatanak added a comment. I didn't think of this case, but no, it isn't a good idea. We shouldn't issue a warning unless we know the returned pointer is nullable. Comment at: lib/Sema/SemaDecl.cpp:9739 @@ +9738,3 @@ + DeducedType = DeducedType.setNullability( + In

Re: [PATCH] D22929: [CodeGen][ObjC] Fix infinite recursion in getObjCEncodingForTypeImpl

2016-08-16 Thread Akira Hatanaka via cfe-commits
ahatanak added inline comments. Comment at: test/CodeGenObjCXX/encode.mm:231 @@ +230,3 @@ +struct S { + typedef T Ty; + Ty *t; manmanren wrote: > I wonder if we can further reduce the testing case. Is this necessary to > cause the infinite recursion? Yes. If I

<    1   2   3   4   5   6   7   8   9   10   >