[clang-tools-extra] r347570 - [clang-tidy] Improving narrowing conversions

2018-11-26 Thread Guillaume Chatelet via cfe-commits
Author: gchatelet Date: Mon Nov 26 08:25:55 2018 New Revision: 347570 URL: http://llvm.org/viewvc/llvm-project?rev=347570&view=rev Log: [clang-tidy] Improving narrowing conversions Summary: Newly flagged narrowing conversions: - integer to narrower signed integer (this is compiler implementation

r371742 - [Alignment] Move OffsetToAlignment to Alignment.h

2019-09-12 Thread Guillaume Chatelet via cfe-commits
Author: gchatelet Date: Thu Sep 12 08:20:36 2019 New Revision: 371742 URL: http://llvm.org/viewvc/llvm-project?rev=371742&view=rev Log: [Alignment] Move OffsetToAlignment to Alignment.h Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context: http:/

r372562 - [Alignment] fix build

2019-09-23 Thread Guillaume Chatelet via cfe-commits
Author: gchatelet Date: Mon Sep 23 02:04:12 2019 New Revision: 372562 URL: http://llvm.org/viewvc/llvm-project?rev=372562&view=rev Log: [Alignment] fix build Modified: cfe/trunk/lib/CodeGen/CGCall.cpp Modified: cfe/trunk/lib/CodeGen/CGCall.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/tr

r373195 - [Alignment][NFC] Remove LoadInst::setAlignment(unsigned)

2019-09-30 Thread Guillaume Chatelet via cfe-commits
Author: gchatelet Date: Mon Sep 30 02:37:05 2019 New Revision: 373195 URL: http://llvm.org/viewvc/llvm-project?rev=373195&view=rev Log: [Alignment][NFC] Remove LoadInst::setAlignment(unsigned) Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context:

r373207 - [Alignment][NFC] Remove AllocaInst::setAlignment(unsigned)

2019-09-30 Thread Guillaume Chatelet via cfe-commits
Author: gchatelet Date: Mon Sep 30 06:34:44 2019 New Revision: 373207 URL: http://llvm.org/viewvc/llvm-project?rev=373207&view=rev Log: [Alignment][NFC] Remove AllocaInst::setAlignment(unsigned) Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context

r373592 - [Alignment][Clang][NFC] Add CharUnits::getAsAlign

2019-10-03 Thread Guillaume Chatelet via cfe-commits
Author: gchatelet Date: Thu Oct 3 06:00:29 2019 New Revision: 373592 URL: http://llvm.org/viewvc/llvm-project?rev=373592&view=rev Log: [Alignment][Clang][NFC] Add CharUnits::getAsAlign Summary: This is a prerequisite to removing `llvm::GlobalObject::setAlignment(unsigned)`. This is patch is part

r373595 - [Alignment][NFC] Remove StoreInst::setAlignment(unsigned)

2019-10-03 Thread Guillaume Chatelet via cfe-commits
Author: gchatelet Date: Thu Oct 3 06:17:21 2019 New Revision: 373595 URL: http://llvm.org/viewvc/llvm-project?rev=373595&view=rev Log: [Alignment][NFC] Remove StoreInst::setAlignment(unsigned) Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context:

r374884 - [Alignment] Migrate Attribute::getWith(Stack)Alignment

2019-10-15 Thread Guillaume Chatelet via cfe-commits
Author: gchatelet Date: Tue Oct 15 05:56:24 2019 New Revision: 374884 URL: http://llvm.org/viewvc/llvm-project?rev=374884&view=rev Log: [Alignment] Migrate Attribute::getWith(Stack)Alignment Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context: h

[clang] bd87916 - [clang] Add no_builtin attribute

2019-10-28 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2019-10-28T17:30:11+01:00 New Revision: bd87916109483d33455cbf20da2309197b983cdd URL: https://github.com/llvm/llvm-project/commit/bd87916109483d33455cbf20da2309197b983cdd DIFF: https://github.com/llvm/llvm-project/commit/bd87916109483d33455cbf20da2309197b983cdd.

