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 @@ -13182,7 +13182,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 @@ -1039,7 +1039,7 @@ void Sema::ActOnEndOfTranslationUnitFragment(TUFragmentKind Kind) {
SyclIntHeader->emit(getLangOpts().SYCLIntHeader);
if (SyclIntFooter != nullptr)
SyclIntFooter->emit(getLangOpts().SYCLIntFooter);
MarkDevice();
MarkDevices();
}

emitDeferredDiags();
Expand Down
Loading