mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Exclude access/rmgrlist.h from cpluspluscheck
It is not meant to be included standalone.
This commit is contained in:
parent
4760142146
commit
cf4d67e819
@ -14,6 +14,7 @@ trap 'rm -rf $tmp' 0 1 2 3 15
|
|||||||
# the relevant file anyway.
|
# the relevant file anyway.
|
||||||
# rusagestub.h is also platform-specific, and will be included by
|
# rusagestub.h is also platform-specific, and will be included by
|
||||||
# utils/pg_rusage.h if necessary.
|
# utils/pg_rusage.h if necessary.
|
||||||
|
# access/rmgrlist.h is not meant to be included standalone.
|
||||||
# regex/regerrs.h is not meant to be included standalone.
|
# regex/regerrs.h is not meant to be included standalone.
|
||||||
# parser/gram.h will be included by parser/gramparse.h.
|
# parser/gram.h will be included by parser/gramparse.h.
|
||||||
# parser/kwlist.h is not meant to be included standalone.
|
# parser/kwlist.h is not meant to be included standalone.
|
||||||
@ -21,6 +22,7 @@ trap 'rm -rf $tmp' 0 1 2 3 15
|
|||||||
for f in `find src/include src/interfaces/libpq/libpq-fe.h src/interfaces/libpq/libpq-events.h -name '*.h' -print | \
|
for f in `find src/include src/interfaces/libpq/libpq-fe.h src/interfaces/libpq/libpq-events.h -name '*.h' -print | \
|
||||||
grep -v -e ^src/include/port/ \
|
grep -v -e ^src/include/port/ \
|
||||||
-e ^src/include/rusagestub.h -e ^src/include/regex/regerrs.h \
|
-e ^src/include/rusagestub.h -e ^src/include/regex/regerrs.h \
|
||||||
|
-e ^src/include/access/rmgrlist.h \
|
||||||
-e ^src/include/parser/gram.h -e ^src/include/parser/kwlist.h`
|
-e ^src/include/parser/gram.h -e ^src/include/parser/kwlist.h`
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user