File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ namespace psr {
2727
2828std::string readTextFile (const std::filesystem::path &Path);
2929
30- std::unique_ptr<llvm::MemoryBuffer> readFile (const std::filesystem::path &Path);
30+ std::unique_ptr
31+ <llvm::MemoryBuffer> readFile (const std::filesystem::path &Path);
3132std::unique_ptr<llvm::MemoryBuffer> readFile (const llvm::Twine &Path);
3233
3334void writeTextFile (const std::filesystem::path &Path, llvm::StringRef Content);
Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ bool isFunctionPointer(const llvm::Value *V) noexcept {
5757}
5858
5959bool isAllocaInstOrHeapAllocaFunction (const llvm::Value *V) noexcept {
60- if (V) {
60+ if (V)
61+ {
6162 if (llvm::isa<llvm::AllocaInst>(V)) {
6263 return true ;
6364 }
@@ -457,8 +458,7 @@ llvm::StringRef getVarAnnotationIntrinsicName(const llvm::CallInst *CallInst) {
457458 return Data->getAsCString ();
458459}
459460
460- llvm::ModuleSlotTracker &
461- ModulesToSlotTracker::getSlotTrackerForModule (const llvm::Module *M) {
461+ llvm::ModuleSlotTracker &ModulesToSlotTracker::getSlotTrackerForModule (const llvm::Module *M) {
462462 auto &ret = MToST[M];
463463 if (M == nullptr && ret == nullptr ) {
464464 ret = std::make_unique<llvm::ModuleSlotTracker>(M);
You can’t perform that action at this time.
0 commit comments