lib: merge `assert-pre.h` and `assert-post.h` into `assert-cond.h`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 15 Apr 2020 20:47:18 +0000 (16:47 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 23 Apr 2020 03:45:20 +0000 (23:45 -0400)
commitd98421f2abfc5adab28ab7ee9b63537a6c7261cc
tree34b2ba2cec1b6972ed8dc8ea3655b0629929021f
parent473e4d2acf7f005953af3893bb318222b728412e
lib: merge `assert-pre.h` and `assert-post.h` into `assert-cond.h`

Merge both files into a single one to make it possible to reuse code.

Specific `BT_ASSERT_PRE*` and `BT_ASSERT_POST*` macros which were
identical are merged into a single one with the `BT_ASSERT_COND*` prefix
now.

No functional changes intended.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I019bcc73d5c644012238775c16b6498d07931a9a
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3428
55 files changed:
src/lib/Makefile.am
src/lib/assert-cond.h [new file with mode: 0644]
src/lib/assert-post.h [deleted file]
src/lib/assert-pre.h [deleted file]
src/lib/current-thread.c
src/lib/error.c
src/lib/graph/component-class-sink-simple.c
src/lib/graph/component-class.c
src/lib/graph/component-descriptor-set.c
src/lib/graph/component-filter.c
src/lib/graph/component-sink.c
src/lib/graph/component-source.c
src/lib/graph/component.c
src/lib/graph/connection.c
src/lib/graph/graph.c
src/lib/graph/graph.h
src/lib/graph/interrupter.c
src/lib/graph/iterator.c
src/lib/graph/message-iterator-class.c
src/lib/graph/message/discarded-items.c
src/lib/graph/message/event.c
src/lib/graph/message/message-iterator-inactivity.c
src/lib/graph/message/message.c
src/lib/graph/message/packet.c
src/lib/graph/message/stream.c
src/lib/graph/mip.c
src/lib/graph/port.c
src/lib/graph/query-executor.c
src/lib/integer-range-set.c
src/lib/lib-logging.c
src/lib/object-pool.c
src/lib/plugin/plugin-so.c
src/lib/plugin/plugin.c
src/lib/trace-ir/attributes.c
src/lib/trace-ir/clock-class.c
src/lib/trace-ir/clock-snapshot.c
src/lib/trace-ir/event-class.c
src/lib/trace-ir/event-class.h
src/lib/trace-ir/event.c
src/lib/trace-ir/event.h
src/lib/trace-ir/field-class.c
src/lib/trace-ir/field-class.h
src/lib/trace-ir/field-path.c
src/lib/trace-ir/field.c
src/lib/trace-ir/field.h
src/lib/trace-ir/packet.c
src/lib/trace-ir/resolve-field-path.c
src/lib/trace-ir/stream-class.c
src/lib/trace-ir/stream.c
src/lib/trace-ir/trace-class.c
src/lib/trace-ir/trace-class.h
src/lib/trace-ir/trace.c
src/lib/trace-ir/trace.h
src/lib/util.c
src/lib/value.c
This page took 0.030551 seconds and 4 git commands to generate.