You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following test case cannot be diagnosed with deferred diagnostics system:
int foo() { throw 1; }
struct S {
int bar = foo();
};
SYCL_EXTERNAL void bar() { S s; }
We do our reporting at a functiondecl->caller level, when the declcontext can actually be a CXXRecordDecl as well.
NOTE: This seems broken not only for SYCL, but for any other programming model which allows in-class initializes.
The text was updated successfully, but these errors were encountered:
The following test case cannot be diagnosed with deferred diagnostics system:
We do our reporting at a functiondecl->caller level, when the declcontext can actually be a CXXRecordDecl as well.
NOTE: This seems broken not only for SYCL, but for any other programming model which allows in-class initializes.
The text was updated successfully, but these errors were encountered: