Skip to content

Commit d963e41

Browse files
committed
Fix end-of-file
1 parent 23139b2 commit d963e41

File tree

70 files changed

+35
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+35
-74
lines changed

.clang-format

-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ AllowShortFunctionsOnASingleLine: Empty
66
AllowShortLoopsOnASingleLine: false
77
BinPackArguments: false
88
ColumnLimit: 100
9-

CONTRIBUTING.md

-1

cmake/packaging/cpack.PKG-freebsd.cmake

-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ set (CPACK_FREEBSD_PACKAGE_WWW ${PROJECT_HOMEPAGE_URL})
1515
set (CPACK_FREEBSD_PACKAGE_LICENSE "Apache-2.0")
1616
set (CPACK_FREEBSD_PACKAGE_MAINTAINER ${CPACK_PACKAGE_CONTACT})
1717
set (CPACK_FREEBSD_PACKAGE_ORIGIN "misc/mull")
18-

cmake/properties.cmake

-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ endfunction()
1515
function(add_fixture_dependency dependency)
1616
set_property(GLOBAL APPEND PROPERTY TEST_FIXTURES_DEPENDENCIES ${dependency})
1717
endfunction()
18-

docs/_static/custom.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
td p {
22
margin-right: 20px;
3-
}
3+
}

docs/archive/Config.md

-1

docs/archive/GettingStartedMacOS.md

-1

docs/command-line/generated/mull-runner-cli-options.rst

-1

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ def project_version():
7171
# so a file named "default.css" will overwrite the builtin "default.css".
7272
html_static_path = ['_static']
7373
html_css_files = [ 'custom.css' ]
74-
master_doc = 'index'
74+
master_doc = 'index'

docs/generated/Mutators.rst

-1

docs/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
guzzle_sphinx_theme
2-
sphinx>=2.2.0
2+
sphinx>=2.2.0

include/mull/Filters/Filter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ class Filter {
77
virtual ~Filter() = default;
88
};
99

10-
} // namespace mull
10+
} // namespace mull

include/mull/JunkDetection/CXX/Visitors/NegateConditionVisitor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ class NegateConditionVisitor
1919
InstructionRangeVisitor visitor;
2020
};
2121

22-
} // namespace mull
22+
} // namespace mull

include/mull/JunkDetection/CXX/Visitors/RemoveVoidFunctionVisitor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ class RemoveVoidFunctionVisitor
2525
clang::Expr *matchingExpression;
2626
};
2727

28-
} // namespace mull
28+
} // namespace mull

include/mull/JunkDetection/CXX/Visitors/ReplaceCallVisitor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ class ReplaceCallVisitor : public clang::RecursiveASTVisitor<ReplaceCallVisitor>
2121
InstructionRangeVisitor visitor;
2222
};
2323

24-
} // namespace mull
24+
} // namespace mull

include/mull/JunkDetection/CXX/Visitors/ScalarValueVisitor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ class ScalarValueVisitor
2121
ASTScalarMutationMatcher scalarMutationMatcher;
2222
};
2323

24-
} // namespace mull
24+
} // namespace mull

include/mull/JunkDetection/CXX/Visitors/VarDeclVisitor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ class VarDeclVisitor : public clang::RecursiveASTVisitor<VarDeclVisitor> {
4040
};
4141

4242
} // namespace cxx
43-
} // namespace mull
43+
} // namespace mull

include/mull/JunkDetection/CXX/Visitors/VisitorParameters.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ struct VisitorParameters {
1212
clang::ASTContext &astContext;
1313
};
1414

15-
} // namespace mull
15+
} // namespace mull

include/mull/Mutators/CXX/ArithmeticMutators.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ class UnaryMinusToNoop : public Mutator {
120120

121121
} // namespace cxx
122122

123-
} // namespace mull
123+
} // namespace mull

include/mull/Mutators/CXX/BitwiseMutators.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ class XorAssignToOrAssign : public TrivialCXXMutator {
6666
};
6767

6868
} // namespace cxx
69-
} // namespace mull
69+
} // namespace mull

include/mull/Mutators/CXX/CallMutators.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ class ReplaceScalarCall : public TrivialCXXMutator {
1818
};
1919

2020
} // namespace cxx
21-
} // namespace mull
21+
} // namespace mull

include/mull/Mutators/CXX/NumberMutators.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ class NumberInitConst : public TrivialCXXMutator {
1919
};
2020

2121
}
22-
} // namespace mull
22+
} // namespace mull

include/mull/Mutators/CXX/RelationalMutators.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ class LessOrEqualToGreaterThan : public TrivialCXXMutator {
6868

6969
} // namespace cxx
7070