Re: [clang] bd87916 - [clang] Add no_builtin attribute

2019-10-29 Thread Guillaume Chatelet via cfe-commits
ere > http://lab.llvm.org:8014/builders/sanitizer-x86_64-linux-fast/builds/126/steps/check-clang%20msan/logs/stdio > > On Mon, Oct 28, 2019 at 9:30 AM Guillaume Chatelet via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> >> Author: Guilla

Re: [clang] bd87916 - [clang] Add no_builtin attribute

2019-10-29 Thread Guillaume Chatelet via cfe-commits
ng ASan/MSan failures in >> check-clang, e.g. take a look at the bottom 2 failures here: >> http://lab.llvm.org:8014/builders/sanitizer-x86_64-linux-bootstrap/builds/124/steps/check-clang%20asan/logs/stdio >> or >> here >> http://lab.llvm.org:8014/builders/sanit

[clang] 98f3151 - [clang] Add no_builtin attribute

2019-10-29 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2019-10-29T15:50:29+01:00 New Revision: 98f3151a7dded8838fafcb5f46e6c8358def96b8 URL: https://github.com/llvm/llvm-project/commit/98f3151a7dded8838fafcb5f46e6c8358def96b8 DIFF: https://github.com/llvm/llvm-project/commit/98f3151a7dded8838fafcb5f46e6c8358def96b8.

[clang] 5607ff1 - Fix missing memcpy builtin on ppc64be

2019-10-29 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2019-10-29T16:35:32+01:00 New Revision: 5607ff12fad9a54728a3cda0eacaffee02e4b434 URL: https://github.com/llvm/llvm-project/commit/5607ff12fad9a54728a3cda0eacaffee02e4b434 DIFF: https://github.com/llvm/llvm-project/commit/5607ff12fad9a54728a3cda0eacaffee02e4b434.

[clang] 1c85a2e - isBuiltinFunc() uses StringRef instead of const char*

2019-10-29 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2019-10-29T17:36:55+01:00 New Revision: 1c85a2e8dc7e76761d301f9a35374e0aafc757ec URL: https://github.com/llvm/llvm-project/commit/1c85a2e8dc7e76761d301f9a35374e0aafc757ec DIFF: https://github.com/llvm/llvm-project/commit/1c85a2e8dc7e76761d301f9a35374e0aafc757ec.

[clang] 12c8e36 - [Clang][Sema] Use of incorrect __has_feature vs __has_builtin

2020-06-18 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2020-06-18T09:00:12Z New Revision: 12c8e3632edda3bc640867ba326b52b5b2220a57 URL: https://github.com/llvm/llvm-project/commit/12c8e3632edda3bc640867ba326b52b5b2220a57 DIFF: https://github.com/llvm/llvm-project/commit/12c8e3632edda3bc640867ba326b52b5b2220a57.diff

