Skip to content

Commit 5df3bc6

Browse files
committed
formatting
1 parent 8783ea0 commit 5df3bc6

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

clang/lib/Interpreter/DeviceOffload.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
namespace clang {
2626

2727
IncrementalCUDADeviceParser::IncrementalCUDADeviceParser(
28-
CompilerInstance &DeviceInstance,
29-
CompilerInstance &HostInstance,
28+
CompilerInstance &DeviceInstance, CompilerInstance &HostInstance,
3029
llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS,
3130
llvm::Error &Err, const std::list<PartialTranslationUnit> &PTUs)
3231
: IncrementalParser(DeviceInstance, Err), PTUs(PTUs), VFS(FS),

clang/lib/Interpreter/DeviceOffload.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ class IncrementalCUDADeviceParser : public IncrementalParser {
2828

2929
public:
3030
IncrementalCUDADeviceParser(
31-
CompilerInstance &DeviceInstance,
32-
CompilerInstance &HostInstance,
31+
CompilerInstance &DeviceInstance, CompilerInstance &HostInstance,
3332
llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS,
3433
llvm::Error &Err, const std::list<PartialTranslationUnit> &PTUs);
3534

clang/lib/Interpreter/Interpreter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@ Interpreter::createWithCUDA(std::unique_ptr<CompilerInstance> CI,
508508
Interp->DeviceCI = std::move(DCI);
509509

510510
auto DeviceParser = std::make_unique<IncrementalCUDADeviceParser>(
511-
*Interp->DeviceCI, *Interp->getCompilerInstance(), IMVFS, Err, Interp->PTUs);
511+
*Interp->DeviceCI, *Interp->getCompilerInstance(), IMVFS, Err,
512+
Interp->PTUs);
512513

513514
if (Err)
514515
return std::move(Err);

0 commit comments

Comments
 (0)