71-
} // namespace mull
71+
} // namespace mull

include/mull/Mutators/CXX/RemoveNegation.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ class RemoveNegation : public TrivialCXXMutator {
1414

1515
} // namespace cxx
1616

17-
} // namespace mull
17+
} // namespace mull

include/mull/Mutators/CXX/TrivialCXXMutator.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ class TrivialCXXMutator : public Mutator {
4444

4545
} // namespace cxx
4646

47-
} // namespace mull
47+
} // namespace mull

include/mull/Parallelization/Tasks/FunctionFilterTask.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ class FunctionFilterTask {
2323
FunctionFilter &filter;
2424
};
2525

26-
} // namespace mull
26+
} // namespace mull

include/mull/Reporters/IDEReporter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ class IDEReporter : public Reporter {
1818
SourceCodeReader sourceCodeReader;
1919
};
2020

21-
} // namespace mull
21+
} // namespace mull

lib/Config/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ add_library(mull-configuration
66
target_include_directories(mull-configuration PUBLIC ${CMAKE_SOURCE_DIR}/include)
77
target_include_directories(mull-configuration PRIVATE ${LLVM_INCLUDE_DIRS})
88
# FIXME: replace with target_compile_options()
9-
set_target_properties(mull-configuration PROPERTIES COMPILE_FLAGS ${MULL_CXX_FLAGS})
9+
set_target_properties(mull-configuration PROPERTIES COMPILE_FLAGS ${MULL_CXX_FLAGS})

lib/Diagnostics/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ target_include_directories(Diagnostics PUBLIC ${CMAKE_SOURCE_DIR}/include)
88

99
set_target_properties(Diagnostics PROPERTIES
1010
COMPILE_FLAGS ${MULL_CXX_FLAGS}
11-
)
11+
)

lib/JunkDetection/CXX/Visitors/UnaryVisitor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ bool cxx::UnaryVisitor::VisitUnaryOperator(clang::UnaryOperator *unaryOperator)
2828

2929
clang::Expr *cxx::UnaryVisitor::foundMutant() {
3030
return matchingExpression;
31-
}
31+
}

lib/Mutators/CXX/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ target_include_directories(mull-cxx-mutators SYSTEM PRIVATE ${THIRD_PARTY_INCLUD
1616
# TODO: replace with target_compile_options and target_link_options
1717
set_target_properties(mull-cxx-mutators PROPERTIES
1818
COMPILE_FLAGS ${MULL_CXX_FLAGS}
19-
)
19+
)

lib/Mutators/CXX/CallMutators.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ std::string ReplaceScalarCall::ID() {
3434
ReplaceScalarCall::ReplaceScalarCall()
3535
: TrivialCXXMutator(getReplaceScalarCall(), MutatorKind::CXX_ReplaceScalarCall,
3636
ReplaceScalarCall::ID(), "Replaces call to a function with 42", "42",
37-
"Replaced call to a function with 42") {}
37+
"Replaced call to a function with 42") {}

lib/Parallelization/TaskExecutor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ void printTimeSummary(Diagnostics &diagnostics, MetricsMeasure measure) {
4040
diagnostics.progress(stringstream.str());
4141
}
4242

43-
} // namespace mull
43+
} // namespace mull

tests/end2end/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
fmt
22
openssl
3-
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_add_to_sub
33
quiet: false
4-

tests/integration/options/mull.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_add_to_sub
33
quiet: false
4-
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
*.lib
2-
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
*.lib
2-

tests/integration/tutorials/hello-world/step-2-1-no-debug-no-config/sample.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ CHECK:[warning] Mull cannot find config (mull.yml). Using some defaults.
1010
CHECK:[warning] Mull cannot find debug information. Recompile with `-g` flag.
1111
CHECK:[warning] Mull cannot find compiler flags. Recompile with `-grecord-command-line` flag.
1212
**/
13-
14-

tests/integration/warm-up-run/passed/sample.c

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ int main() {
77
// RUN: cd / && %clang_cc %sysroot %pass_mull_ir_frontend %s -o %s.exe
88
// RUN: (unset TERM; %mull_runner -workers=1 %s.exe 2>&1; test $? = 0) | %filecheck %s --dump-input=fail --strict-whitespace --match-full-lines
99
// CHECK:[info] No mutants found. Mutation score: infinitely high
10-

tests/unit/TestModuleFactory.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ std::unique_ptr<Bitcode> loadBitcodeFromIR(const char *path) {
3939
return std::make_unique<Bitcode>(std::move(context), std::move(module));
4040
}
4141

42-
} // namespace mull
42+
} // namespace mull

tests/unit/fixtures/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
Makefile.common
2-

