Skip to content

Commit 8ab286e

Browse files
authored
Merge pull request #320 from B2R2-org/319-lint-fix-appconvention-wrong-spacing
[Lint] Fix wrong space check due to App
2 parents 7a6e12c + 5b1c280 commit 8ab286e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/FrontEnd/NameMangling/MSDemangler.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ type MSDemangler() =
405405
<|> anonymousParam
406406
let constructedTemplate =
407407
pstring "?$?" >>. anyOf "01"
408-
>>. many (specialTemplateParams <|> possibleType) .>> pchar '@'.>>.
408+
>>. many (specialTemplateParams <|> possibleType) .>> pchar '@' .>>.
409409
((pnameAndAt <|> attempt pTemplate) >>= addToNameList <|> nameFragment)
410410
|>> ConstructedTemplate
411411

src/FrontEnd/SPARC/GeneralLifter.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ let getNextReg bld reg =
263263
let getFloatClass bld freg =
264264
if (freg = regVar bld Register.F0 || freg = regVar bld Register.F2
265265
|| freg = regVar bld Register.F4 || freg = regVar bld Register.F6
266-
|| freg = regVar bld Register.F8|| freg = regVar bld Register.F10
266+
|| freg = regVar bld Register.F8 || freg = regVar bld Register.F10
267267
|| freg = regVar bld Register.F12 || freg = regVar bld Register.F14
268268
|| freg = regVar bld Register.F16 || freg = regVar bld Register.F18
269269
|| freg = regVar bld Register.F20 || freg = regVar bld Register.F22

src/FrontEnd/SPARC/ParsingMain.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3555,7 +3555,7 @@ let parse10 b32 =
35553555
| _ -> struct (Opcode.InvalidOp, NoOperand)
35563556
| 0b101000u ->
35573557
match pickBit b32 13u with
3558-
| 0b0u -> parse101000 b32
3558+
| 0b0u -> parse101000 b32
35593559
| _ ->
35603560
match pickBit b32 25u with
35613561
| 0u ->

src/FrontEnd/TMS320C6000/ParsingMain.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ let private parseMUnitCompound bin =
14861486
| 0b11100u -> parseXiIntInt bin Op.SSHVL unit
14871487
| 0b11101u -> parseXUiUiUi bin Op.ROTL unit
14881488
| 0b11110u -> parseXUiUc5Ui bin Op.ROTL unit
1489-
| _ -> Terminator.impossible ()
1489+
| _ -> Terminator.impossible ()
14901490

14911491
/// Appendix E. page 743. Fig. E-2
14921492
let private parseMUnitUnaryExt bin =

src/MiddleEnd/BinGraph/Loop.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ let private findNaturalLoopBody g (edge: Edge<_, _>) =
3939
let stack = Stack()
4040
let n, h = edge.First, edge.Second
4141
body.Add h |> ignore
42-
stack.Push n
42+
stack.Push n
4343
while stack.Count > 0 do
4444
let v = stack.Pop()
4545
if not (body.Contains v) then

0 commit comments

Comments
 (0)