Commit 57cd9f2d authored by Etienne Renault's avatar Etienne Renault
Browse files

Replace guards by pragma once.

* iface/ltsmin/ltsmin.hh, src/bin/common_aoutput.hh,
src/bin/common_conv.hh, src/bin/common_cout.hh,
src/bin/common_file.hh, src/bin/common_finput.hh,
src/bin/common_output.hh, src/bin/common_post.hh,
src/bin/common_r.hh, src/bin/common_range.hh,
src/bin/common_setup.hh, src/bin/common_sys.hh,
src/bin/common_trans.hh, src/dstarparse/parsedecl.hh,
src/dstarparse/public.hh, src/graph/graph.hh,
src/graph/ngraph.hh, src/hoaparse/parsedecl.hh,
src/hoaparse/public.hh, src/kripke/fairkripke.hh,
src/kripke/fwd.hh, src/kripke/kripke.hh,
src/kripke/kripkeexplicit.hh, src/kripke/kripkeprint.hh,
src/kripkeparse/parsedecl.hh, src/kripkeparse/public.hh,
src/ltlast/allnodes.hh, src/ltlast/atomic_prop.hh,
src/ltlast/binop.hh, src/ltlast/bunop.hh,
src/ltlast/constant.hh, src/ltlast/formula.hh,
src/ltlast/multop.hh, src/ltlast/predecl.hh,
src/ltlast/unop.hh, src/ltlast/visitor.hh,
src/ltlenv/declenv.hh, src/ltlenv/defaultenv.hh,
src/ltlenv/environment.hh, src/ltlparse/parsedecl.hh,
src/ltlparse/public.hh, src/ltlvisit/apcollect.hh,
src/ltlvisit/clone.hh, src/ltlvisit/contain.hh,
src/ltlvisit/dotty.hh, src/ltlvisit/dump.hh,
src/ltlvisit/lbt.hh, src/ltlvisit/length.hh,
src/ltlvisit/lunabbrev.hh, src/ltlvisit/mark.hh,
src/ltlvisit/mutation.hh, src/ltlvisit/nenoform.hh,
src/ltlvisit/postfix.hh, src/ltlvisit/randomltl.hh,
src/ltlvisit/relabel.hh, src/ltlvisit/remove_x.hh,
src/ltlvisit/simpfg.hh, src/ltlvisit/simplify.hh,
src/ltlvisit/snf.hh, src/ltlvisit/tostring.hh,
src/ltlvisit/tunabbrev.hh, src/ltlvisit/wmunabbrev.hh,
src/misc/bareword.hh, src/misc/bddlt.hh, src/misc/bitvect.hh,
src/misc/casts.hh, src/misc/common.hh, src/misc/escape.hh,
src/misc/fixpool.hh, src/misc/formater.hh, src/misc/hash.hh,
src/misc/hashfunc.hh, src/misc/intvcmp2.hh,
src/misc/intvcomp.hh, src/misc/location.hh, src/misc/ltstr.hh,
src/misc/memusage.hh, src/misc/minato.hh, src/misc/mspool.hh,
src/misc/optionmap.hh, src/misc/position.hh, src/misc/random.hh,
src/misc/satsolver.hh, src/misc/timer.hh, src/misc/tmpfile.hh,
src/misc/version.hh, src/priv/accmap.hh, src/priv/bddalloc.hh,
src/priv/freelist.hh, src/ta/ta.hh, src/ta/taexplicit.hh,
src/ta/taproduct.hh, src/ta/tgta.hh, src/ta/tgtaexplicit.hh,
src/ta/tgtaproduct.hh, src/taalgos/dotty.hh,
src/taalgos/emptinessta.hh, src/taalgos/minimize.hh,
src/taalgos/reachiter.hh, src/taalgos/statessetbuilder.hh,
src/taalgos/stats.hh, src/taalgos/tgba2ta.hh,
src/tgba/acc.hh, src/tgba/bdddict.hh,
src/tgba/bddprint.hh, src/tgba/formula2bdd.hh, src/tgba/fwd.hh,
src/tgba/taatgba.hh, src/tgba/tgba.hh, src/tgba/tgbagraph.hh,
src/tgba/tgbamask.hh, src/tgba/tgbaproduct.hh, src/tgba/tgbaproxy.hh,
src/tgba/tgbasafracomplement.hh, src/tgbaalgos/are_isomorphic.hh,
src/tgbaalgos/bfssteps.hh, src/tgbaalgos/canonicalize.hh,
src/tgbaalgos/cleanacc.hh, src/tgbaalgos/complete.hh,
src/tgbaalgos/compsusp.hh, src/tgbaalgos/cycles.hh,
src/tgbaalgos/degen.hh, src/tgbaalgos/dotty.hh,
src/tgbaalgos/dtbasat.hh, src/tgbaalgos/dtgbacomp.hh,
src/tgbaalgos/dtgbasat.hh, src/tgbaalgos/dupexp.hh,
src/tgbaalgos/emptiness.hh, src/tgbaalgos/emptiness_stats.hh,
src/tgbaalgos/gtec/ce.hh, src/tgbaalgos/gtec/gtec.hh,
src/tgbaalgos/gtec/sccstack.hh, src/tgbaalgos/gtec/status.hh,
src/tgbaalgos/gv04.hh, src/tgbaalgos/hoa.hh, src/tgbaalgos/isdet.hh,
src/tgbaalgos/isweakscc.hh, src/tgbaalgos/lbtt.hh,
src/tgbaalgos/ltl2taa.hh, src/tgbaalgos/ltl2tgba_fm.hh,
src/tgbaalgos/magic.hh, src/tgbaalgos/mask.hh,
src/tgbaalgos/minimize.hh, src/tgbaalgos/neverclaim.hh,
src/tgbaalgos/postproc.hh, src/tgbaalgos/powerset.hh,
src/tgbaalgos/product.hh, src/tgbaalgos/projrun.hh,
src/tgbaalgos/randomgraph.hh, src/tgbaalgos/randomize.hh,
src/tgbaalgos/reachiter.hh, src/tgbaalgos/reducerun.hh,
src/tgbaalgos/relabel.hh, src/tgbaalgos/remfin.hh,
src/tgbaalgos/replayrun.hh, src/tgbaalgos/safety.hh,
src/tgbaalgos/sbacc.hh, src/tgbaalgos/scc.hh,
src/tgbaalgos/sccfilter.hh, src/tgbaalgos/sccinfo.hh,
src/tgbaalgos/se05.hh, src/tgbaalgos/simulation.hh,
src/tgbaalgos/stats.hh, src/tgbaalgos/stripacc.hh,
src/tgbaalgos/stutter.hh, src/tgbaalgos/tau03.hh,
src/tgbaalgos/tau03opt.hh, src/tgbaalgos/translate.hh,
src/tgbaalgos/weight.hh, src/tgbaalgos/word.hh,
src/sanity/includes.test, src/tgbaalgos/ndfs_result.hxx: here.
parent b8bc619d
......@@ -17,14 +17,12 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_IFACE_LTSMIN_LTSMIN_HH
# define SPOT_IFACE_LTSMIN_LTSMIN_HH
#pragma once
#include "kripke/kripke.hh"
#include "ltlvisit/apcollect.hh"
#include "ltlast/constant.hh"
namespace spot
{
......@@ -64,5 +62,3 @@ namespace spot
const ltl::formula* dead = ltl::constant::true_instance(),
int compress = 0, bool verbose = true);
}
#endif // SPOT_IFACE_LTSMIN_LTSMIN_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_AOUTPUT_HH
#define SPOT_BIN_COMMON_AOUTPUT_HH
#pragma once
#include "common_sys.hh"
......@@ -237,7 +236,3 @@ public:
void add_stat(char c, const spot::printable* p);
};
#endif // SPOT_BIN_COMMON_AOUTPUT_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_CONV_HH
#define SPOT_BIN_COMMON_CONV_HH
#pragma once
#include "common_sys.hh"
#include "tgba/tgbagraph.hh"
......@@ -34,6 +33,3 @@ std::vector<long> to_longs(const char* s);
spot::tgba_digraph_ptr
read_automaton(const char* filename, spot::bdd_dict_ptr& dict);
#endif // SPOT_BIN_COMMON_CONV_HH
......@@ -17,10 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_COUT_HH
#define SPOT_BIN_COMMON_COUT_HH
#pragma once
void check_cout();
void flush_cout();
#endif // SPOT_BIN_COMMON_COUT_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_FILE_HH
#define SPOT_BIN_COMMON_FILE_HH
#pragma once
#include "common_sys.hh"
#include <iosfwd>
......@@ -50,5 +49,3 @@ public:
return *os_;
}
};
#endif // SPOT_BIN_COMMON_FILE_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_FINPUT_HH
#define SPOT_BIN_COMMON_FINPUT_HH
#pragma once
#include "common_sys.hh"
......@@ -79,7 +78,3 @@ public:
char* prefix;
char* suffix;
};
#endif // SPOT_BIN_COMMON_FINPUT_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_OUTPUT_HH
#define SPOT_BIN_COMMON_OUTPUT_HH
#pragma once
#include "common_sys.hh"
......@@ -83,5 +82,3 @@ public:
printable_formula formula_;
};
#endif // SPOT_BIN_COMMON_OUTPUT_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_POST_HH
#define SPOT_BIN_COMMON_POST_HH
#pragma once
#include "common_sys.hh"
#include "tgbaalgos/postproc.hh"
......@@ -31,7 +30,3 @@ extern spot::postprocessor::output_type type;
extern spot::postprocessor::output_pref pref;
extern spot::postprocessor::output_pref comp;
extern spot::postprocessor::optimization_level level;
#endif // SPOT_BIN_COMMON_FINPUT_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_R_HH
#define SPOT_BIN_COMMON_R_HH
#pragma once
#include "common_sys.hh"
#include "ltlvisit/simplify.hh"
......@@ -45,5 +44,3 @@ extern int simplification_level;
void parse_r(const char* arg);
spot::ltl::ltl_simplifier_options simplifier_options();
#endif // SPOT_BIN_COMMON_RANGE_HH
......@@ -17,9 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_RANGE_HH
#define SPOT_BIN_COMMON_RANGE_HH
#pragma once
#define RANGE_DOC \
{ 0, 0, 0, 0, "RANGE may have one of the following forms: 'INT', " \
......@@ -48,5 +46,3 @@ struct range
// is disallowed.
range parse_range(const char* str,
int missing_left = 1, int missing_right = 0);
#endif // SPOT_BIN_COMMON_RANGE_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_SETUP_HH
#define SPOT_BIN_COMMON_SETUP_HH
#pragma once
#include "common_sys.hh"
#include "progname.h"
......@@ -27,5 +26,3 @@ void setup(char** progname);
extern const struct argp misc_argp;
extern const struct argp misc_argp_hidden;
#endif // SPOT_BIN_COMMON_SETUP_HH
......@@ -17,11 +17,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_SYS_HH
#define SPOT_BIN_COMMON_SYS_HH
#pragma once
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#endif // SPOT_BIN_COMMON_SYS_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_BIN_COMMON_TRANS_HH
#define SPOT_BIN_COMMON_TRANS_HH
#pragma once
#include "common_sys.hh"
#include <vector>
......@@ -118,6 +117,3 @@ int exec_with_timeout(const char* cmd);
#define exec_with_timeout(cmd) system(cmd)
#define setup_sig_handler() while (0);
#endif // !ENABLE_TIMEOUT
#endif // SPOT_BIN_COMMON_TRANS_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_DSTARPARSE_PARSEDECL_HH
# define SPOT_DSTARPARSE_PARSEDECL_HH
#pragma once
#include <string>
#include "dstarparse.hh"
......@@ -35,5 +34,3 @@ namespace spot
int dstaryyopen(const std::string& name);
void dstaryyclose();
}
#endif // SPOT_DSTARPARSE_PARSEDECL_HH
......@@ -17,17 +17,16 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_DSTARPARSE_PUBLIC_HH
# define SPOT_DSTARPARSE_PUBLIC_HH
# include "tgba/tgbagraph.hh"
# include "misc/location.hh"
# include "ltlenv/defaultenv.hh"
# include <string>
# include <list>
# include <utility>
# include <iosfwd>
# include <misc/bitvect.hh>
#pragma once
#include "tgba/tgbagraph.hh"
#include "misc/location.hh"
#include "ltlenv/defaultenv.hh"
#include <string>
#include <list>
#include <utility>
#include <iosfwd>
#include <misc/bitvect.hh>
namespace spot
{
......@@ -147,8 +146,5 @@ namespace spot
SPOT_API tgba_digraph_ptr
dstar_to_tgba(const const_dstar_aut_ptr& dstar);
/// @}
}
#endif // SPOT_DSTARPARSE_PUBLIC_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_GRAPH_GRAPH_HH
# define SPOT_GRAPH_GRAPH_HH
#pragma once
#include "misc/common.hh"
#include <vector>
......@@ -959,9 +958,5 @@ namespace spot
//std::cerr << "\nafter defrag\n";
//dump_storage(std::cerr);
}
};
}
#endif // SPOT_GRAPH_GRAPH_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_GRAPH_NGRAPH_HH
# define SPOT_GRAPH_NGRAPH_HH
#pragma once
#include <unordered_map>
#include <vector>
......@@ -162,7 +161,4 @@ namespace spot
return g_.new_transition(get_state(src), d, std::forward<Args>(args)...);
}
};
}
#endif // SPOT_GRAPH_NGRAPH_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_HOAPARSE_PARSEDECL_HH
# define SPOT_HOAPARSE_PARSEDECL_HH
#pragma once
#include <string>
#include "hoaparse.hh"
......@@ -42,5 +41,3 @@ namespace spot
spot::location pos;
};
}
#endif // SPOT_HOAPARSE_PARSEDECL_HH
......@@ -17,17 +17,16 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_HOAPARSE_PUBLIC_HH
# define SPOT_HOAPARSE_PUBLIC_HH
#pragma once
# include "tgba/tgbagraph.hh"
# include "misc/location.hh"
# include "ltlenv/defaultenv.hh"
# include <string>
# include <list>
# include <utility>
# include <iosfwd>
# include <misc/bitvect.hh>
#include "tgba/tgbagraph.hh"
#include "misc/location.hh"
#include "ltlenv/defaultenv.hh"
#include <string>
#include <list>
#include <utility>
#include <iosfwd>
#include <misc/bitvect.hh>
namespace spot
{
......@@ -130,5 +129,3 @@ namespace spot
/// @}
}
#endif // SPOT_HOAPARSE_PUBLIC_HH
......@@ -17,8 +17,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef SPOT_KRIPKE_FAIRKRIPKE_HH
# define SPOT_KRIPKE_FAIRKRIPKE_HH
#pragma once
#include "tgba/tgba.hh"
#include "fwd.hh"
......@@ -106,8 +105,4 @@ namespace spot
protected:
virtual bdd compute_support_conditions(const state* s) const;
};
}
#endif // SPOT_KRIPKE_FAIRKRIPKE_HH
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment