FROM debian:10
-# Seperate layer because this is required no matter what
+# Separate layer because this is required no matter what
RUN apt-get update && apt-get install -y --no-install-recommends build-essential \
&& rm -rf /var/lib/apt/lists/*
FROM debian:9
-# Seperate layer because this is required no matter what
+# Separate layer because this is required no matter what
RUN apt-get update && apt-get install -y --no-install-recommends build-essential \
&& rm -rf /var/lib/apt/lists/*
FROM ubuntu:trusty
-# Seperate layer because this is required no matter what
+# Separate layer because this is required no matter what
RUN apt-get update && apt-get install -y --no-install-recommends build-essential \
&& rm -rf /var/lib/apt/lists/*
FROM ubuntu:xenial
-# Seperate layer because this is required no matter what
+# Separate layer because this is required no matter what
RUN apt-get update && apt-get install -y --no-install-recommends build-essential \
&& rm -rf /var/lib/apt/lists/*
FROM ubuntu:focal
-# Seperate layer because this is required no matter what
+# Separate layer because this is required no matter what
RUN apt-get update && apt-get install -y --no-install-recommends build-essential \
&& rm -rf /var/lib/apt/lists/*
# * -Wnull-dereference
# * -Wformat=2
)
-# Tested seperatly as this is not supported by clang 3.4
+# Tested separately as this is not supported by clang 3.4
add_target_compile_flag_if_supported(standard_warnings "-Wdouble-promotion")
if(WARNINGS_AS_ERRORS)
#
# To be enabled in the future:
#
- # * -Wmisleading- indentation # warn if identation implies blocks where
+ # * -Wmisleading- indentation # warn if indentation implies blocks where
# blocks do not exist
# * -Wduplicated-cond # warn if if / else chain has duplicated conditions
# * -Wduplicated-branches # warn if if / else branches have duplicated code
echo "You can install it via pip3 install cmake-format"
fi
-echo "Formating complete"
+echo "Formatting complete"
// Sets is_nfs to the result if fstatfs is available and no error occurred.
//
// Returns 0 if is_nfs was set, -1 if fstatfs is not available or errno if an
-// error occured.
+// error occurred.
int is_nfs_fd(int fd, bool* is_nfs);
// Return whether `ch` is a directory separator, i.e. '/' on POSIX systems and
// run_second_cpp is false.
#define AFFECTS_CPP (1 << 5)
-// The option only affects compilation; not passed to the preprocesor.
+// The option only affects compilation; not passed to the preprocessor.
#define AFFECTS_COMP (1 << 6)
struct compopt
CHECK(exp_cc == act_cc);
}
-TEST_CASE("options_not_to_be_passed_to_the_preprocesor")
+TEST_CASE("options_not_to_be_passed_to_the_preprocessor")
{
TestContext test_context;