@@ -4308,6 +4315,7 @@ def set_property(self, property, value):
("clang_Cursor_isAnonymous", [Cursor], bool),
("clang_Cursor_isAnonymousRecordDecl", [Cursor], bool),
("clang_Cursor_isBitField", [Cursor], bool),
+("clang_Cursor_isFunctionInlined", [Cursor], bool),
https://github.com/carlosgalvezp approved this pull request.
https://github.com/llvm/llvm-project/pull/164709
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
This is a thing apparently.
Fixes https://github.com/llvm/llvm-project/issues/153803
---
Full diff: https://github.com/llvm/llvm-project/pull/164760.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteC
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/164760
This is a thing apparently.
Fixes https://github.com/llvm/llvm-project/issues/153803
>From ef0dcb70e2a608ab218f4e1216b7a33254879327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 23 O
https://github.com/localspook updated
https://github.com/llvm/llvm-project/pull/161574
>From 82c842a3e8f0f2e9dcfacca0eada9f6aeacd38d8 Mon Sep 17 00:00:00 2001
From: Victor Chernyakin
Date: Wed, 1 Oct 2025 18:35:35 +
Subject: [PATCH 01/27] [clang-tidy] Add new check:
`readability-redundant-
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Points to the first chain link in this case.
---
Full diff: https://github.com/llvm/llvm-project/pull/164751.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCode/Compiler.cpp (+48-42)
- (modified) c
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/164751
Points to the first chain link in this case.
>From 3dd4f74c46d0bd990829d32e9087ce96adba074e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 23 Oct 2025 06:52:34 +0200
Subject: [PATCH] [
owenca wrote:
@Prabhuk I've reverted your revert. Please open a GitHub issue for your use
case, which also failed before #15 was merged.
https://github.com/llvm/llvm-project/pull/164670
___
cfe-commits mailing list
[email protected]
https
erichkeane wrote:
FWIW: I'd MUCH rather we limit the scope of this as much as possible (and all
followups).
Listing reflection as experimental, and leaving the 'not yet implementeds' in
place are MUCH better idea than growing this already large patch. If reflection
is 'experimental' anything
https://github.com/shafik edited
https://github.com/llvm/llvm-project/pull/157063
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zwuis wrote:
LGTM if we add some tests with deduction guides.
https://github.com/llvm/llvm-project/pull/161574
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -517,6 +517,8 @@ AMDGPUMaxNumWorkGroupsAttr
*SemaAMDGPU::CreateAMDGPUMaxNumWorkGroupsAttr(
const AttributeCommonInfo &CI, Expr *XExpr, Expr *YExpr, Expr *ZExpr) {
ASTContext &Context = getASTContext();
AMDGPUMaxNumWorkGroupsAttr TmpAttr(Context, CI, XExpr, YExpr, ZE
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/164703
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3914,10 +3902,10 @@ static TemplateDeductionResult
instantiateExplicitSpecifierDeferred(
Sema::InstantiatingTemplate Inst(
S, Info.getLocation(), FunctionTemplate, DeducedArgs,
- Sema::CodeSynthesisContext::DeducedTemplateArgumentSubstitution, Info);
+ S
https://github.com/zyn0217 approved this pull request.
Thanks for the improvement
https://github.com/llvm/llvm-project/pull/164703
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -12394,45 +12391,65 @@ class Sema final : public SemaBase {
/// failures rather than hard errors.
bool AccessCheckingSFINAE;
+ class SFINAETrap;
+
+ struct SFINAEContextBase {
+SFINAEContextBase(Sema &S, SFINAETrap *Cur)
+: S(S), Prev(std::exchange(S.Curre
@@ -4284,6 +4284,9 @@ bool SemaHLSL::transformInitList(const InitializedEntity
&Entity,
}
size_t ExpectedSize = ILT.DestTypes.size();
size_t ActualSize = ILT.ArgExprs.size();
+ if (ExpectedSize == 0 && ActualSize == 0)
shafik wrote:
So this check is a
https://github.com/jhuber6 edited
https://github.com/llvm/llvm-project/pull/157895
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2361,6 +2363,101 @@ static ExprResult BuiltinMaskedStore(Sema &S, CallExpr
*TheCall) {
return TheCall;
}
+static ExprResult BuiltinMaskedGather(Sema &S, CallExpr *TheCall) {
+ if (S.checkArgCountRange(TheCall, 3, 4))
+return ExprError();
+
+ Expr *MaskArg = TheCal
@@ -2361,6 +2363,101 @@ static ExprResult BuiltinMaskedStore(Sema &S, CallExpr
*TheCall) {
return TheCall;
}
+static ExprResult BuiltinMaskedGather(Sema &S, CallExpr *TheCall) {
+ if (S.checkArgCountRange(TheCall, 3, 4))
+return ExprError();
+
+ Expr *MaskArg = TheCal
https://github.com/localspook updated
https://github.com/llvm/llvm-project/pull/161574
>From 82c842a3e8f0f2e9dcfacca0eada9f6aeacd38d8 Mon Sep 17 00:00:00 2001
From: Victor Chernyakin
Date: Wed, 1 Oct 2025 18:35:35 +
Subject: [PATCH 01/24] [clang-tidy] Add new check:
`readability-redundant-
@@ -2713,11 +2714,13 @@ llvm::Value *
CGOpenMPRuntime::emitMessageClause(CodeGenFunction &CGF,
const OMPMessageClause *MessageClause) {
return emitMessageClause(
- CGF, MessageClause ? MessageClause->getMessageString() : nullptr);
+
localspook wrote:
Gentle ping. Since this is a new check, it would be especially good to get a
second review.
(Ignore the close and reopen. I messed up my git push so badly that GitHub
closed the PR, whoops...)
https://github.com/llvm/llvm-project/pull/161574
_
https://github.com/localspook updated
https://github.com/llvm/llvm-project/pull/161574
>From 82c842a3e8f0f2e9dcfacca0eada9f6aeacd38d8 Mon Sep 17 00:00:00 2001
From: Victor Chernyakin
Date: Wed, 1 Oct 2025 18:35:35 +
Subject: [PATCH 01/23] [clang-tidy] Add new check:
`readability-redundant-
https://github.com/localspook reopened
https://github.com/llvm/llvm-project/pull/161574
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rampitec closed
https://github.com/llvm/llvm-project/pull/164731
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Stanislav Mekhanoshin
Date: 2025-10-22T17:46:33-07:00
New Revision: 9b5bc987435d084583ba894f5fc8676401f4ae0f
URL:
https://github.com/llvm/llvm-project/commit/9b5bc987435d084583ba894f5fc8676401f4ae0f
DIFF:
https://github.com/llvm/llvm-project/commit/9b5bc987435d084583ba894f5fc8676401f4ae
@@ -1939,6 +1939,43 @@ TypeTraitExpr *TypeTraitExpr::CreateDeserialized(const
ASTContext &C,
return new (Mem) TypeTraitExpr(EmptyShell(), IsStoredAsBool);
}
+CXXReflectExpr::CXXReflectExpr(const ASTContext &C, QualType T, QualType Ty)
+: Expr(CXXReflectExprClass, T, VK_
@@ -1939,6 +1939,43 @@ TypeTraitExpr *TypeTraitExpr::CreateDeserialized(const
ASTContext &C,
return new (Mem) TypeTraitExpr(EmptyShell(), IsStoredAsBool);
}
+CXXReflectExpr::CXXReflectExpr(const ASTContext &C, QualType T, QualType Ty)
+: Expr(CXXReflectExprClass, T, VK_
@@ -2164,6 +2164,11 @@ StmtProfiler::VisitLambdaExpr(const LambdaExpr *S) {
ID.AddInteger(Hasher.CalculateHash());
}
+void StmtProfiler::VisitCXXReflectExpr(const CXXReflectExpr *E) {
+ VisitExpr(E);
+ // TODO:
Sirraide wrote:
Yes, not implementing this w
@@ -2566,6 +2566,11 @@ void StmtPrinter::VisitCXXUnresolvedConstructExpr(
OS << ')';
}
+void StmtPrinter::VisitCXXReflectExpr(CXXReflectExpr *S) {
+ // TODO: Make this better.
+ OS << "^(...)";
Sirraide wrote:
Printing this *shouldn’t* be too complicate
@@ -4945,6 +4945,12 @@ void CXXNameMangler::mangleExpression(const Expr *E,
unsigned Arity,
E = cast(E)->getSubExpr();
goto recurse;
+ case Expr::CXXReflectExprClass: {
+// TODO: implement this after introducing std::meta::info
Sirraide wrote:
I
@@ -1208,6 +1208,13 @@ Parser::ParseCastExpression(CastParseKind ParseKind,
bool isAddressOfOperand,
AllowSuffix = false;
Res = ParseUnaryExprOrTypeTraitExpression();
break;
+ case tok::caretcaret: {
+if (getLangOpts().Reflection) {
changkhoth
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/164508
>From 08353a39097576500fa3516b121c87e7711d30b7 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Tue, 21 Oct 2025 15:17:45 -0700
Subject: [PATCH 1/2] [CIR] Handle overlapping values in constant init
expressio
@@ -380,6 +380,8 @@ FEATURE(cxx_abi_relative_vtable, LangOpts.CPlusPlus &&
LangOpts.RelativeCXXABIVT
FEATURE(clang_atomic_attributes, true)
+FEATURE(reflection, LangOpts.Reflection)
Sirraide wrote:
Yeah, I don’t think we should have a flag for this given th
https://github.com/andykaylor closed
https://github.com/llvm/llvm-project/pull/164007
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Andy Kaylor
Date: 2025-10-22T15:47:00-07:00
New Revision: 095c178b8b1c3e8d880cb831354294fefae24aed
URL:
https://github.com/llvm/llvm-project/commit/095c178b8b1c3e8d880cb831354294fefae24aed
DIFF:
https://github.com/llvm/llvm-project/commit/095c178b8b1c3e8d880cb831354294fefae24aed.diff
L
@@ -1848,6 +1848,11 @@ def err_placeholder_expected_auto_or_decltype_auto :
Error<
"expected 'auto' or 'decltype(auto)' after concept name">;
}
+let CategoryName = "Reflection Issue" in {
+def err_cannot_reflect_operand : Error<
+ "cannot reflect the provided operand">;
--
https://github.com/spall edited https://github.com/llvm/llvm-project/pull/164700
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/spall updated
https://github.com/llvm/llvm-project/pull/164700
>From 276fca41ad8e81ce4189266c20d260646d6d5f4c Mon Sep 17 00:00:00 2001
From: Sarah Spall
Date: Fri, 31 Jan 2025 16:57:24 -0800
Subject: [PATCH 1/2] add support for HLSLAggregateSplatCast and
HLSLElementwiseCast
@@ -1618,8 +1618,26 @@ void ASTContext::setRelocationInfoForCXXRecord(
RelocatableClasses.insert({D, Info});
}
+// In future we may want to distinguish the presence or absence of address
+// discrimination, from the inability to determine the presence. For now we
rely
+// o
@@ -1618,8 +1618,26 @@ void ASTContext::setRelocationInfoForCXXRecord(
RelocatableClasses.insert({D, Info});
}
+// In future we may want to distinguish the presence or absence of address
+// discrimination, from the inability to determine the presence. For now we
rely
+// o
@@ -1618,8 +1618,26 @@ void ASTContext::setRelocationInfoForCXXRecord(
RelocatableClasses.insert({D, Info});
}
+// In future we may want to distinguish the presence or absence of address
+// discrimination, from the inability to determine the presence. For now we
rely
+// o
Keith-S-Thompson wrote:
Yes, the defined behavior is the same in C++ as it is in C.
Quoting a draft of the ISO C++ standard, section [stmt.switch], emphasis added:
> When the `switch` statement is executed, its condition is evaluated and
> compared with each case constant. If
one of the case c
erichkeane wrote:
> > Can you fill in the description for this? That very much needs to be filled
> > in, with context/strategy/etc. Also, did you implement this yourself, or is
> > this an attempt to get Dan's implementation merged?
>
> Hi! Yeah let me fill in the description. I referenced Da
@@ -1877,6 +1887,34 @@ void InitListChecker::CheckReferenceType(const
InitializedEntity &Entity,
AggrDeductionCandidateParamTypes->push_back(DeclType);
}
+void InitListChecker::CheckMatrixType(const InitializedEntity &Entity,
+ InitLis
@@ -529,6 +529,10 @@ void ASTStmtReader::VisitCapturedStmt(CapturedStmt *S) {
}
}
+void ASTStmtReader::VisitCXXReflectExpr(CXXReflectExpr *E) {
+ llvm_unreachable("unimplemented");
katzdm wrote:
Note that this is needed for modules (e.g., importing an `inf
@@ -2164,6 +2164,11 @@ StmtProfiler::VisitLambdaExpr(const LambdaExpr *S) {
ID.AddInteger(Hasher.CalculateHash());
}
+void StmtProfiler::VisitCXXReflectExpr(const CXXReflectExpr *E) {
+ VisitExpr(E);
+ // TODO:
katzdm wrote:
Consider implementing this now
@@ -1208,6 +1208,13 @@ Parser::ParseCastExpression(CastParseKind ParseKind,
bool isAddressOfOperand,
AllowSuffix = false;
Res = ParseUnaryExprOrTypeTraitExpression();
break;
+ case tok::caretcaret: {
+if (getLangOpts().Reflection) {
katzdm wro
@@ -2883,6 +2883,8 @@ DEF_TRAVERSE_STMT(CXXUnresolvedConstructExpr, {
TRY_TO(TraverseTypeLoc(S->getTypeSourceInfo()->getTypeLoc()));
})
+DEF_TRAVERSE_STMT(CXXReflectExpr, {/*TODO*/})
katzdm wrote:
I might be mis-remembering, but I think this is used by `Tre
@@ -50,6 +50,13 @@ ExprResult Parser::ParseCXXReflectExpression(SourceLocation
OpLoc) {
return ExprError();
TypeSourceInfo *TSI = nullptr;
+QualType QT = Actions.GetTypeFromParser(TR.get(), &TSI);
+
+if (QT.isNull())
+ return ExprError();
+
+if (!TS
@@ -0,0 +1,21 @@
+// RUN: %clang_cc1 %s -std=c++23 -freflection
katzdm wrote:
Should probably be `-std=c++26`.
https://github.com/llvm/llvm-project/pull/164692
___
cfe-commits mailing list
[email protected]
ht
@@ -380,6 +380,8 @@ FEATURE(cxx_abi_relative_vtable, LangOpts.CPlusPlus &&
LangOpts.RelativeCXXABIVT
FEATURE(clang_atomic_attributes, true)
+FEATURE(reflection, LangOpts.Reflection)
katzdm wrote:
@cor3ntin Just want to confirm that we want the feature flag;
@@ -2566,6 +2566,11 @@ void StmtPrinter::VisitCXXUnresolvedConstructExpr(
OS << ')';
}
+void StmtPrinter::VisitCXXReflectExpr(CXXReflectExpr *S) {
+ // TODO: Make this better.
+ OS << "^(...)";
katzdm wrote:
Lol now might be the time to make it better 😂
@@ -1848,6 +1848,11 @@ def err_placeholder_expected_auto_or_decltype_auto :
Error<
"expected 'auto' or 'decltype(auto)' after concept name">;
}
+let CategoryName = "Reflection Issue" in {
+def err_cannot_reflect_operand : Error<
+ "cannot reflect the provided operand">;
--
@@ -4945,6 +4945,12 @@ void CXXNameMangler::mangleExpression(const Expr *E,
unsigned Arity,
E = cast(E)->getSubExpr();
goto recurse;
+ case Expr::CXXReflectExprClass: {
+// TODO: implement this after introducing std::meta::info
katzdm wrote:
@co
@@ -5493,6 +5493,55 @@ class BuiltinBitCastExpr final
}
};
+/// Represents a C++2c reflect expression (P2996).
katzdm wrote:
Change "C++2c" to "C++26". Remove reference to "P2996".
https://github.com/llvm/llvm-project/pull/164692
__
@@ -5493,6 +5493,55 @@ class BuiltinBitCastExpr final
}
};
+/// Represents a C++2c reflect expression (P2996).
+class CXXReflectExpr : public Expr {
+
+ // Source locations.
+ SourceLocation OperatorLoc;
+ SourceRange OperandRange;
+
+ CXXReflectExpr(const ASTContext &C,
efriedma-quic wrote:
I think it's something like that? Not confident; haven't touched this in a
while.
https://github.com/llvm/llvm-project/pull/162226
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/li
@@ -1618,8 +1618,26 @@ void ASTContext::setRelocationInfoForCXXRecord(
RelocatableClasses.insert({D, Info});
}
+// In future we may want to distinguish the presence or absence of address
+// discrimination, from the inability to determine the presence. For now we
rely
+// o
andykaylor wrote:
> @andykaylor are you on discord at all?
Yes, I'm also andykaylor on Discord.
https://github.com/llvm/llvm-project/pull/164007
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cf
@@ -1208,6 +1208,13 @@ Parser::ParseCastExpression(CastParseKind ParseKind,
bool isAddressOfOperand,
AllowSuffix = false;
Res = ParseUnaryExprOrTypeTraitExpression();
break;
+ case tok::caretcaret: {
+if (getLangOpts().Reflection) {
+ SourceLocation First
@@ -499,6 +498,7 @@ LANGOPT(BoundsSafety, 1, 0, NotCompatible, "Bounds safety
extension for C")
LANGOPT(EnableLifetimeSafety, 1, 0, NotCompatible, "Experimental lifetime
safety analysis for C++")
LANGOPT(PreserveVec3Type, 1, 0, NotCompatible, "Preserve 3-component vector
ty
@@ -5501,6 +5493,55 @@ class BuiltinBitCastExpr final
}
};
+/// Represents a C++2c reflect expression (P2996).
+class CXXReflectExpr : public Expr {
+
+ // Source locations.
+ SourceLocation OperatorLoc;
+ SourceRange OperandRange;
+
+ CXXReflectExpr(const ASTContext &C,
@@ -1848,6 +1848,11 @@ def err_placeholder_expected_auto_or_decltype_auto :
Error<
"expected 'auto' or 'decltype(auto)' after concept name">;
}
+let CategoryName = "Reflection Issue" in {
+def err_cannot_reflect_operand : Error<
+ "cannot reflect the provided operand">;
--
@@ -7189,7 +7158,7 @@ defm android_pad_segment :
BooleanFFlag<"android-pad-segment">, Group;
def shared_libflangrt : Flag<["-"], "shared-libflangrt">,
HelpText<"Link the flang-rt shared library">, Group,
Visibility<[FlangOption]>, Flags<[NoArgumentUnused]>;
-def static_lib
@@ -5501,6 +5493,55 @@ class BuiltinBitCastExpr final
}
};
+/// Represents a C++2c reflect expression (P2996).
+class CXXReflectExpr : public Expr {
+
+ // Source locations.
+ SourceLocation OperatorLoc;
+ SourceRange OperandRange;
+
+ CXXReflectExpr(const ASTContext &C,
@@ -1208,6 +1208,13 @@ Parser::ParseCastExpression(CastParseKind ParseKind,
bool isAddressOfOperand,
AllowSuffix = false;
Res = ParseUnaryExprOrTypeTraitExpression();
break;
+ case tok::caretcaret: {
+if (getLangOpts().Reflection) {
erichkeane
@@ -3689,6 +3663,11 @@ defm application_extension :
BoolFOption<"application-extension",
PosFlag,
NegFlag>;
+defm reflection : BoolFOption<"reflection",
erichkeane wrote:
Again, we should decide which versions we want this enabled for, but I don't
think j
@@ -4348,6 +4348,9 @@ bool Lexer::LexTokenInternal(Token &Result, bool
TokAtPhysicalStartOfLine) {
if (Char == '=') {
CurPtr = ConsumeChar(CurPtr, SizeTmp, Result);
Kind = tok::caretequal;
+} else if (LangOpts.Reflection && Char == '^') {
e
@@ -5501,6 +5493,55 @@ class BuiltinBitCastExpr final
}
};
+/// Represents a C++2c reflect expression (P2996).
+class CXXReflectExpr : public Expr {
erichkeane wrote:
Can you document this better? This comment seems outdated?
https://github.com/llvm/llvm-
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/164508
>From 2fc5062288107c26e038f4d52cd1f522fe1c7c53 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Tue, 21 Oct 2025 15:17:45 -0700
Subject: [PATCH 1/2] [CIR] Handle overlapping values in constant init
expressio
changkhothuychung wrote:
> Can you fill in the description for this? That very much needs to be filled
> in, with context/strategy/etc. Also, did you implement this yourself, or is
> this an attempt to get Dan's implementation merged?
Hi! Yeah let me fill in the description. I referenced Dan's
https://github.com/changkhothuychung updated
https://github.com/llvm/llvm-project/pull/164692
>From 482e25e9ba7994194f564d3c5f34e57bc818ebf0 Mon Sep 17 00:00:00 2001
From: changkhothuychung
Date: Wed, 22 Oct 2025 14:34:06 -0400
Subject: [PATCH 01/15] parsing global namespace and primitive types
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/164518
>From 27fdb6b01365b537e8c317d32e7ff4da8cf656d3 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Tue, 21 Oct 2025 16:18:19 -0700
Subject: [PATCH 1/2] [CIR] Upstream support for calling functions via member
ex
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Keith Thompson (Keith-S-Thompson)
Changes
Falling through a defaultless switch statement has well defined behavior.
Credit for noticing this problem goes to user "pozz" on comp.lang.c,
Message-ID: <[email protected]>
---
https://github.com/qiongsiwu updated
https://github.com/llvm/llvm-project/pull/164345
>From 19482768ca28eb478cd45a7bd0ff63f6c0af55ea Mon Sep 17 00:00:00 2001
From: Qiongsi Wu
Date: Wed, 15 Oct 2025 09:22:59 -0700
Subject: [PATCH 1/5] Inital commit of CompilerInstanceWithContext, all tests
pass
@@ -1820,10 +1820,10 @@ CIRGenCallee CIRGenFunction::emitCallee(const
clang::Expr *e) {
// Resolve direct calls.
const auto *funcDecl = cast(declRef->getDecl());
return emitDirectCallee(funcDecl);
- } else if (isa(e)) {
-cgm.errorNYI(e->getSourceRange(),
-
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/kimsh02 updated
https://github.com/llvm/llvm-project/pull/164387
>From 0b07a4aaeb2fa0f51c4700ff1047e6cda1b1543f Mon Sep 17 00:00:00 2001
From: kimsh02
Date: Tue, 21 Oct 2025 03:26:03 -0700
Subject: [PATCH 1/2] [CIR] Upstream handling for __builtin_prefetch
---
clang/include
https://github.com/Keith-S-Thompson created
https://github.com/llvm/llvm-project/pull/164709
Falling through a defaultless switch statement has well defined behavior.
Credit for noticing this problem goes to user "pozz" on comp.lang.c,
Message-ID: <[email protected]>
>From 28362
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/164528
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1618,8 +1618,26 @@ void ASTContext::setRelocationInfoForCXXRecord(
RelocatableClasses.insert({D, Info});
}
+// In future we may want to distinguish the presence or absence of address
+// discrimination, from the inability to determine the presence. For now we
rely
+// o
@@ -13626,15 +13620,10 @@ class Sema final : public SemaBase {
PrintInstantiationStack(getDefaultDiagFunc());
}
- /// Determines whether we are currently in a context where
- /// template argument substitution failures are not considered
- /// errors.
- ///
- /// \r
ojhunt wrote:
@AaronBallman do you have any idea how I might be able to get a field with an
invalid or incomplete type without causing the containing record to be marked
incomplete or invalid?
https://github.com/llvm/llvm-project/pull/164528
___
cfe-
erichkeane wrote:
Can you fill in the description for this? That very much needs to be filled
in, with context/strategy/etc. Also, did you implement this yourself, or is
this an attempt to get Dan's implementation merged?
https://github.com/llvm/llvm-project/pull/164692
_
ojhunt wrote:
@andykaylor are you on discord at all?
https://github.com/llvm/llvm-project/pull/164007
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/localspook edited
https://github.com/llvm/llvm-project/pull/163686
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/localspook edited
https://github.com/llvm/llvm-project/pull/163686
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/changkhothuychung updated
https://github.com/llvm/llvm-project/pull/164692
>From 482e25e9ba7994194f564d3c5f34e57bc818ebf0 Mon Sep 17 00:00:00 2001
From: changkhothuychung
Date: Wed, 22 Oct 2025 14:34:06 -0400
Subject: [PATCH 01/13] parsing global namespace and primitive types
https://github.com/thurstond closed
https://github.com/llvm/llvm-project/pull/164673
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Thurston Dang
Date: 2025-10-22T13:20:18-07:00
New Revision: f2c235a892fc36a82cb8c55790eeaca7bd693ebf
URL:
https://github.com/llvm/llvm-project/commit/f2c235a892fc36a82cb8c55790eeaca7bd693ebf
DIFF:
https://github.com/llvm/llvm-project/commit/f2c235a892fc36a82cb8c55790eeaca7bd693ebf.diff
Jason-VanBeusekom wrote:
> A few comments, but this is a pretty big feature addition so it should
> probably be brought up for group discussion. Unfortunately I think the next
> two meetings are cancelled because it's the IWOMP conference and F2F meeting.
This and https://github.com/llvm/llvm-
ojhunt wrote:
> @ojhunt Are you OK with this being merged in its current form. I'd like to
> put off the refactoring I suggested until after the last piece of the dynamic
> cast handling lands (I have one more patch waiting) so I have a stable,
> working base to compare against.
yup - as abov
https://github.com/Jason-VanBeusekom updated
https://github.com/llvm/llvm-project/pull/159856
>From e7aafa4162d216914902aab34f51db5232fc8c45 Mon Sep 17 00:00:00 2001
From: "[email protected]"
Date: Fri, 12 Sep 2025 14:07:54 -0500
Subject: [PATCH 1/5] [OpenMP][clang] Register Vtables on
https://github.com/spall created
https://github.com/llvm/llvm-project/pull/164700
Add support to handle these casts in the constant expression evaluator.
- HLSLAggregateSplatCast
- HLSLElementwiseCast
- HLSLArrayRValue
Add tests
>From 276fca41ad8e81ce4189266c20d260646d6d5f4c Mon Sep 17 00:0
https://github.com/ojhunt approved this pull request.
Lgtm, no reason to block this on refactoring the path lookup logic to have a
single copy.
https://github.com/llvm/llvm-project/pull/164007
___
cfe-commits mailing list
[email protected]
ht
https://github.com/changkhothuychung updated
https://github.com/llvm/llvm-project/pull/164692
>From 482e25e9ba7994194f564d3c5f34e57bc818ebf0 Mon Sep 17 00:00:00 2001
From: changkhothuychung
Date: Wed, 22 Oct 2025 14:34:06 -0400
Subject: [PATCH 01/11] parsing global namespace and primitive types
https://github.com/Bigcheese approved this pull request.
lgtm from a modules perspective, but it would be good to have an additional
approver.
https://github.com/llvm/llvm-project/pull/164348
___
cfe-commits mailing list
[email protected]
htt
https://github.com/fmayer edited
https://github.com/llvm/llvm-project/pull/163872
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 418 matches
Mail list logo