Initial import of libdpf.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
e4e666f459
4563 changed files with 1690372 additions and 0 deletions
333
thirdparty/hedley/test/Makefile.dmc
vendored
Normal file
333
thirdparty/hedley/test/Makefile.dmc
vendored
Normal file
|
|
@ -0,0 +1,333 @@
|
|||
# Generated by Makefile. Do not edit.
|
||||
CC = "dmc.exe"
|
||||
CXX = $(CC)
|
||||
|
||||
CFLAGS = -w -w17 -w18 -wx
|
||||
CXXFLAGS = -wc $(CFLAGS)
|
||||
|
||||
TESTS = \
|
||||
array-param.exe array-param-cpp.exe \
|
||||
assume.exe assume-cpp.exe \
|
||||
cast.exe cast-cpp.exe \
|
||||
concat.exe concat-cpp.exe \
|
||||
const.exe const-cpp.exe \
|
||||
constant.exe constant-cpp.exe \
|
||||
deprecated.exe deprecated-cpp.exe \
|
||||
empty-bases.exe empty-bases-cpp.exe \
|
||||
fallthrough.exe fallthrough-cpp.exe \
|
||||
flags.exe flags-cpp.exe \
|
||||
inline.exe inline-cpp.exe \
|
||||
likely.exe likely-cpp.exe \
|
||||
malloc.exe malloc-cpp.exe \
|
||||
message.exe message-cpp.exe \
|
||||
noinline.exe noinline-cpp.exe \
|
||||
no-escape.exe no-escape-cpp.exe \
|
||||
no-return.exe no-return-cpp.exe \
|
||||
non-null.exe non-null-cpp.exe \
|
||||
predict.exe predict-cpp.exe \
|
||||
printf-format.exe printf-format-cpp.exe \
|
||||
pure.exe pure-cpp.exe \
|
||||
require.exe require-cpp.exe \
|
||||
restrict.exe restrict-cpp.exe \
|
||||
returns-non-null.exe returns-non-null-cpp.exe \
|
||||
sentinel.exe sentinel-cpp.exe \
|
||||
static-assert.exe static-assert-cpp.exe \
|
||||
stringify.exe stringify-cpp.exe \
|
||||
unknown-cpp-attributes.exe unknown-cpp-attributes-cpp.exe \
|
||||
unknown-pragmas.exe unknown-pragmas-cpp.exe \
|
||||
unavailable.exe unavailable-cpp.exe \
|
||||
unreachable.exe unreachable-cpp.exe \
|
||||
unused-function.exe unused-function-cpp.exe \
|
||||
visibility.exe visibility-cpp.exe \
|
||||
warn.exe warn-cpp.exe \
|
||||
warn-unused-result.exe warn-unused-result-cpp.exe \
|
||||
$(NULL)
|
||||
|
||||
CLEANFILES = $(TESTS) \
|
||||
array-param.cpp array-param.exe array-param-cpp.exe array-param.map array-param-cpp.map \
|
||||
assume.cpp assume.exe assume-cpp.exe assume.map assume-cpp.map \
|
||||
cast.cpp cast.exe cast-cpp.exe cast.map cast-cpp.map \
|
||||
concat.cpp concat.exe concat-cpp.exe concat.map concat-cpp.map \
|
||||
const.cpp const.exe const-cpp.exe const.map const-cpp.map \
|
||||
constant.cpp constant.exe constant-cpp.exe constant.map constant-cpp.map \
|
||||
deprecated.cpp deprecated.exe deprecated-cpp.exe deprecated.map deprecated-cpp.map \
|
||||
empty-bases.cpp empty-bases.exe empty-bases-cpp.exe empty-bases.map empty-bases-cpp.map \
|
||||
fallthrough.cpp fallthrough.exe fallthrough-cpp.exe fallthrough.map fallthrough-cpp.map \
|
||||
flags.cpp flags.exe flags-cpp.exe flags.map flags-cpp.map \
|
||||
inline.cpp inline.exe inline-cpp.exe inline.map inline-cpp.map \
|
||||
likely.cpp likely.exe likely-cpp.exe likely.map likely-cpp.map \
|
||||
malloc.cpp malloc.exe malloc-cpp.exe malloc.map malloc-cpp.map \
|
||||
message.cpp message.exe message-cpp.exe message.map message-cpp.map \
|
||||
noinline.cpp noinline.exe noinline-cpp.exe noinline.map noinline-cpp.map \
|
||||
no-escape.cpp no-escape.exe no-escape-cpp.exe no-escape.map no-escape-cpp.map \
|
||||
no-return.cpp no-return.exe no-return-cpp.exe no-return.map no-return-cpp.map \
|
||||
non-null.cpp non-null.exe non-null-cpp.exe non-null.map non-null-cpp.map \
|
||||
predict.cpp predict.exe predict-cpp.exe predict.map predict-cpp.map \
|
||||
printf-format.cpp printf-format.exe printf-format-cpp.exe printf-format.map printf-format-cpp.map \
|
||||
pure.cpp pure.exe pure-cpp.exe pure.map pure-cpp.map \
|
||||
require.cpp require.exe require-cpp.exe require.map require-cpp.map \
|
||||
restrict.cpp restrict.exe restrict-cpp.exe restrict.map restrict-cpp.map \
|
||||
returns-non-null.cpp returns-non-null.exe returns-non-null-cpp.exe returns-non-null.map returns-non-null-cpp.map \
|
||||
sentinel.cpp sentinel.exe sentinel-cpp.exe sentinel.map sentinel-cpp.map \
|
||||
static-assert.cpp static-assert.exe static-assert-cpp.exe static-assert.map static-assert-cpp.map \
|
||||
stringify.cpp stringify.exe stringify-cpp.exe stringify.map stringify-cpp.map \
|
||||
unknown-cpp-attributes.cpp unknown-cpp-attributes.exe unknown-cpp-attributes-cpp.exe unknown-cpp-attributes.map unknown-cpp-attributes-cpp.map \
|
||||
unknown-pragmas.cpp unknown-pragmas.exe unknown-pragmas-cpp.exe unknown-pragmas.map unknown-pragmas-cpp.map \
|
||||
unavailable.cpp unavailable.exe unavailable-cpp.exe unavailable.map unavailable-cpp.map \
|
||||
unreachable.cpp unreachable.exe unreachable-cpp.exe unreachable.map unreachable-cpp.map \
|
||||
unused-function.cpp unused-function.exe unused-function-cpp.exe unused-function.map unused-function-cpp.map \
|
||||
visibility.cpp visibility.exe visibility-cpp.exe visibility.map visibility-cpp.map \
|
||||
warn.cpp warn.exe warn-cpp.exe warn.map warn-cpp.map \
|
||||
warn-unused-result.cpp warn-unused-result.exe warn-unused-result-cpp.exe warn-unused-result.map warn-unused-result-cpp.map \
|
||||
$(NULL)
|
||||
|
||||
all: $(TESTS)
|
||||
|
||||
clean:
|
||||
del /Q $(CLEANFILES)
|
||||
|
||||
array-param.exe: array-param.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
array-param.cpp: array-param.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
array-param-cpp.exe: array-param.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
assume.exe: assume.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
assume.cpp: assume.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
assume-cpp.exe: assume.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
cast.exe: cast.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
cast.cpp: cast.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
cast-cpp.exe: cast.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
concat.exe: concat.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
concat.cpp: concat.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
concat-cpp.exe: concat.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
const.exe: const.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
const.cpp: const.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
const-cpp.exe: const.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
constant.exe: constant.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
constant.cpp: constant.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
constant-cpp.exe: constant.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
deprecated.exe: deprecated.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
deprecated.cpp: deprecated.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
deprecated-cpp.exe: deprecated.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
empty-bases.exe: empty-bases.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
empty-bases.cpp: empty-bases.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
empty-bases-cpp.exe: empty-bases.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
fallthrough.exe: fallthrough.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
fallthrough.cpp: fallthrough.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
fallthrough-cpp.exe: fallthrough.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
flags.exe: flags.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
flags.cpp: flags.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
flags-cpp.exe: flags.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
inline.exe: inline.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
inline.cpp: inline.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
inline-cpp.exe: inline.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
likely.exe: likely.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
likely.cpp: likely.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
likely-cpp.exe: likely.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
malloc.exe: malloc.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
malloc.cpp: malloc.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
malloc-cpp.exe: malloc.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
message.exe: message.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
message.cpp: message.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
message-cpp.exe: message.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
noinline.exe: noinline.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
noinline.cpp: noinline.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
noinline-cpp.exe: noinline.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
no-escape.exe: no-escape.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
no-escape.cpp: no-escape.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
no-escape-cpp.exe: no-escape.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
no-return.exe: no-return.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
no-return.cpp: no-return.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
no-return-cpp.exe: no-return.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
non-null.exe: non-null.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
non-null.cpp: non-null.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
non-null-cpp.exe: non-null.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
predict.exe: predict.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
predict.cpp: predict.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
predict-cpp.exe: predict.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
printf-format.exe: printf-format.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
printf-format.cpp: printf-format.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
printf-format-cpp.exe: printf-format.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
pure.exe: pure.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
pure.cpp: pure.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
pure-cpp.exe: pure.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
require.exe: require.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
require.cpp: require.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
require-cpp.exe: require.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
restrict.exe: restrict.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
restrict.cpp: restrict.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
restrict-cpp.exe: restrict.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
returns-non-null.exe: returns-non-null.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
returns-non-null.cpp: returns-non-null.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
returns-non-null-cpp.exe: returns-non-null.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
sentinel.exe: sentinel.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
sentinel.cpp: sentinel.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
sentinel-cpp.exe: sentinel.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
static-assert.exe: static-assert.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
static-assert.cpp: static-assert.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
static-assert-cpp.exe: static-assert.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
stringify.exe: stringify.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
stringify.cpp: stringify.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
stringify-cpp.exe: stringify.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
unknown-cpp-attributes.exe: unknown-cpp-attributes.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
unknown-cpp-attributes.cpp: unknown-cpp-attributes.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
unknown-cpp-attributes-cpp.exe: unknown-cpp-attributes.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
unknown-pragmas.exe: unknown-pragmas.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
unknown-pragmas.cpp: unknown-pragmas.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
unknown-pragmas-cpp.exe: unknown-pragmas.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
unavailable.exe: unavailable.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
unavailable.cpp: unavailable.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
unavailable-cpp.exe: unavailable.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
unreachable.exe: unreachable.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
unreachable.cpp: unreachable.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
unreachable-cpp.exe: unreachable.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
unused-function.exe: unused-function.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
unused-function.cpp: unused-function.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
unused-function-cpp.exe: unused-function.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
visibility.exe: visibility.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
visibility.cpp: visibility.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
visibility-cpp.exe: visibility.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
warn.exe: warn.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
warn.cpp: warn.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
warn-cpp.exe: warn.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
warn-unused-result.exe: warn-unused-result.c
|
||||
$(CC) $(CFLAGS) -o $(@) $(?)
|
||||
warn-unused-result.cpp: warn-unused-result.c
|
||||
copy /Y $(?) $(@) >NUL
|
||||
warn-unused-result-cpp.exe: warn-unused-result.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $(@) $(?)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue