File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 2626#include " clang/Basic/Diagnostic.h"
2727#include " clang/Basic/TargetInfo.h"
2828#include " clang/Basic/Version.h"
29+ #include " clang/AST/SYCLKernelInfo.h"
2930#include " clang/Sema/Attr.h"
3031#include " clang/Sema/Initialization.h"
3132#include " clang/Sema/ParsedAttr.h"
@@ -6928,13 +6929,6 @@ bool SYCLIntegrationHeader::emit(StringRef IntHeaderName) {
69286929 }
69296930 llvm::raw_fd_ostream Out (IntHeaderFD, true /* close in destructor*/ );
69306931 emit (Out);
6931-
6932- int IntHeaderFD1 = 0 ;
6933- std::string S{" /tmp/my-files/header.h" };
6934- llvm::sys::fs::openFileForWrite (S, IntHeaderFD1);
6935- llvm::raw_fd_ostream Out1 (IntHeaderFD1, true /* close in destructor*/ );
6936- emit (Out1);
6937-
69386932 return true ;
69396933}
69406934
You can’t perform that action at this time.
0 commit comments