[clang] [CUDA][HIP] Fix overriding of constexpr virtual function (PR #121986)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 15:28:31 PST 2025
================
@@ -1309,6 +1309,13 @@ Sema::CheckOverload(Scope *S, FunctionDecl *New, const LookupResult &Old,
return Ovl_Overload;
}
+template <typename AttrT> static bool hasExplicitAttr(const FunctionDecl *D) {
+ assert(D && "function delc should not be null");
----------------
Artem-B wrote:
`delc` -> `decl` ?
https://github.com/llvm/llvm-project/pull/121986
More information about the cfe-commits
mailing list