This revision was automatically updated to reflect the committed changes.
Closed by commit rG8b0ea4874093: [Clang][CUDA] Disable diagnostics for neon
attrs for GPU-side CUDA compilation (authored by alexander-shaposhnikov).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
alexander-shaposhnikov updated this revision to Diff 529801.
alexander-shaposhnikov added a comment.
Add missing parentheses
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152403/new/
https://reviews.llvm.org/D152403
Files:
alexander-shaposhnikov updated this revision to Diff 529795.
alexander-shaposhnikov marked 3 inline comments as done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152403/new/
https://reviews.llvm.org/D152403
Files:
clang/lib/Sema/SemaType.cpp
alexander-shaposhnikov updated this revision to Diff 529794.
alexander-shaposhnikov added a comment.
Address comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152403/new/
https://reviews.llvm.org/D152403
Files:
clang/lib/Sema/SemaType.cpp
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaType.cpp:8168
+IsTargetCUDAAndHostARM =
+!AuxTI || AuxTI->getTriple().isAArch64() || AuxTI->getTriple().isARM();
+ }
tra wrote:
> Should it be `AuxTI &&
alexander-shaposhnikov added inline comments.
Comment at: clang/test/SemaCUDA/neon-attrs.cu:2
+// RUN: %clang_cc1 -triple arm64-linux-gnu -target-feature +neon -x cuda
-fsyntax-only -DNO_DIAG -verify %s
+// RUN: %clang_cc1 -triple arm64-linux-gnu -target-feature -neon -x cuda
alexander-shaposhnikov created this revision.
alexander-shaposhnikov added a reviewer: tra.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added subscribers: mattd, carlosgalvezp, yaxunl.
Herald added a project: All.
alexander-shaposhnikov requested review of this
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcd4677f20704: [Clang] Update release notes (authored by
alexander-shaposhnikov).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149906/new/
This revision was automatically updated to reflect the committed changes.
Closed by commit rG122b938944ce: [Clang][Sema] Substitute constraints only for
declarations with different… (authored by alexander-shaposhnikov).
Changed prior to commit:
alexander-shaposhnikov updated this revision to Diff 522856.
alexander-shaposhnikov added a comment.
Include context.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150730/new/
https://reviews.llvm.org/D150730
Files:
alexander-shaposhnikov created this revision.
alexander-shaposhnikov added a reviewer: erichkeane.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added a project: All.
alexander-shaposhnikov requested review of this revision.
Herald added a project: clang.
Herald
alexander-shaposhnikov added a comment.
@erichkeane - I took your example and tried to reduce it further
https://godbolt.org/z/jEx9vdj7K
It's kind of a difficult situation - both gcc and msvc accept it, yet /* very
very cautiously */ it might happen that the code is actually invalid ...
(i'd
alexander-shaposhnikov added a comment.
@erichkeane - I'll have stable internet ~soon and will try to look into the
reported issue (but help would be greatly appreciated).
To the best of my knowledge there are other problems with libstdc++'s ranges
(even without this diff), but yeah, this
alexander-shaposhnikov accepted this revision.
alexander-shaposhnikov added a comment.
This revision is now accepted and ready to land.
LG
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150285/new/
https://reviews.llvm.org/D150285
___
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaTemplateInstantiate.cpp:133
}
+Response HandlePartialClassTemplateSpec(
alexander-shaposhnikov wrote:
> alexander-shaposhnikov wrote:
> > alexander-shaposhnikov wrote:
> > >
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaTemplateInstantiate.cpp:133
}
+Response HandlePartialClassTemplateSpec(
alexander-shaposhnikov wrote:
> alexander-shaposhnikov wrote:
> > HandlePartialClassTemplateSpec is from
alexander-shaposhnikov added a comment.
@davidtgoldblatt - thanks for the report.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
___
cfe-commits mailing list
alexander-shaposhnikov added inline comments.
Comment at: clang/test/SemaTemplate/concepts-out-of-line-def.cpp:348
+
+namespace MultilevelTemplateWithPartialSpecialization {
+template
(new tests)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaTemplateInstantiate.cpp:133
}
+Response HandlePartialClassTemplateSpec(
alexander-shaposhnikov wrote:
> HandlePartialClassTemplateSpec is from Erich's diff
>
alexander-shaposhnikov updated this revision to Diff 519711.
alexander-shaposhnikov added a comment.
Remove dead code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
Files:
alexander-shaposhnikov updated this revision to Diff 519708.
alexander-shaposhnikov added a comment.
Add more tests,
Fix HandlePartialClassTemplateSpec.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
alexander-shaposhnikov added a comment.
Reverted in
https://github.com/llvm/llvm-project/commit/3b9ed6e5323176550925f3b0a2c50ced1b61438d,
it'll take time to investigate this case.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
alexander-shaposhnikov updated this revision to Diff 519660.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149906/new/
https://reviews.llvm.org/D149906
Files:
clang/docs/ReleaseNotes.rst
Index: clang/docs/ReleaseNotes.rst
alexander-shaposhnikov created this revision.
alexander-shaposhnikov added reviewers: rsmith, erichkeane, ilya-biryukov.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added a project: All.
alexander-shaposhnikov requested review of this revision.
Herald added a
alexander-shaposhnikov added a comment.
P.S. Landed. If it survives in the trunk this time - I'll send a follow-up diff
with the release notes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
alexander-shaposhnikov added a comment.
@erichkeane - thanks, then I'm going to give it another try.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
___
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaTemplateInstantiate.cpp:133
}
+Response HandlePartialClassTemplateSpec(
HandlePartialClassTemplateSpec is from Erich's diff
(https://reviews.llvm.org/D147722)
alexander-shaposhnikov updated this revision to Diff 518990.
alexander-shaposhnikov added a comment.
Simplify code a little bit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
Files:
alexander-shaposhnikov updated this revision to Diff 518966.
alexander-shaposhnikov added a comment.
1. If innermost != nullptr (in getTemplateInstantiationArgs) and NS is a
ClassTemplatePartialSpecializationDecl we were incorrectly adding the inner
level of template args twice (once as an
alexander-shaposhnikov added a comment.
upd.
In the reduced example above MLTAL is incorrect
(lldb) p MLTAL.dump()
NumRetainedOuterLevels: 1
1:
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
alexander-shaposhnikov added a comment.
reduced test case:
template
concept Concept = false;
struct Foo {
template
struct result {};
template
requires(Concept<_Tp>)
struct result<_Tp>;
};
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
alexander-shaposhnikov added a comment.
@erichkeane - feel free to take over this patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
___
cfe-commits
alexander-shaposhnikov added a comment.
@erichkeane - thanks! I'll send a diff for the release notes ~soon (~this
week). (P.S. just in case - I'll be out of office for ~2 weeks)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe3b1083e00e6: [Clang][Sema] Fix comparison of constraint
alexander-shaposhnikov updated this revision to Diff 517513.
alexander-shaposhnikov added a comment.
Add more tests
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
Files:
alexander-shaposhnikov added a comment.
/* will update the diff ~soon */
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
___
cfe-commits mailing list
alexander-shaposhnikov planned changes to this revision.
alexander-shaposhnikov added a comment.
/* working on it */
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
alexander-shaposhnikov added a comment.
reduced test case (that is currently blocking this diff) :
namespace outer::internal {
template
concept myconcept = true;
}
namespace outer {
template class Foo;
template struct Bar {
template friend class Foo;
};
alexander-shaposhnikov added a comment.
Yeah, things appear to work for the current version of this diff (including
GH62110).
However, while doing some internal testing I've discovered one suspicious issue
(sigh, sigh), but haven't been able to create a standalone repro yet.
Need more time for
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:263
+ if (SubstitutedAtomicExpr.get()->isValueDependent())
+return SubstitutedAtomicExpr;
alexander-shaposhnikov wrote:
> alexander-shaposhnikov wrote:
> > erichkeane
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:781
+ /*ForConstraintInstantiation=*/true, /*SkipForSpecialization*/ false);
+ Sema::SFINAETrap SFINAE(S, /*AccessCheckingSFINAE=*/false);
+ std::optional ThisScope;
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:781
+ /*ForConstraintInstantiation=*/true, /*SkipForSpecialization*/ false);
+ Sema::SFINAETrap SFINAE(S, /*AccessCheckingSFINAE=*/false);
+ std::optional ThisScope;
alexander-shaposhnikov updated this revision to Diff 514745.
alexander-shaposhnikov added a comment.
New version (address some comments)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
Files:
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:263
+ if (SubstitutedAtomicExpr.get()->isValueDependent())
+return SubstitutedAtomicExpr;
alexander-shaposhnikov wrote:
> erichkeane wrote:
> > alexander-shaposhnikov
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:263
+ if (SubstitutedAtomicExpr.get()->isValueDependent())
+return SubstitutedAtomicExpr;
erichkeane wrote:
> alexander-shaposhnikov wrote:
> > erichkeane wrote:
> >
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaTemplateInstantiate.cpp:227
+(TSTy = Ty->getAs()))
+ Result.addOuterTemplateArguments(const_cast(FTD),
+ TSTy->template_arguments(),
alexander-shaposhnikov added a comment.
https://github.com/llvm/llvm-project/issues/62110 is still a blocker for this
diff though (haven't investigated it yet)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
alexander-shaposhnikov updated this revision to Diff 514095.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
Files:
clang/include/clang/Sema/Template.h
clang/lib/Sema/SemaConcept.cpp
alexander-shaposhnikov planned changes to this revision.
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:773
+ // ConstrExpr for the inner template will properly adjust the depths.
+ if (isa(ND) && isa(OtherND))
+
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:773
+ // ConstrExpr for the inner template will properly adjust the depths.
+ if (isa(ND) && isa(OtherND))
+ForConstraintInstantiation = true;
erichkeane wrote:
>
alexander-shaposhnikov added a comment.
https://github.com/llvm/llvm-project/issues/62110 (in addition to the
self-friendship case)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:263
+ if (SubstitutedAtomicExpr.get()->isValueDependent())
+return SubstitutedAtomicExpr;
erichkeane wrote:
> alexander-shaposhnikov wrote:
> > erichkeane wrote:
> >
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:773
+ // ConstrExpr for the inner template will properly adjust the depths.
+ if (isa(ND) && isa(OtherND))
+ForConstraintInstantiation = true;
erichkeane wrote:
>
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:773
+ // ConstrExpr for the inner template will properly adjust the depths.
+ if (isa(ND) && isa(OtherND))
+ForConstraintInstantiation = true;
erichkeane wrote:
>
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:263
+ if (SubstitutedAtomicExpr.get()->isValueDependent())
+return SubstitutedAtomicExpr;
erichkeane wrote:
> So this bit is concerning to me... we have been catching
alexander-shaposhnikov updated this revision to Diff 511854.
alexander-shaposhnikov added a comment.
This version is partially based on https://reviews.llvm.org/D147722.
The case with self-friendship is problematic (had to add a workaround, any
suggestions would be greatly appreciated).
Added
alexander-shaposhnikov added a comment.
I've debugged a bit what's going on in https://godbolt.org/z/7h3sPe85h
we pass ForConstaintInstantiation=true and this causes
us for the in-class FunctionTemplateDecl pick up the outer layer of template
args (i.e. MLTAL will contain
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf799901c06c0: [Clang][Sema] Add
MultiLevelTemplateArgumentList::dump (authored by alexander-shaposhnikov).
Changed prior to commit:
alexander-shaposhnikov added a subscriber: ilya-biryukov.
alexander-shaposhnikov added a comment.
fwiw - I can revert https://reviews.llvm.org/D146178 for now till we fix the
newly discovered cases (at the moment I'm aware of GH61959 and the one reported
by @ilya-biryukov.
Basically let me
alexander-shaposhnikov added a comment.
for
template
struct X {
template
struct Y {
int f()
requires(I2 == 1)
{
return 1;
}
int f()
requires(I2 == 2)
{
return 1;
}
};
};
this would print the following:
alexander-shaposhnikov updated this revision to Diff 511551.
alexander-shaposhnikov added a comment.
Address comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147744/new/
https://reviews.llvm.org/D147744
Files:
alexander-shaposhnikov created this revision.
alexander-shaposhnikov added reviewers: erichkeane, rsmith.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added a project: All.
alexander-shaposhnikov requested review of this revision.
Herald added a project: clang.
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaTemplateInstantiate.cpp:291
/// encountering a lambda generic call operator, and continue looking for
/// arguments on an enclosing class template.
/* not directly related to this
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG60bee9ff5445: [Clang][Sema] Fix comparison of constraint
expressions (authored by alexander-shaposhnikov).
Repository:
rG LLVM Github Monorepo
alexander-shaposhnikov updated this revision to Diff 510662.
alexander-shaposhnikov added a comment.
Add test & minor optimization
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
Files:
clang/lib/Sema/SemaConcept.cpp
alexander-shaposhnikov updated this revision to Diff 510637.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
Files:
clang/lib/Sema/SemaConcept.cpp
clang/lib/Sema/SemaOverload.cpp
alexander-shaposhnikov updated this revision to Diff 510634.
alexander-shaposhnikov added a comment.
Address comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
Files:
alexander-shaposhnikov added a comment.
@rsmith - thanks a lot for the review, is there anything you'd like me to do on
this diff or we are good to go ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
alexander-shaposhnikov updated this revision to Diff 509910.
alexander-shaposhnikov added a comment.
Rebased + rerun all the tests + internal testing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
alexander-shaposhnikov updated this revision to Diff 509546.
alexander-shaposhnikov added a comment.
Address comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
Files:
alexander-shaposhnikov accepted this revision.
alexander-shaposhnikov added a comment.
This revision is now accepted and ready to land.
LG
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146882/new/
https://reviews.llvm.org/D146882
alexander-shaposhnikov updated this revision to Diff 507560.
alexander-shaposhnikov added a comment.
Add more tests.
P.S. we already have tests with self-friends (in concepts.cpp), the test from
Richard's comment is also included (struct S12) (in a slightly simplified form)
Repository:
rG
alexander-shaposhnikov planned changes to this revision.
alexander-shaposhnikov added a comment.
will add more tests
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:1676
+Inst->setLexicalDeclContext(Owner);
+RecordInst->setLexicalDeclContext(Owner);
+
this bit is important
Repository:
rG LLVM Github Monorepo
alexander-shaposhnikov added a comment.
@erichkeane - thanks for the comments, the changes in
SemaTemplateInstantiateDecl.cpp are necessary, in particular, they enable us to
handle the case
template
concept Constraint = true;
template
struct Iterator {
template
friend
alexander-shaposhnikov updated this revision to Diff 507432.
alexander-shaposhnikov edited the summary of this revision.
alexander-shaposhnikov added a comment.
New approach to constraints' comparison
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
alexander-shaposhnikov added a comment.
@erichkeane - yes, I'm working on it, I hope to have a new version ~soon
(within a few days).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
alexander-shaposhnikov added a comment.
@shafik - it's a bit early to review this patch, this was the first attempt to
fix the issue related to the current behavior of
clang::Sema::TemplateParameterListsAreEqual that causes Clang to mishandle
out-of-line definitions involving constraints (and
alexander-shaposhnikov added a comment.
@erichkeane - ok, thanks a lot for the comments / help, I need a bit of time to
play with the code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaConcept.cpp:779
+// The depths calculated for the declarations can be equal but they still
+// may differ from the depths of types inside OldConstr and NewConstr.
+OldConstr =
alexander-shaposhnikov added a comment.
@erichkeane , ok, let me think a bit a more about it / investigate further.
It's unclear why we use AdjustConstraintDepth here in the first place, i.e. why
the depth is incorrect in the first place. Regarding Diff/Value - TemplateDepth
(despite its name)
alexander-shaposhnikov created this revision.
alexander-shaposhnikov added reviewers: erichkeane, rsmith, aaron.ballman.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added a project: All.
alexander-shaposhnikov requested review of this revision.
Herald added a
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8403ccdcd28c: [Clang][CodeGen] Fix linkage and visibility of
template parameter objects (authored by alexander-shaposhnikov).
Repository:
rG LLVM
alexander-shaposhnikov updated this revision to Diff 505175.
alexander-shaposhnikov retitled this revision from "[Clang][CodeGen] Fix
linkage of template parameter objects" to "[Clang][CodeGen] Fix linkage and
visibility of template parameter objects".
alexander-shaposhnikov edited the summary
alexander-shaposhnikov created this revision.
alexander-shaposhnikov added reviewers: rsmith, aaron.ballman.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added a project: All.
alexander-shaposhnikov requested review of this revision.
Herald added a project: clang.
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG421c098b32bd: [Clang][Sema] Start fixing handling of
out-of-line definitions of constrained… (authored by alexander-shaposhnikov).
Repository:
rG
alexander-shaposhnikov updated this revision to Diff 504025.
alexander-shaposhnikov added a comment.
Release notes.
P.S. To the best of my knowledge the current status is the following: with this
patch the examples reported in the comments on
https://github.com/llvm/llvm-project/issues/49620
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaCXXScopeSpec.cpp:141
+ ClassTemplate->getInjectedClassNameSpecialization();
+ if (Context.hasSameType(Injected, ContextType))
+return ClassTemplate->getTemplatedDecl();
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Sema/SemaCXXScopeSpec.cpp:141
+ ClassTemplate->getInjectedClassNameSpecialization();
+ if (Context.hasSameType(Injected, ContextType))
+return ClassTemplate->getTemplatedDecl();
alexander-shaposhnikov updated this revision to Diff 503750.
alexander-shaposhnikov added a comment.
Address comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145034/new/
https://reviews.llvm.org/D145034
Files:
alexander-shaposhnikov added inline comments.
Comment at: clang/lib/Parse/ParseDeclCXX.cpp:1677-1678
CXXScopeSpec Spec;
+if (TemplateInfo.TemplateParams)
+ Spec.setTemplateParamLists(*TemplateInfo.TemplateParams);
+
rsmith wrote:
> I think we'll
alexander-shaposhnikov updated this revision to Diff 502067.
alexander-shaposhnikov added a comment.
1/ Add support for out-of-line definitions of member enums + add tests
2/ Updated comments DeclSpec.h
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
alexander-shaposhnikov created this revision.
alexander-shaposhnikov added reviewers: rsmith, aaron.ballman.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added a project: All.
alexander-shaposhnikov requested review of this revision.
Herald added a project: clang.
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8f5d81585aa9: [Clang][LLVM] Enable __arithmetic_fence and
fprotect-parens on AArch64 (authored by alexander-shaposhnikov).
Changed prior to commit:
alexander-shaposhnikov added a comment.
sure, will do! thanks for the review
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143781/new/
https://reviews.llvm.org/D143781
___
cfe-commits mailing list
alexander-shaposhnikov created this revision.
alexander-shaposhnikov added reviewers: efriedma, aaron.ballman, mibintc.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
alexander-shaposhnikov requested
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0fd9c37d8cf2: [Clang] Treat `std::forward_like` as builtin
(authored by alexander-shaposhnikov).
Changed prior to commit:
alexander-shaposhnikov added a comment.
gentle ping )
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142430/new/
https://reviews.llvm.org/D142430
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
alexander-shaposhnikov created this revision.
alexander-shaposhnikov added reviewers: rsmith, aaron.ballman.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added a reviewer: NoQ.
Herald added a project: All.
alexander-shaposhnikov requested review of this revision.
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG31b0be4eba9e: [Clang] Add lifetimebound attribute to
std::move/std::forward (authored by alexander-shaposhnikov).
Repository:
rG LLVM Github
1 - 100 of 323 matches
Mail list logo