Skip to content

Commit

Permalink
Fix white space errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kubov committed May 29, 2020
1 parent 094ff8c commit 43de894
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/bin2llvmir/optimizations/phi_remover/phi_remover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ bool PhiRemover::run()

auto* entryBb = &f.getEntryBlock();
llvm::BasicBlock::iterator insertIt = entryBb->begin();
while (llvm::isa<llvm::AllocaInst>(insertIt))
while (llvm::isa<llvm::AllocaInst>(insertIt))
{
++insertIt;
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin2llvmir/optimizations/x87_fpu/x87_fpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ bool X87FpuAnalysis::run()
funMd.addEquation({{enterBlock, 1, funMd.inIndex}}, EMPTY_FPU_STACK);

for (Function::iterator bbIt=funMd.function.begin(),
bbEndIt = funMd.function.end(); bbIt != bbEndIt; ++bbIt)
bbEndIt = funMd.function.end(); bbIt != bbEndIt; ++bbIt)
{
BasicBlock* bb = bbIt.operator->();
int relativeOutBbTop = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace fileinfo {
class DynamicSection
{
private:
/// declared number of entries in section
/// declared number of entries in section
unsigned long long declaredEntries = std::numeric_limits<unsigned long long>::max();
std::string name;
std::vector<DynamicEntry> table;
Expand Down
1 change: 0 additions & 1 deletion src/fileinfo/fileinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,4 +525,3 @@ int main(int argc, char* argv[])
delete fileDetector;
return isFatalError(res) ? static_cast<int>(res) : static_cast<int>(ReturnCode::OK);
}

1 change: 0 additions & 1 deletion src/macho-extractor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ install(
DESTINATION
"${RETDEC_INSTALL_CMAKE_DIR}"
)

1 change: 0 additions & 1 deletion src/pelib/InputBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ namespace PeLib
ulIndex = 0;
}
}

2 changes: 1 addition & 1 deletion src/pelib/RelocationsDirectory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace PeLib
// 1) IMG_BASE_RELOC followed by array of USHORTs.
// 2) IMG_BASE_RELOC followed by array of USHORTs
// and so on, up to uiSize
while((offset + PELIB_IMAGE_SIZEOF_BASE_RELOCATION) < uiSize)
while((offset + PELIB_IMAGE_SIZEOF_BASE_RELOCATION) < uiSize)
{
IMG_BASE_RELOC ibrCurr;

Expand Down

0 comments on commit 43de894

Please sign in to comment.