Author: ruturaj4
Date: 2023-04-13T17:55:45+01:00
New Revision: 3ac550984e83c2478772c800b1f1b5cffd63a10d
URL:
https://github.com/llvm/llvm-project/commit/3ac550984e83c2478772c800b1f1b5cffd63a10d
DIFF:
https://github.com/llvm/llvm-project/commit/3ac550984e83c2478772c800b1f1b5cffd63a10d.diff
LOG:
Author: Erick Velez
Date: 2023-05-30T19:00:35+01:00
New Revision: 06ff9770477d8c7378047b0171db4b25eba5d8dd
URL:
https://github.com/llvm/llvm-project/commit/06ff9770477d8c7378047b0171db4b25eba5d8dd
DIFF:
https://github.com/llvm/llvm-project/commit/06ff9770477d8c7378047b0171db4b25eba5d8dd.diff
L
Author: Daniel Grumberg
Date: 2023-02-10T16:30:19Z
New Revision: 7da2d644e0398be39e188ea6eacab2a942e0fa7e
URL:
https://github.com/llvm/llvm-project/commit/7da2d644e0398be39e188ea6eacab2a942e0fa7e
DIFF:
https://github.com/llvm/llvm-project/commit/7da2d644e0398be39e188ea6eacab2a942e0fa7e.diff
LO
Author: Daniel Grumberg
Date: 2022-12-16T11:01:03Z
New Revision: 8dcb629aa4ccfdd18fb700cabb45fd74fcd291c8
URL:
https://github.com/llvm/llvm-project/commit/8dcb629aa4ccfdd18fb700cabb45fd74fcd291c8
DIFF:
https://github.com/llvm/llvm-project/commit/8dcb629aa4ccfdd18fb700cabb45fd74fcd291c8.diff
LO
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/107262
rdar://131958623
>From 71011c910b218c4817872dee91499e60bd771e07 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Tue, 3 Sep 2024 16:27:36 +0100
Subject: [PATCH] [clang][ExtractAPI] Handle Attributed
https://github.com/daniel-grumberg updated
https://github.com/llvm/llvm-project/pull/107262
>From 17a956e118879df9ce1431c41f580108b92b6784 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Tue, 3 Sep 2024 16:27:36 +0100
Subject: [PATCH] [clang][ExtractAPI] Handle AttributedType fragments
tr
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/107262
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/103040
Additionally this computes availability information for all platforms ahead of
possibly introducing a flag to enable this behavior.
rdar://123513706
>From cd38c476336ea90e4d080638d028dda203b52ac4 Mon S
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/103273
rdar://133533830
>From 6c9fdf64b14c14db00fbf4ba8ec4103b14ddb72d Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Tue, 13 Aug 2024 16:09:58 +0100
Subject: [PATCH] [clang][ExtractAPI] Emit environment
daniel-grumberg wrote:
> > Additionally this computes availability information for all platforms ahead
>
> Can you add a test for this?
The behavior is not exposed yet so I can't add a test, will do when I start
exposing the behavior.
https://github.com/llvm/llvm-project/pull/103040
_
@@ -0,0 +1,149 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -extract-api --pretty-sgf
--emit-sgf-symbol-labels-for-testing -triple arm64-apple-macosx \
+// RUN: -x objective-c-header %s -o %t/output.symbols.json -verify
+
+
+// RUN: FileCheck %s --input-file %t/output.symbols.json
@@ -16,33 +16,101 @@
#include "clang/AST/Decl.h"
#include "clang/Basic/TargetInfo.h"
-namespace clang {
+namespace {
+
+struct AvailabilitySet {
+ llvm::SmallVector Availabilities;
+ bool UnconditionallyDeprecated = false;
+ bool UnconditionallyUnavailable = false;
-Avail
https://github.com/daniel-grumberg updated
https://github.com/llvm/llvm-project/pull/103040
>From cd38c476336ea90e4d080638d028dda203b52ac4 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Tue, 13 Aug 2024 11:30:18 +0100
Subject: [PATCH 1/5] [clang][ExtractAPI] Compute inherited availability
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/103040
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/103273
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/104600
- Introduce primitives for removing records from `APISet` and managing the
record chain of `RecordContext`
- Detect nested anonymous record types and remove them from the `APISet` after
they have been f
https://github.com/daniel-grumberg updated
https://github.com/llvm/llvm-project/pull/104600
>From 61b8014d418867e0108bf4513227d9a8fdad63f8 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Thu, 15 Aug 2024 17:42:02 +0100
Subject: [PATCH 1/4] [clang][ExtractAPI] Implement Record removal from
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/87772
This changes the handling of anonymous TagDecls to the following rules:
- If the TagDecl is embedded in the declaration for some VarDecl (this is the
only possibility for RecordDecls), then pretend the ch
@@ -54,6 +54,13 @@ RecordContext *APIRecord::castToRecordContext(const
APIRecord *Record) {
}
}
+void RecordContext::stealRecordChain(RecordContext &Other) {
+ First = Other.First;
+ Last = Other.Last;
+ Other.First = nullptr;
+ Other.Last = nullptr;
+}
https://github.com/daniel-grumberg approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/88285
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -199,7 +199,8 @@ class DeclarationFragments {
return *this;
}
- DeclarationFragments &replace(std::string NewSpelling, unsigned Position) {
daniel-grumberg wrote:
I would prefer to keep the value semantics version and instead move assign the
value,
@@ -240,7 +241,7 @@ class DeclarationFragments {
class AccessControl {
public:
- AccessControl(std::string Access) : Access(Access) {}
daniel-grumberg wrote:
Again I would prefer if we kept the value semantic ones and use `std::move`
https://github.com/llvm
daniel-grumberg wrote:
Thanks for looking at these, I think it would be best to try and leverage move
semantics where possible if we are going to change this code.
https://github.com/llvm/llvm-project/pull/94820
___
cfe-commits mailing list
cfe-commit
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/93559
rdar://128863241
>From d453e5b21d369d8c2b1d06c640887ec81ace Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Tue, 28 May 2024 15:43:45 +0100
Subject: [PATCH] [clang][ExtractAPI] Flatten all enum
https://github.com/daniel-grumberg updated
https://github.com/llvm/llvm-project/pull/93559
>From 5c8258fb2bcc102d431af9f3ae41cf72ecc335b6 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Tue, 28 May 2024 15:43:45 +0100
Subject: [PATCH] [clang][ExtractAPI] Flatten all enum cases from anonymo
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/93559
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -54,6 +54,13 @@ RecordContext *APIRecord::castToRecordContext(const
APIRecord *Record) {
}
}
+void RecordContext::stealRecordChain(RecordContext &Other) {
+ First = Other.First;
+ Last = Other.Last;
+ Other.First = nullptr;
+ Other.Last = nullptr;
+}
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/89277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg updated
https://github.com/llvm/llvm-project/pull/87772
>From 18912352db31406c7c5b530d6e22f77e775fbf38 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Thu, 4 Apr 2024 18:33:25 +0100
Subject: [PATCH 1/2] [clang][ExtractAPI] Fix handling of anonymous TagDec
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/98914
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg updated
https://github.com/llvm/llvm-project/pull/87772
>From 18912352db31406c7c5b530d6e22f77e775fbf38 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Thu, 4 Apr 2024 18:33:25 +0100
Subject: [PATCH 1/3] [clang][ExtractAPI] Fix handling of anonymous TagDec
@@ -54,6 +54,20 @@ RecordContext *APIRecord::castToRecordContext(const
APIRecord *Record) {
}
}
+void RecordContext::stealRecordChain(RecordContext &Other) {
+ // If we don't have an empty chain append Other's chain into ours.
+ if (First)
+Last->NextInContext = Other
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/87772
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/105868
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/106411
Fixes #106355
>From 5b47537dd49e79e102f7a809b434c18086274b4b Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Wed, 28 Aug 2024 17:03:22 +0100
Subject: [PATCH] [clang][ExtractAPI] Fix iteration order
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/106411
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/107059
rdar://135044923
>From caf560529093f80b5b6e6220ec19e244f57779d3 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Mon, 2 Sep 2024 18:47:40 +0100
Subject: [PATCH] [clang][ExtractAPI] Remove erroneous
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/107059
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/98914
A places try to get a NamedDecl's name using getName when it isn't a simple
identifier, migrate these areas to getNameAsString.
rdar://125315602
>From 20a72b3170d284f1f984d1dc7c868fe5632df510 Mon Sep 17
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/91466
rdar://127732562
>From d1118a8552d84e044cd0f22cd8b46e5e65b43cae Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Wed, 8 May 2024 11:55:15 +0100
Subject: [PATCH] [clang][ExtractAPI] Distinguish betwee
https://github.com/daniel-grumberg updated
https://github.com/llvm/llvm-project/pull/91466
>From a8c7763ed5f36e4faeba5eece2827b2dec010734 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Wed, 8 May 2024 11:55:15 +0100
Subject: [PATCH] [clang][ExtractAPI] Distinguish between record kind for
https://github.com/daniel-grumberg approved this pull request.
LGTM to me for the ExtractAPI one.
https://github.com/llvm/llvm-project/pull/91854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cf
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/91466
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/91958
Previously we only generated declaration fragments for template type
parameters/arguments, this adds supports for most other possible template
parameters/arguments.
rdar://127732598
>From d86e4256da574
https://github.com/daniel-grumberg approved this pull request.
LGTM! Thanks for doing this!
https://github.com/llvm/llvm-project/pull/92231
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/91958
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/92522
rdar://128259890
>From 7650c18c883bb14e5a4b17d6b6d61297f2fa3c44 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Fri, 17 May 2024 11:58:18 +0100
Subject: [PATCH] [clang][ExtractAPI] Remove symbols de
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/92522
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/93205
None
>From d4e7e838fcbdf1645e5e31cefb462d53e59361d4 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Thu, 23 May 2024 15:24:53 +0100
Subject: [PATCH] [clang][ExtractAPI] Ensure TemplateArgumentLocati
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/93205
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg updated
https://github.com/llvm/llvm-project/pull/104600
>From 8e3909ecb1bfe6aec6344cd89cbe1798d6cde7da Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Thu, 15 Aug 2024 17:42:02 +0100
Subject: [PATCH 1/4] [clang][ExtractAPI] Implement Record removal from
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/104600
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Daniel Grumberg
Date: 2024-08-19T16:06:43+01:00
New Revision: b18b4547f1bfaf6da37b29440a96176e807c2e6c
URL:
https://github.com/llvm/llvm-project/commit/b18b4547f1bfaf6da37b29440a96176e807c2e6c
DIFF:
https://github.com/llvm/llvm-project/commit/b18b4547f1bfaf6da37b29440a96176e807c2e6c.dif
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/104922
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/105868
Extension SGFs require the module system to be enabled in order to discover
which module defines the extended external type.
This patch ensures the following:
- Associate symbols with their top level mod
https://github.com/daniel-grumberg updated
https://github.com/llvm/llvm-project/pull/105868
>From b687c9512b748ee593eedd5e06d04d2a40197ec3 Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Fri, 23 Aug 2024 10:02:42 +0100
Subject: [PATCH 1/5] [clang][ExtractAPI] Use top level module name for
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/110689
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1621,6 +1621,9 @@ DeclarationFragmentsBuilder::getSubHeading(const
NamedDecl *Decl) {
cast(Decl)->isOverloadedOperator()) {
Fragments.append(Decl->getNameAsString(),
DeclarationFragments::FragmentKind::Identifier);
+ } else if (dyn_ca
https://github.com/daniel-grumberg updated
https://github.com/llvm/llvm-project/pull/110689
>From 30e06bed5b8ba378b2b43f0706617f6978f4be6c Mon Sep 17 00:00:00 2001
From: Daniel Grumberg
Date: Tue, 1 Oct 2024 16:29:30 +0100
Subject: [PATCH] [clang][ExtractAPI] Generate subheading for typedef'd
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/110689
When an anonymous type has a typedef we normally use the typedef's name in
places where we expect a named identifier in the symbol graph. This extends
this logic to apply to subheadings.
rdar://1366906
https://github.com/daniel-grumberg created
https://github.com/llvm/llvm-project/pull/110983
`RecordRecord::classOfKind` and `TagRecord::classofKind` didn't correctly
capture `RK_CXXClass` and derived variants, e.g. `RK_ClassTemplate`. This
materialized by anonymous C++ tag types not being corr
@@ -0,0 +1,41 @@
+// Test is line- and column-sensitive. Run lines are below
+
+template
+class basic_vector {
+public:
+T x;
+T y;
+};
+
+using my_vec = basic_vector;
+
+class MyClass {
+my_vec myVec;
+};
+
+struct OuterStruct {
+struct InnerStruct;
+int oute
101 - 162 of 162 matches
Mail list logo