Skip to content

Commit d3d2102

Browse files
committed
formatting
1 parent f0a2bfd commit d3d2102

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

clang/lib/Interpreter/DeviceOffload.cpp

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

2727
IncrementalCUDADeviceParser::IncrementalCUDADeviceParser(
28-
CompilerInstance &DeviceInstance,
29-
CompilerInstance &HostInstance, IncrementalAction *DeviceAct,
28+
CompilerInstance &DeviceInstance, CompilerInstance &HostInstance,
29+
IncrementalAction *DeviceAct,
3030
llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> FS,
3131
llvm::Error &Err, std::list<PartialTranslationUnit> &PTUs)
3232
: IncrementalParser(DeviceInstance, DeviceAct, Err, PTUs), VFS(FS),

clang/lib/Interpreter/DeviceOffload.h

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

2929
public:
3030
IncrementalCUDADeviceParser(
31-
CompilerInstance &DeviceInstance,
32-
CompilerInstance &HostInstance, IncrementalAction *DeviceAct,
31+
CompilerInstance &DeviceInstance, CompilerInstance &HostInstance,
32+
IncrementalAction *DeviceAct,
3333
llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS,
3434
llvm::Error &Err, std::list<PartialTranslationUnit> &PTUs);
3535

clang/lib/Interpreter/IncrementalAction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void IncrementalAction::CacheCodeGenModule() {
9090
CachedInCodeGenModule = GenModule();
9191
}
9292

93-
llvm::Module* IncrementalAction::getCachedCodeGenModule() const {
93+
llvm::Module *IncrementalAction::getCachedCodeGenModule() const {
9494
return CachedInCodeGenModule.get();
9595
}
9696

clang/lib/Interpreter/IncrementalAction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class IncrementalAction : public WrapperFrontendAction {
6767
void CacheCodeGenModule();
6868

6969
/// Access the cached CodeGen module.
70-
llvm::Module* getCachedCodeGenModule() const;
70+
llvm::Module *getCachedCodeGenModule() const;
7171

7272
/// Access the current code generator.
7373
CodeGenerator *getCodeGen() const;

clang/lib/Interpreter/Interpreter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ Interpreter::createWithCUDA(std::unique_ptr<CompilerInstance> CI,
395395
Interp->DeviceCI = std::move(DCI);
396396

397397
auto DeviceParser = std::make_unique<IncrementalCUDADeviceParser>(
398-
*Interp->DeviceCI, *Interp->getCompilerInstance(), Interp->DeviceAct.get(),
399-
IMVFS, Err, Interp->PTUs);
398+
*Interp->DeviceCI, *Interp->getCompilerInstance(),
399+
Interp->DeviceAct.get(), IMVFS, Err, Interp->PTUs);
400400

401401
if (Err)
402402
return std::move(Err);

0 commit comments

Comments
 (0)