tests/unit/fixtures/hardcode/CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ set (HARDCODED_FILES
66
foreach(file ${HARDCODED_FILES})
77
add_fixture(${file})
88
endforeach()
9-
10-

tests/unit/fixtures/junk_detection/compdb/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ set (databases
4141
foreach(database ${databases})
4242
add_fixture(${database})
4343
endforeach()
44-

tests/unit/fixtures/junk_detection/compdb/include/header.h

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ class CPlusPlus {
1111
return x * 14;
1212
}
1313
};
14-

tests/unit/fixtures/junk_detection/compdb/main.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,3 @@ int main() {
5252
CPlusPlus cpp;
5353
return cpp.foobar(44);
5454
}
55-
56-
57-
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
add_subdirectory(no_debug_filter)
2-
add_subdirectory(file_path)
2+
add_subdirectory(file_path)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
int sum(int a, int b) { return a + b; }
1+
int sum(int a, int b) { return a + b; }
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
int sum(int a, int b) { return a + b; }
1+
int sum(int a, int b) { return a + b; }
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
int sum(int a, int b) { return a + b; }
1+
int sum(int a, int b) { return a + b; }

tests/unit/fixtures/mutators/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ add_subdirectory(replace_assignment)
1313
add_subdirectory(replace_call)
1414
add_subdirectory(scalar_value)
1515
add_subdirectory(remove_negation)
16-

tests/unit/fixtures/mutators/boundary/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ compile_fixture(
33
OUTPUT_EXTENSION bc
44
FLAGS -g -c -emit-llvm
55
)
6-

tests/unit/fixtures/mutators/boundary/module.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@ int fff(int a, int b) {
5555
int main() {
5656
return 0;
5757
}
58-

tests/unit/fixtures/mutators/math/bitwise_not.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ char negate(char c) {
88

99
char xorr(char c) {
1010
return c ^ 42;
11-
}
11+
}

tests/unit/fixtures/mutators/math/unary_minus.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ char fourty2minusA(char a) {
2424

2525
char zeroMinusA(char a) {
2626
return 0 - a;
27-
}
27+
}

tests/unit/fixtures/mutators/math_add/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ compile_fixture(
33
OUTPUT_EXTENSION bc
44
FLAGS -g -c -emit-llvm
55
)
6-

tests/unit/fixtures/mutators/math_add/module.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,3 @@ int ff(int x, int g) {
7272
int main() {
7373
return 0;
7474
}
75-

tests/unit/fixtures/mutators/math_sub/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ compile_fixture(
33
OUTPUT_EXTENSION bc
44
FLAGS -g -c -emit-llvm
55
)
6-

tests/unit/fixtures/mutators/math_sub/junk.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,3 @@ int ff(int x, int g) {
8383
int main() {
8484
return 0;
8585
}
86-

tests/unit/fixtures/mutators/negate_condition/junk.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,3 @@ int f_float() {
8282
float b = 33;
8383
return foo(a, b);
8484
}
85-

tests/unit/fixtures/mutators/remove_void_function/junk.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,3 @@ void buzz() {
5353
Buzz c;
5454
c = a;
5555
}
56-

tests/unit/fixtures/mutators/replace_assignment/junk.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ void test4() {
4141
auto t1(externInteger);
4242
auto t2(externFloatCall());
4343
auto t3(externDouble);
44-
}
44+
}

tests/unit/fixtures/mutators/scalar_value/junk.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ int f3(int x) {
1818
const int B = 220;
1919
const int X = A + B;
2020
return x + X;
21-
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
*.bc
22
*.o
33
*.ll
4-
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
add_subdirectory(count_letters)
2-

tests/unit/fixtures/simple_test/count_letters/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ foreach(source ${SOURCES})
1010
FLAGS -g -c -emit-llvm
1111
)
1212
endforeach()
13-

tests/unit/fixtures/simple_test/count_letters/count_letters.c

-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ int count_letters(const char *string, char ch) {
1212

1313
return count;
1414
}
15-

tools/mull-ir-frontend/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ set_target_properties(mull-cxx-ir-frontend-${LLVM_VERSION_MAJOR} PROPERTIES PREF
88
set_target_properties(mull-cxx-ir-frontend-${LLVM_VERSION_MAJOR} PROPERTIES SUFFIX "")
99
install(TARGETS mull-cxx-ir-frontend-${LLVM_VERSION_MAJOR}
1010
RUNTIME DESTINATION lib
11-
)
11+
)

vendor/googletest/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ set_target_properties(google-test
1414
target_include_directories(google-test PUBLIC
1515
${google_test_include_dirs}
1616
)
17-

0 commit comments

Comments
 (0)