Skip to content
2 changes: 1 addition & 1 deletion clang/include/clang/Sema/Sema.h
Original file line number Diff line number Diff line change
Expand Up @@ -13157,7 +13157,7 @@ class Sema final {
void checkSYCLDeviceVarDecl(VarDecl *Var);
void copySYCLKernelAttrs(const CXXRecordDecl *KernelObj);
void ConstructOpenCLKernel(FunctionDecl *KernelCallerFunc, MangleContext &MC);
void MarkDevice();
void MarkDevices();

/// Emit a diagnostic about the given attribute having a deprecated name, and
/// also emit a fixit hint to generate the new attribute name.
Expand Down
2 changes: 1 addition & 1 deletion clang/lib/Sema/Sema.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ void Sema::ActOnEndOfTranslationUnitFragment(TUFragmentKind Kind) {
// Emit SYCL integration header for current translation unit if needed
if (SyclIntHeader != nullptr)
SyclIntHeader->emit(getLangOpts().SYCLIntHeader);
MarkDevice();
MarkDevices();
}

emitDeferredDiags();
Expand Down
Loading