[clang] [libc] [clang-tools-extra] [flang] [compiler-rt] [llvm] [libc][NFC] Remove __support/bit.h and use __support/CPP/bit.h instead (PR #73939)

2023-12-05 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/73939 >From 651cdece9397cf643cfafef7c65f4b8f44148d29 Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Thu, 30 Nov 2023 13:53:28 + Subject: [PATCH 1/3] [libc][NFC] Remove __support/bit.h and use __support/

[clang] [libc] [clang-tools-extra] [flang] [compiler-rt] [llvm] [libc][NFC] Remove __support/bit.h and use __support/CPP/bit.h instead (PR #73939)

2023-12-05 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet closed https://github.com/llvm/llvm-project/pull/73939 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [mlir] [llvm][TypeSize] Fix addition/subtraction in TypeSize. (PR #72979)

2023-11-21 Thread Guillaume Chatelet via cfe-commits
gchatelet wrote: The static functions renaming is going to produce a lot of noise but I guess this is too late already... Shall we revert to keep the change minimal? @nikic @paulwalker-arm WDYT ? https://github.com/llvm/llvm-project/pull/72979 ___ cf

[clang] [mlir] [llvm] [llvm][TypeSize] Fix addition/subtraction in TypeSize. (PR #72979)

2023-11-21 Thread Guillaume Chatelet via cfe-commits
gchatelet wrote: > > The static functions renaming is going to produce a lot of noise but I > > guess this is too late already... Shall we revert to keep the change > > minimal? @nikic @paulwalker-arm WDYT ? > > For my money the functions were originally named correctly and then > erroneously

[mlir] [clang] [llvm] [llvm][TypeSize] Fix addition/subtraction in TypeSize. (PR #72979)

2023-11-21 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet approved this pull request. https://github.com/llvm/llvm-project/pull/72979 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[flang] [lldb] [libc] [clang] [clang-tools-extra] [libcxxabi] [llvm] [compiler-rt] [libcxx] [libunwind] [lld] [libc] Add more functions in CPP/bit.h (PR #73814)

2023-11-30 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/73814 >From bdd0a0855c0dd98c93977db6982e480ab270b3cd Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Wed, 29 Nov 2023 16:29:12 + Subject: [PATCH 1/7] [libc] Add more functions in CPP/bit.h --- libc/src/

[compiler-rt] [llvm] [libcxxabi] [clang-tools-extra] [clang] [libunwind] [libc] [flang] [lldb] [libcxx] [lld] [libc] Add more functions in CPP/bit.h (PR #73814)

2023-11-30 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/73814 >From bdd0a0855c0dd98c93977db6982e480ab270b3cd Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Wed, 29 Nov 2023 16:29:12 + Subject: [PATCH 1/8] [libc] Add more functions in CPP/bit.h --- libc/src/

[compiler-rt] [llvm] [libcxxabi] [clang-tools-extra] [clang] [libunwind] [libc] [flang] [lldb] [libcxx] [lld] [libc] Add more functions in CPP/bit.h (PR #73814)

2023-11-30 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet closed https://github.com/llvm/llvm-project/pull/73814 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [libc] [llvm] [libc] Fix buggy AVX2 / AVX512 `memcmp` (PR #77081)

2024-01-11 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/77081 >From fb8dbd55aacb3a25678b8092a11dd4e562857344 Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 5 Jan 2024 11:01:30 + Subject: [PATCH 1/6] [libc] Fix buggy AVX2 `memcmp` Fixes 77080. --- libc/

[clang] [clang-tools-extra] [llvm] [libc] [libc] Fix buggy AVX2 / AVX512 `memcmp` (PR #77081)

2024-01-11 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet closed https://github.com/llvm/llvm-project/pull/77081 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4b3a27e - Add validation for number of arguments of __builtin_memcpy_inline

2022-03-18 Thread Guillaume Chatelet via cfe-commits
Author: Roy Jacobson Date: 2022-03-18T14:03:25Z New Revision: 4b3a27e2e026f9be703c1bdcb396c10559a87347 URL: https://github.com/llvm/llvm-project/commit/4b3a27e2e026f9be703c1bdcb396c10559a87347 DIFF: https://github.com/llvm/llvm-project/commit/4b3a27e2e026f9be703c1bdcb396c10559a87347.diff LOG:

[compiler-rt] [libc] [llvm] [clang-tools-extra] [clang] [libc] `FPRep` builders return `FPRep` instead of raw `StorageType` (PR #78588)

2024-01-22 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/78588 >From 49ba96c8aa51fb56a5bf96a1e97fef48bcc42f09 Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Thu, 18 Jan 2024 14:42:54 + Subject: [PATCH 1/3] [libc] `FPRep` builders return `FPRep` instead of raw

[compiler-rt] [libc] [llvm] [clang-tools-extra] [clang] [libc] `FPRep` builders return `FPRep` instead of raw `StorageType` (PR #78588)

2024-01-22 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet closed https://github.com/llvm/llvm-project/pull/78588 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] e38be70 - [Clang] Clarify __builtin_memcpy_inline documentation

2020-09-11 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2020-09-11T07:20:39Z New Revision: e38be7091ee3d00430652aaa7b66ba3fc8394916 URL: https://github.com/llvm/llvm-project/commit/e38be7091ee3d00430652aaa7b66ba3fc8394916 DIFF: https://github.com/llvm/llvm-project/commit/e38be7091ee3d00430652aaa7b66ba3fc8394916.diff

[clang] 05d02e5 - Fix invalid link format in Clang LanguageExtension

2020-09-10 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2020-09-10T12:27:50Z New Revision: 05d02e5a4e54a04f050b52ee30d1860073bd8b34 URL: https://github.com/llvm/llvm-project/commit/05d02e5a4e54a04f050b52ee30d1860073bd8b34 DIFF: https://github.com/llvm/llvm-project/commit/05d02e5a4e54a04f050b52ee30d1860073bd8b34.diff

[clang-tools-extra] 89c41c3 - [clang-tidy] Allow disabling integer narrowing conversions for cppcoreguidelines-narrowing-conversions

2021-06-10 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2021-06-10T12:41:57Z New Revision: 89c41c335dac288d991d1e99ad19493bc89439e4 URL: https://github.com/llvm/llvm-project/commit/89c41c335dac288d991d1e99ad19493bc89439e4 DIFF: https://github.com/llvm/llvm-project/commit/89c41c335dac288d991d1e99ad19493bc89439e4.diff

[clang] 6916ebd - [clang][NFC] Use the TypeSize::getXXXValue() instead of TypeSize::getXXXSize)

2023-01-11 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2023-01-11T16:07:48Z New Revision: 6916ebd026500061462917666a0e0d228ed52681 URL: https://github.com/llvm/llvm-project/commit/6916ebd026500061462917666a0e0d228ed52681 DIFF: https://github.com/llvm/llvm-project/commit/6916ebd026500061462917666a0e0d228ed52681.diff

[clang] eaa1f46 - [clang][NFC] Remove dependency on DataLayout::getPrefTypeAlignment

2023-01-13 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2023-01-13T13:19:19Z New Revision: eaa1f46f11f523104be54de058e812c9d7059819 URL: https://github.com/llvm/llvm-project/commit/eaa1f46f11f523104be54de058e812c9d7059819 DIFF: https://github.com/llvm/llvm-project/commit/eaa1f46f11f523104be54de058e812c9d7059819.diff

[clang] bf5c17e - [clang][NFC] Remove dependency on DataLayout::getPrefTypeAlignment

2023-01-13 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2023-01-13T15:01:29Z New Revision: bf5c17ed0f402f603782d28264dab1157994c43d URL: https://github.com/llvm/llvm-project/commit/bf5c17ed0f402f603782d28264dab1157994c43d DIFF: https://github.com/llvm/llvm-project/commit/bf5c17ed0f402f603782d28264dab1157994c43d.diff

[clang] d9b8d13 - [NFC][Alignment] Use MaybeAlign in CGCleanup/CGExpr

2022-06-14 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2022-06-14T10:56:36Z New Revision: d9b8d13f8b58086e2c8d5c59be6f79222a07931e URL: https://github.com/llvm/llvm-project/commit/d9b8d13f8b58086e2c8d5c59be6f79222a07931e DIFF: https://github.com/llvm/llvm-project/commit/d9b8d13f8b58086e2c8d5c59be6f79222a07931e.diff

[clang] c698189 - [NFC] Format CGBuilder.h

2022-06-03 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2022-06-03T07:54:01Z New Revision: c698189696d33e7304d94cd4212bd81818ea81a0 URL: https://github.com/llvm/llvm-project/commit/c698189696d33e7304d94cd4212bd81818ea81a0 DIFF: https://github.com/llvm/llvm-project/commit/c698189696d33e7304d94cd4212bd81818ea81a0.diff

[clang] d8b540c - Cleanup sema checking for buitlin_memcpy_inline

2022-06-07 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2022-06-07T09:49:36Z New Revision: d8b540cd312cf924b1904047b56cf8a1cea333f9 URL: https://github.com/llvm/llvm-project/commit/d8b540cd312cf924b1904047b56cf8a1cea333f9 DIFF: https://github.com/llvm/llvm-project/commit/d8b540cd312cf924b1904047b56cf8a1cea333f9.diff

[clang] 19647e5 - Fix change of variable name in test

2022-06-07 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2022-06-07T11:20:57Z New Revision: 19647e5b3b77b1c2089756e99abf88205d534ba4 URL: https://github.com/llvm/llvm-project/commit/19647e5b3b77b1c2089756e99abf88205d534ba4 DIFF: https://github.com/llvm/llvm-project/commit/19647e5b3b77b1c2089756e99abf88205d534ba4.diff

[clang] 38637ee - [clang] Add support for __builtin_memset_inline

2022-06-10 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2022-06-10T13:13:59Z New Revision: 38637ee477541370a90b37f149069d8e5c0c2efd URL: https://github.com/llvm/llvm-project/commit/38637ee477541370a90b37f149069d8e5c0c2efd DIFF: https://github.com/llvm/llvm-project/commit/38637ee477541370a90b37f149069d8e5c0c2efd.diff

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-21 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/66504 >From f1427a81c4a3425c1a574316fc26d2c74297b34b Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 15 Sep 2023 12:34:17 + Subject: [PATCH 1/4] [clang-tidy] Update llvmlibc-implementation-in-namespa

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-21 Thread Guillaume Chatelet via cfe-commits
@@ -30,15 +32,18 @@ void ImplementationInNamespaceCheck::check( return; if (const auto *NS = dyn_cast(MatchedDecl)) { -if (NS->getName() != RequiredNamespace) { - diag(NS->getLocation(), "'%0' needs to be the outermost namespace") - << RequiredNamespace

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-21 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/66504 >From f1427a81c4a3425c1a574316fc26d2c74297b34b Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 15 Sep 2023 12:34:17 + Subject: [PATCH 1/5] [clang-tidy] Update llvmlibc-implementation-in-namespa

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-21 Thread Guillaume Chatelet via cfe-commits
@@ -3,18 +3,18 @@ #define MACRO_A "defining macros outside namespace is valid" class ClassB; -// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: declaration must be declared within the '__llvm_libc' namespace +// CHECK-MESSAGES: :[[@LINE-1]]:7: warning: declaration must be declared

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-21 Thread Guillaume Chatelet via cfe-commits
@@ -30,15 +32,18 @@ void ImplementationInNamespaceCheck::check( return; gchatelet wrote: Done https://github.com/llvm/llvm-project/pull/66504 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.l

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-21 Thread Guillaume Chatelet via cfe-commits
gchatelet wrote: > As a single small change to make hardcoded namespaces configurable looks > fine. I added some comments related to overall issues in this check. Fell > free to fix them or ignore them. Thx for the review! I had to restructure the code a bit to accommodate for anonymous names

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-21 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/66504 >From f1427a81c4a3425c1a574316fc26d2c74297b34b Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 15 Sep 2023 12:34:17 + Subject: [PATCH 1/6] [clang-tidy] Update llvmlibc-implementation-in-namespa

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-21 Thread Guillaume Chatelet via cfe-commits
@@ -18,32 +18,32 @@ const static StringRef RequiredNamespaceStart = "__llvm_libc"; const static StringRef RequiredNamespaceMacroName = "LIBC_NAMESPACE"; void ImplementationInNamespaceCheck::registerMatchers(MatchFinder *Finder) { - Finder->addMatcher( - decl(hasParent(t

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-21 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet closed https://github.com/llvm/llvm-project/pull/66504 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][libc] Fix namespace check with macro (PR #68134)

2023-10-04 Thread Guillaume Chatelet via cfe-commits
gchatelet wrote: It would be ideal to move the [following lines]( https://github.com/llvm/llvm-project/blob/b3c710beda5b45dc18a5cbd74e141c1169971450/clang-tools-extra/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.cpp#L17-L18) to a shared header and use them in both implementations. https:

[clang-tools-extra] [clang-tidy][libc] Fix namespace check with macro (PR #68134)

2023-10-06 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet approved this pull request. https://github.com/llvm/llvm-project/pull/68134 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/65750: >From 5023264dce58aaa46b18404a4578b7a777962758 Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 8 Sep 2023 13:10:05 + Subject: [PATCH 1/4] [libc] add invoke / invoke_result type traits --- li

[clang-tools-extra] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/65750: >From 5023264dce58aaa46b18404a4578b7a777962758 Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 8 Sep 2023 13:10:05 + Subject: [PATCH 1/4] [libc] add invoke / invoke_result type traits --- li

[clang] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
@@ -0,0 +1,26 @@ +//===-- invoke_result type_traits ---*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet review_requested https://github.com/llvm/llvm-project/pull/65750 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
@@ -0,0 +1,26 @@ +//===-- invoke_result type_traits ---*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
@@ -0,0 +1,59 @@ +//===-- invoke type_traits --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang-tools-extra] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
@@ -0,0 +1,59 @@ +//===-- invoke type_traits --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[clang] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet edited https://github.com/llvm/llvm-project/pull/65750 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet edited https://github.com/llvm/llvm-project/pull/65750 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet resolved https://github.com/llvm/llvm-project/pull/65750 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-14 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet resolved https://github.com/llvm/llvm-project/pull/65750 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-15 Thread Guillaume Chatelet via cfe-commits
gchatelet wrote: Thx for the thorough review @legrosbuffle, I really appreciate it. https://github.com/llvm/llvm-project/pull/65750 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-15 Thread Guillaume Chatelet via cfe-commits
gchatelet wrote: Thx for the thorough review @legrosbuffle, I really appreciate it. https://github.com/llvm/llvm-project/pull/65750 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-15 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet closed https://github.com/llvm/llvm-project/pull/65750 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc] Add invoke / invoke_result type traits (PR #65750)

2023-09-15 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet closed https://github.com/llvm/llvm-project/pull/65750 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-15 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet created https://github.com/llvm/llvm-project/pull/66504 This is the implementation of step 3 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079. >From f1427a81c4a3425c1a574316fc26d2c742

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-18 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/66504 >From f1427a81c4a3425c1a574316fc26d2c74297b34b Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 15 Sep 2023 12:34:17 + Subject: [PATCH 1/2] [clang-tidy] Update llvmlibc-implementation-in-namespa

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-18 Thread Guillaume Chatelet via cfe-commits
gchatelet wrote: > Should this change be reflected in the Release Notes? Where would that be? `clang-tools-extra/docs/ReleaseNotes.rst`? I can't find what the current release notes look like for head. https://github.com/llvm/llvm-project/pull/66504 __

[clang-tools-extra] [clang-tidy] Update llvmlibc-implementation-in-namespace to new rules (PR #66504)

2023-09-18 Thread Guillaume Chatelet via cfe-commits
https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/66504 >From f1427a81c4a3425c1a574316fc26d2c74297b34b Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 15 Sep 2023 12:34:17 + Subject: [PATCH 1/3] [clang-tidy] Update llvmlibc-implementation-in-namespa

[clang] d260a10 - [clang] Fix crash during template sema checking

2020-03-21 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2020-03-21T12:42:06+01:00 New Revision: d260a10d98dff6e34d081e570df1f7c0a50b9a73 URL: https://github.com/llvm/llvm-project/commit/d260a10d98dff6e34d081e570df1f7c0a50b9a73 DIFF: https://github.com/llvm/llvm-project/commit/d260a10d98dff6e34d081e570df1f7c0a50b9a73.

[clang] 1b2842b - [Alignment][NFC] CreateMemSet use MaybeAlign

2019-12-10 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2019-12-10T15:17:44+01:00 New Revision: 1b2842bf902a8b52acbef2425120533b63be5ae3 URL: https://github.com/llvm/llvm-project/commit/1b2842bf902a8b52acbef2425120533b63be5ae3 DIFF: https://github.com/llvm/llvm-project/commit/1b2842bf902a8b52acbef2425120533b63be5ae3.

[clang] dbc5acf - [Alignment][NFC] Adding Align compatible methods to IntrinsicInst/IRBuilder

2019-12-12 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2019-12-12T16:22:15+01:00 New Revision: dbc5acf8ce8ae7b9adfa61e8133b50f2b82e4cde URL: https://github.com/llvm/llvm-project/commit/dbc5acf8ce8ae7b9adfa61e8133b50f2b82e4cde DIFF: https://github.com/llvm/llvm-project/commit/dbc5acf8ce8ae7b9adfa61e8133b50f2b82e4cde.

[clang] 0508c99 - [clang] Turn -fno-builtin flag into an IR Attribute

2019-12-12 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2019-12-12T17:21:12+01:00 New Revision: 0508c994f0b14144041f2cfd3ba9f9a80f03de08 URL: https://github.com/llvm/llvm-project/commit/0508c994f0b14144041f2cfd3ba9f9a80f03de08 DIFF: https://github.com/llvm/llvm-project/commit/0508c994f0b14144041f2cfd3ba9f9a80f03de08.

[clang] d65bbf8 - [clang] Add support for __builtin_memcpy_inline

2020-02-07 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2020-02-07T23:55:26+01:00 New Revision: d65bbf81f8be3ff806b86776cf95b001a4cf43ad URL: https://github.com/llvm/llvm-project/commit/d65bbf81f8be3ff806b86776cf95b001a4cf43ad DIFF: https://github.com/llvm/llvm-project/commit/d65bbf81f8be3ff806b86776cf95b001a4cf43ad.

[clang] bc8a1ab - [Alignment][NFC] Use Align with CreateMaskedLoad

2020-01-21 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2020-01-21T14:13:22+01:00 New Revision: bc8a1ab26fba5d5635467b9d0fd7ad9a0fd5bc6e URL: https://github.com/llvm/llvm-project/commit/bc8a1ab26fba5d5635467b9d0fd7ad9a0fd5bc6e DIFF: https://github.com/llvm/llvm-project/commit/bc8a1ab26fba5d5635467b9d0fd7ad9a0fd5bc6e.

[clang] 0957233 - [Alignment][NFC] Use Align with CreateMaskedStore

2020-01-22 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2020-01-22T11:04:39+01:00 New Revision: 0957233320eb0096bbb7665e0762a13bad1e7cb8 URL: https://github.com/llvm/llvm-project/commit/0957233320eb0096bbb7665e0762a13bad1e7cb8 DIFF: https://github.com/llvm/llvm-project/commit/0957233320eb0096bbb7665e0762a13bad1e7cb8.

[clang] 59f9522 - [Alignment][NFC] Use Align with CreateAlignedStore

2020-01-23 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2020-01-23T17:34:32+01:00 New Revision: 59f95222d4c5e997342b0514984823a99a16d44b URL: https://github.com/llvm/llvm-project/commit/59f95222d4c5e997342b0514984823a99a16d44b DIFF: https://github.com/llvm/llvm-project/commit/59f95222d4c5e997342b0514984823a99a16d44b.

[clang] 07c9d53 - [Alignment][NFC] Use Align with CreateAlignedLoad

2020-01-27 Thread Guillaume Chatelet via cfe-commits
Author: Guillaume Chatelet Date: 2020-01-27T10:58:36+01:00 New Revision: 07c9d5326648802560adbc1b1b61316c7d3c406d URL: https://github.com/llvm/llvm-project/commit/07c9d5326648802560adbc1b1b61316c7d3c406d DIFF: https://github.com/llvm/llvm-project/commit/07c9d5326648802560adbc1b1b61316c7d3c406d.