mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
Remove true and false ARI checks now that we use stdbool.h.
gdb/ChangeLog: * contrib/ari/gdb_ari.sh: Remove checks for "true" and "false".
This commit is contained in:
parent
5348a025be
commit
171e6b1cf6
@ -1,3 +1,7 @@
|
||||
2015-02-12 Mark Wielaard <mjw@redhat.com>
|
||||
|
||||
* contrib/ari/gdb_ari.sh: Remove checks for "true" and "false".
|
||||
|
||||
2015-02-13 Doug Evans <dje@google.com>
|
||||
|
||||
* cp-namespace.c (cp_basic_lookup_symbol): Rename parameter
|
||||
|
@ -1145,26 +1145,6 @@ Do not use `boolean'\'', use `int'\'' instead"
|
||||
}
|
||||
}
|
||||
|
||||
BEGIN { doc["false"] = "\
|
||||
Definitely do not use `false'\'' in boolean expressions"
|
||||
category["false"] = ari_regression
|
||||
}
|
||||
/(^|[^_[:alnum:]])false([^_[:alnum:]]|$)/ {
|
||||
if (is_yacc_or_lex == 0) {
|
||||
fail("false")
|
||||
}
|
||||
}
|
||||
|
||||
BEGIN { doc["true"] = "\
|
||||
Do not try to use `true'\'' in boolean expressions"
|
||||
category["true"] = ari_regression
|
||||
}
|
||||
/(^|[^_[:alnum:]])true([^_[:alnum:]]|$)/ {
|
||||
if (is_yacc_or_lex == 0) {
|
||||
fail("true")
|
||||
}
|
||||
}
|
||||
|
||||
# Typedefs that are either redundant or can be reduced to `struct
|
||||
# type *''.
|
||||
# Must be placed before if assignment otherwise ARI exceptions
|
||||
|
Loading…
Reference in New Issue
Block a user