From c7cf06da45f549acd23d6d9e0bcb97cbdfc64186 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 14 Jul 2021 01:26:32 +0200 Subject: [PATCH] try to further improve docs/find-missing --- docs/find-missing.ignore | 15 +++++++++++++++ docs/find-missing.py | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/find-missing.ignore b/docs/find-missing.ignore index b980e69105..49e55afed0 100644 --- a/docs/find-missing.ignore +++ b/docs/find-missing.ignore @@ -21,3 +21,18 @@ It is only used by find-missing, that will not report any definition linked here .. doxygenfunction:: simgrid::s4u::Exec::~Exec() .. doxygenfunction:: simgrid::s4u::Io::~Io() +# These are used to make the C++ objects visible from the C world +.. doxygentypedef:: s4u_Actor +.. doxygentypedef:: s4u_Barrier +.. doxygentypedef:: s4u_Comm +.. doxygentypedef:: s4u_ConditionVariable +.. doxygentypedef:: s4u_Disk +.. doxygentypedef:: s4u_Exec +.. doxygentypedef:: s4u_File +.. doxygentypedef:: s4u_Host +.. doxygentypedef:: s4u_Link +.. doxygentypedef:: s4u_Mailbox +.. doxygentypedef:: s4u_Mutex +.. doxygentypedef:: s4u_NetZone +.. doxygentypedef:: s4u_Semaphore +.. doxygentypedef:: s4u_VM diff --git a/docs/find-missing.py b/docs/find-missing.py index 207c4b933f..145e441574 100755 --- a/docs/find-missing.py +++ b/docs/find-missing.py @@ -197,7 +197,7 @@ for arg in xml_files: print ("member {}::{} is of kind {}".format(compoundname, name, kind)) # Forget about the declarations that are done in the RST -with os.popen('grep doxygenfunction:: find-missing.ignore source/*rst|sed \'s/^.*doxygenfunction:: //\'') as pse: +with os.popen('grep doxygenfunction:: find-missing.ignore source/*rst|sed \'s/^.*doxygenfunction:: //\'|sed \'s/ *const//\'') as pse: for line in (l.strip() for l in pse): (klass, obj, args) = (None, None, None) if "(" in line: -- 2.20.1