[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-20 Thread Egor Zhdan via cfe-commits
egorzhdan wrote: @nico sorry for not leaving a more detailed description. I'll make sure to add a release note once the API notes are upstreamed entirely. https://github.com/llvm/llvm-project/pull/72389 ___ cfe-commits mailing list cfe-commits@lists.l

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-17 Thread Nico Weber via cfe-commits
nico wrote: I was wondering what this is. It looks like we have documentation that describes it at https://clang.llvm.org/docs/APINotes.html (in case anyone else is wondering too). https://github.com/llvm/llvm-project/pull/72389 ___ cfe-commits maili

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-17 Thread Egor Zhdan via cfe-commits
https://github.com/egorzhdan closed https://github.com/llvm/llvm-project/pull/72389 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-16 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-16 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,163 @@ +//===--- APINotesManager.h - Manage API Notes Files -*- 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-16 Thread Egor Zhdan via cfe-commits
https://github.com/egorzhdan updated https://github.com/llvm/llvm-project/pull/72389 >From c4c9e3bffdcc80d7c153c0c4945844876894d98e Mon Sep 17 00:00:00 2001 From: Egor Zhdan Date: Wed, 15 Nov 2023 13:46:54 + Subject: [PATCH] [APINotes] Upstream APINotesManager This upstreams more of the Cl

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd approved this pull request. Some minor comments left to address about comments, but the rest LGTM. https://github.com/llvm/llvm-project/pull/72389 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.or

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,163 @@ +//===--- APINotesManager.h - Manage API Notes Files -*- 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
https://github.com/egorzhdan updated https://github.com/llvm/llvm-project/pull/72389 >From 9e171fa5e51a1c6572938da815f9d129f49fb046 Mon Sep 17 00:00:00 2001 From: Egor Zhdan Date: Wed, 15 Nov 2023 13:46:54 + Subject: [PATCH] [APINotes] Upstream APINotesManager This upstreams more of the Cl

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 05f70f7987f6bb34393b6ea0781c1060234a22ea aa80c53b94e0d0a4ae86be41b47f8837a96b39d9 --

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -737,6 +737,9 @@ inline bool operator!=(const TypedefInfo &LHS, const TypedefInfo &RHS) { return !(LHS == RHS); } +/// The file extension used for the source representation of API notes. +static const char SOURCE_APINOTES_EXTENSION[] = "apinotes"; egorzh

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,163 @@ +//===--- APINotesManager.h - Manage API Notes Files -*- 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,163 @@ +//===--- APINotesManager.h - Manage API Notes Files -*- 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,163 @@ +//===--- APINotesManager.h - Manage API Notes Files -*- 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,163 @@ +//===--- APINotesManager.h - Manage API Notes Files -*- 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
https://github.com/egorzhdan updated https://github.com/llvm/llvm-project/pull/72389 >From aa80c53b94e0d0a4ae86be41b47f8837a96b39d9 Mon Sep 17 00:00:00 2001 From: Egor Zhdan Date: Wed, 15 Nov 2023 13:46:54 + Subject: [PATCH] [APINotes] Upstream APINotesManager This upstreams more of the Cl

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,163 @@ +//===--- APINotesManager.h - Manage API Notes Files -*- 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -737,6 +737,9 @@ inline bool operator!=(const TypedefInfo &LHS, const TypedefInfo &RHS) { return !(LHS == RHS); } +/// The file extension used for the source representation of API notes. +static const char SOURCE_APINOTES_EXTENSION[] = "apinotes"; compne

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,163 @@ +//===--- APINotesManager.h - Manage API Notes Files -*- 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,163 @@ +//===--- APINotesManager.h - Manage API Notes Files -*- 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,163 @@ +//===--- APINotesManager.h - Manage API Notes Files -*- 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,469 @@ +//===--- APINotesManager.cpp - Manage API Notes Files -===// +// +// 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: Ap

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
https://github.com/egorzhdan updated https://github.com/llvm/llvm-project/pull/72389 >From fef3782ff1d4f2344b98eae4cf339e8cc1239fd7 Mon Sep 17 00:00:00 2001 From: Egor Zhdan Date: Wed, 15 Nov 2023 13:46:54 + Subject: [PATCH] [APINotes] Upstream APINotesManager This upstreams more of the Cl

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Egor Zhdan (egorzhdan) Changes This upstreams more of the Clang API Notes functionality that is currently implemented in the Apple fork: https://github.com/apple/llvm-project/tree/next/clang/lib/APINotes --- Patch is 35.64 KiB, truncate

[clang] [APINotes] Upstream APINotesManager (PR #72389)

2023-11-15 Thread Egor Zhdan via cfe-commits
https://github.com/egorzhdan created https://github.com/llvm/llvm-project/pull/72389 This upstreams more of the Clang API Notes functionality that is currently implemented in the Apple fork: https://github.com/apple/llvm-project/tree/next/clang/lib/APINotes >From 2550d96acc9ce134b4f7359af0c75