Skip to content

Commit

Permalink
Remove duplicate empty lines from all source files.
Browse files Browse the repository at this point in the history
There is no reason for them to be in our sources (except for Python, where
their presence is mandated by PEP8).
  • Loading branch information
s3rvac committed Jun 25, 2019
1 parent 966b792 commit 40b2256
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 18 deletions.
2 changes: 0 additions & 2 deletions LICENSE-THIRD-PARTY
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,6 @@ JSON_checker
Copyright (c) 2002 JSON.org
All Rights Reserved.


Terms of the JSON License:
---------------------------------------------------

Expand All @@ -1436,7 +1435,6 @@ The Software shall be used for Good, not Evil.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Terms of the MIT License:
--------------------------------------------------------------------

Expand Down
1 change: 0 additions & 1 deletion include/retdec/demangler/borland_ast/built_in_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,4 @@ class BuiltInTypeNode : public TypeNode
} // demangler
} // retdec


#endif //RETDEC_BUILT_IN_TYPE_H
1 change: 0 additions & 1 deletion include/retdec/demangler/borland_ast/float_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,4 @@ class FloatTypeNode : public BuiltInTypeNode
} // demangler
} // retdec


#endif //RETDEC_FLOAT_TYPE_H
1 change: 0 additions & 1 deletion include/retdec/demangler/borland_ast/node_array.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ class NodeString : public NodeArray
} // demangler
} // retdec


#endif //RETDEC_NODE_ARRAY_H
1 change: 0 additions & 1 deletion include/retdec/demangler/borland_ast/parentheses_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ class ParenthesesNode : public Node
} // namespace demangler
} // namespace retdec


#endif //RETDEC_PARENTHESES_NODE_H
1 change: 0 additions & 1 deletion include/retdec/demangler/borland_ast/reference_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @copyright (c) 2019 Avast Software, licensed under the MIT license
*/


#ifndef RETDEC_REFERENCE_TYPE_H
#define RETDEC_REFERENCE_TYPE_H

Expand Down
1 change: 0 additions & 1 deletion include/retdec/demangler/borland_ast/rreference_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @copyright (c) 2019 Avast Software, licensed under the MIT license
*/


#ifndef RETDEC_RREFERENCE_TYPE_H
#define RETDEC_RREFERENCE_TYPE_H

Expand Down
1 change: 0 additions & 1 deletion include/retdec/demangler/borland_ast/template_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @copyright (c) 2019 Avast Software, licensed under the MIT license
*/


#ifndef RETDEC_TEMPLATE_NODE_H
#define RETDEC_TEMPLATE_NODE_H

Expand Down
1 change: 0 additions & 1 deletion include/retdec/demangler/borland_ast/type_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ class TypeNode : public Node
} // demangler
} // retdec


#endif //RETDEC_TYPE_NODE_H
1 change: 0 additions & 1 deletion src/ctypesparser/ast_ctypes_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @copyright (c) 2019 Avast Software, licensed under the MIT license
*/


#include "retdec/utils/container.h"
#include "retdec/ctypesparser/ast_ctypes_parser.h"

Expand Down
1 change: 0 additions & 1 deletion src/demangler/borland_ast/type_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Qualifiers TypeNode::quals()
return _quals;
}


} // borland
} // demangler
} // retdec
Expand Down
1 change: 0 additions & 1 deletion src/demangler/microsoft_demangler_adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @copyright (c) 2018 Avast Software, licensed under the MIT license
*/


#include <llvm/Demangle/Demangle.h>
#include <llvm/Demangle/MicrosoftDemangle.h>

Expand Down
1 change: 0 additions & 1 deletion src/fileformat/format_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ std::unique_ptr<FileFormat> createFileFormat(
}
}


std::unique_ptr<FileFormat> createFileFormat(
const std::string &filePath,
bool isRaw,
Expand Down
1 change: 0 additions & 1 deletion src/fileinfo/file_information/file_information.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ class FileInformation
void setDepsListFailedToLoad(const std::string & );
/// @}


/// @name Getters of @a exportTable
/// @{
std::size_t getNumberOfStoredExports() const;
Expand Down
1 change: 0 additions & 1 deletion tests/bin2llvmir/providers/demangler_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "retdec/ctypes/context.h"
#include "retdec/ctypes/module.h"


using namespace ::testing;
using namespace llvm;

Expand Down
2 changes: 0 additions & 2 deletions tests/demangler/borland_context_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ TEST_F(BorlandContextTests, NestedNameNodesTests)
EXPECT_NE(nn1, nn3);
}



TEST_F(BorlandContextTests, ArrayTests)
{
auto i1 = IntegralTypeNode::create(context, "int", false, {false, false});
Expand Down

0 comments on commit 40b2256

Please sign in to comment.