use #pragma once

This commit is contained in:
James Cherry 2020-02-15 17:13:16 -07:00
parent b5d4e7d382
commit 3d6d6e9580
168 changed files with 172 additions and 508 deletions

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_APP_H
#define STA_APP_H
#pragma once
struct Tcl_Interp;
@ -65,4 +64,3 @@ sourceTclFile(const char *filename,
Tcl_Interp *interp);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_ARC_DELAY_CALC_H
#define STA_ARC_DELAY_CALC_H
#pragma once
#include <string>
#include "DisallowCopyAssign.hh"
@ -143,4 +142,3 @@ private:
};
} // namespace
#endif

View File

@ -18,8 +18,7 @@
//
// Author: W. Scott
#ifndef ARNOLDI_H
#define ARNOLDI_H
#pragma once
#include "ConcreteParasiticsPvt.hh"
@ -80,4 +79,3 @@ struct timing_table
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef ARNOLDIDELAYCALC_H
#define ARNOLDIDELAYCALC_H
#pragma once
namespace sta {
@ -23,4 +22,3 @@ ArcDelayCalc *
makeArnoldiDelayCalc(StaState *sta);
} // namespace
#endif

View File

@ -18,8 +18,7 @@
//
// Author: W. Scott
#ifndef STA_ARNOLDI_REDUCE_H
#define STA_ARNOLDI_REDUCE_H
#pragma once
#include "Map.hh"
#include "NetworkClass.hh"
@ -112,5 +111,3 @@ protected:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_DCALC_ANALYSIS_PT_H
#define STA_DCALC_ANALYSIS_PT_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Iterator.hh"
@ -75,4 +74,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_DELAY_CALC_H
#define STA_DELAY_CALC_H
#pragma once
#include "StringSeq.hh"
@ -47,4 +46,3 @@ makeDelayCalc(const char *name,
StaState *sta);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_DMP_CEFF_H
#define STA_DMP_CEFF_H
#pragma once
#include "LibertyClass.hh"
#include "RCDelayCalc.hh"
@ -101,4 +100,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_DMP_DELAY_CALC_H
#define STA_DMP_DELAY_CALC_H
#pragma once
namespace sta {
@ -25,4 +24,3 @@ ArcDelayCalc *
makeDmpCeffTwoPoleDelayCalc(StaState *sta);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_GRAPH_DELAY_CALC_H
#define STA_GRAPH_DELAY_CALC_H
#pragma once
#include <string>
#include "DisallowCopyAssign.hh"
@ -140,4 +139,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_GRAPH_DELAY_CALC1_H
#define STA_GRAPH_DELAY_CALC1_H
#pragma once
#include <mutex>
#include "GraphDelayCalc.hh"
@ -243,4 +242,3 @@ protected:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LUMPED_CAP_DELAY_CALC_H
#define STA_LUMPED_CAP_DELAY_CALC_H
#pragma once
#include "ArcDelayCalc.hh"
@ -114,4 +113,3 @@ ArcDelayCalc *
makeLumpedCapDelayCalc(StaState *sta);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_NET_CAPS_H
#define STA_NET_CAPS_H
#pragma once
#include "DisallowCopyAssign.hh"
@ -49,4 +48,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_RC_DELAY_CALC_H
#define STA_RC_DELAY_CALC_H
#pragma once
#include "LumpedCapDelayCalc.hh"
@ -45,4 +44,3 @@ protected:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SIMPLE_RC_DELAY_CALC_H
#define STA_SIMPLE_RC_DELAY_CALC_H
#pragma once
#include "RCDelayCalc.hh"
@ -62,4 +61,3 @@ ArcDelayCalc *
makeSimpleRCDelayCalc(StaState *sta);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_UNIT_DELAY_CALC_H
#define STA_UNIT_DELAY_CALC_H
#pragma once
#include "ArcDelayCalc.hh"
@ -95,4 +94,3 @@ ArcDelayCalc *
makeUnitDelayCalc(StaState *sta);
} // namespace
#endif

View File

@ -16,8 +16,7 @@
#include "StaConfig.hh"
#ifndef STA_DELAY_H
#define STA_DELAY_H
#pragma once
#if (SSTA == 1)
// Delays are Normal PDFs.
@ -39,4 +38,3 @@ typedef Delay Required;
typedef Delay Slack;
} // namespace
#endif

View File

@ -140,4 +140,5 @@ delaySigma2(const Delay &,
}
} // namespace
#endif
#endif // !SSTA

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_DELAY_FLOAT_H
#define STA_DELAY_FLOAT_H
#pragma once
#include "MinMax.hh"
#include "Fuzzy.hh"
@ -101,4 +100,3 @@ delayRatio(const Delay &delay1,
const Delay &delay2);
} // namespace
#endif

View File

@ -419,4 +419,5 @@ delayAsString(const Delay &delay,
}
} // namespace
#endif
#endif // (SSTA == 1)

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_DELAY_NORMAL1_H
#define STA_DELAY_NORMAL1_H
#pragma once
#include "MinMax.hh"
@ -154,4 +153,3 @@ delayRatio(const Delay &delay1,
const Delay &delay2);
} // namespace
#endif

View File

@ -448,4 +448,5 @@ delayAsString(const Delay &delay,
}
} // namespace
#endif
#endif // (SSTA == 2)

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_DELAY_NORMAL2_H
#define STA_DELAY_NORMAL2_H
#pragma once
#include "MinMax.hh"
@ -161,4 +160,3 @@ delayRatio(const Delay &delay1,
const Delay &delay2);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_GRAPH_H
#define STA_GRAPH_H
#pragma once
#include "Mutex.hh"
#include "DisallowCopyAssign.hh"
@ -526,4 +525,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_GRAPH_CLASS_H
#define STA_GRAPH_CLASS_H
#pragma once
#include "ObjectId.hh"
#include "Set.hh"
@ -55,4 +54,3 @@ static const int slew_annotated_bits = MinMax::index_count * RiseFall::index_cou
enum class BfsIndex { dcalc, arrival, required, other, bits };
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_GRAPH_CMP_H
#define STA_GRAPH_CMP_H
#pragma once
#include "NetworkClass.hh"
#include "NetworkCmp.hh"
@ -53,4 +52,3 @@ sortEdges(EdgeSeq *edges,
Graph *graph);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_EQUIV_CELLS_H
#define STA_EQUIV_CELLS_H
#pragma once
#include "Vector.hh"
#include "Map.hh"
@ -75,4 +74,3 @@ equivCellSequentials(const LibertyCell *cell1,
const LibertyCell *cell2);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_FUNC_EXPR_H
#define STA_FUNC_EXPR_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Set.hh"
@ -109,4 +108,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_INTERNAL_POWER_H
#define STA_INTERNAL_POWER_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Transition.hh"
@ -114,4 +113,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LEAKAGE_POWER_H
#define STA_LEAKAGE_POWER_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "LibertyClass.hh"
@ -61,4 +60,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LIBERTY_H
#define STA_LIBERTY_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Transition.hh"
@ -1062,4 +1061,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LIBERTY_BUILDER_H
#define STA_LIBERTY_BUILDER_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Vector.hh"
@ -140,4 +139,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LIBERTY_CLASS_H
#define STA_LIBERTY_CLASS_H
#pragma once
#include "Vector.hh"
#include "Map.hh"
@ -169,4 +168,3 @@ public:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LIBERTY_EXPR_H
#define STA_LIBERTY_EXPR_H
#pragma once
#include "LibertyClass.hh"
@ -32,4 +31,3 @@ parseFuncExpr(const char *func,
Report *report);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LIBERTY_EXPR_PVT_H
#define STA_LIBERTY_EXPR_PVT_H
#pragma once
#include "DisallowCopyAssign.hh"
@ -75,5 +74,3 @@ void
libertyExprFlushBuffer();
int
LibertyExprParse_error(const char *msg);
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LIBERTY_PARSER_H
#define STA_LIBERTY_PARSER_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Vector.hh"
@ -350,4 +349,3 @@ makeLibertyVariable(char *var,
int
LibertyParse_error(const char *msg);
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LIBERTY_READER_H
#define STA_LIBERTY_READER_H
#pragma once
namespace sta {
@ -28,4 +27,3 @@ readLibertyFile(const char *filename,
Network *network);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LIBERTY_READER_PVT
#define STA_LIBERTY_READER_PVT
#pragma once
#include "DisallowCopyAssign.hh"
#include "Vector.hh"
@ -826,4 +825,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_LINEAR_MODEL_H
#define STA_LINEAR_MODEL_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "TimingModel.hh"
@ -88,4 +87,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SEQUENTIAL_H
#define STA_SEQUENTIAL_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "NetworkClass.hh"
@ -72,4 +71,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_TABLE_MODEL_H
#define STA_TABLE_MODEL_H
#pragma once
#include <string>
#include "DisallowCopyAssign.hh"
@ -458,4 +457,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_TIMING_ARC_H
#define STA_TIMING_ARC_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Vector.hh"
@ -284,4 +283,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_TIMING_MODEL_H
#define STA_TIMING_MODEL_H
#pragma once
#include <string>
#include "Delay.hh"
@ -88,4 +87,3 @@ public:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_TIMING_ROLE_H
#define STA_TIMING_ROLE_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "MinMax.hh"
@ -132,7 +131,4 @@ private:
friend class TimingRoleLess;
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_TRANSITION_H
#define STA_TRANSITION_H
#pragma once
#include <array>
#include <vector>
@ -221,4 +220,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_UNITS_H
#define STA_UNITS_H
#pragma once
namespace sta {
@ -86,4 +85,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_WIRELOAD_H
#define STA_WIRELOAD_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Vector.hh"
@ -97,4 +96,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CONCRETE_LIBRARY_H
#define STA_CONCRETE_LIBRARY_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Vector.hh"
@ -261,4 +260,3 @@ private:
};
} // Namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CONCRETE_NETWORK_H
#define STA_CONCRETE_NETWORK_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Map.hh"
@ -402,4 +401,3 @@ protected:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_HPIN_DRVR_LOAD_H
#define STA_HPIN_DRVR_LOAD_H
#pragma once
#include "Set.hh"
#include "NetworkClass.hh"
@ -76,5 +75,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_MAKE_CONCRETE_NETWORK_H
#define STA_MAKE_CONCRETE_NETWORK_H
#pragma once
namespace sta {
@ -25,4 +24,3 @@ NetworkReader *
makeConcreteNetwork();
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_NETWORK_H
#define STA_NETWORK_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Map.hh"
@ -667,4 +666,3 @@ char
logicValueString(LogicValue value);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_NETWORK_CLASS_H
#define STA_NETWORK_CLASS_H
#pragma once
#include "Set.hh"
#include "Vector.hh"
@ -78,4 +77,3 @@ public:
enum class LogicValue : unsigned { zero, one, unknown, rise, fall };
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_NETWORK_CMP_H
#define STA_NETWORK_CMP_H
#pragma once
#include "LibertyClass.hh"
#include "NetworkClass.hh"
@ -86,4 +85,3 @@ sortNetSet(NetSet *set,
NetSeq &nets);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_PARSE_BUS_H
#define STA_PARSE_BUS_H
#pragma once
namespace sta {
@ -83,4 +82,3 @@ escapeChars(const char *token,
char escape);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_PORT_DIRECTION_H
#define STA_PORT_DIRECTION_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "NetworkClass.hh"
@ -74,4 +73,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SDC_NETWORK_H
#define STA_SDC_NETWORK_H
#pragma once
#include <functional>
#include "DisallowCopyAssign.hh"
@ -259,4 +258,3 @@ Network *
makeSdcNetwork(Network *network);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_VERILOG_NAMESPACE_H
#define STA_VERILOG_NAMESPACE_H
#pragma once
namespace sta {
@ -35,4 +34,3 @@ portVerilogName(const char *sta_name,
const char escape);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CONCRETE_PARASITICS_H
#define STA_CONCRETE_PARASITICS_H
#pragma once
#include <mutex>
#include "Map.hh"
@ -215,4 +214,3 @@ protected:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CONCRETE_PARASITICS_PVT_H
#define STA_CONCRETE_PARASITICS_PVT_H
#pragma once
#include "Parasitics.hh"
@ -445,4 +444,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_ESTIMATE_PARASITICS_H
#define STA_ESTIMATE_PARASITICS_H
#pragma once
#include "LibertyClass.hh"
#include "NetworkClass.hh"
@ -91,4 +90,3 @@ protected:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_MAKE_CONCRETE_PARASITICS_H
#define STA_MAKE_CONCRETE_PARASITICS_H
#pragma once
namespace sta {
@ -23,4 +22,3 @@ Parasitics *
makeConcreteParasitics(StaState *sta);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_NULL_PARASITICS_H
#define STA_NULL_PARASITICS_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Parasitics.hh"
@ -190,4 +189,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_PARASITICS_H
#define STA_PARASITICS_H
#pragma once
#include <complex>
#include "DisallowCopyAssign.hh"
@ -329,4 +328,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_PARASITICS_CLASS_H
#define STA_PARASITICS_CLASS_H
#pragma once
namespace sta {
@ -28,4 +27,3 @@ class ParasiticAnalysisPt;
enum class ReduceParasiticsTo { pi_elmore, pi_pole_residue2, none };
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_REDUCE_PARASITICS_H
#define STA_REDUCE_PARASITICS_H
#pragma once
namespace sta {
@ -47,4 +46,3 @@ reduceToPiPoleResidue2(Parasitic *parasitic_network,
StaState *sta);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SPEF_NAMESPACE_H
#define STA_SPEF_NAMESPACE_H
#pragma once
namespace sta {
@ -32,4 +31,3 @@ staToSpef(const char *token, char spef_divider,
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SPEF_READER_H
#define STA_SPEF_READER_H
#pragma once
#include "Zlib.hh"
@ -51,4 +50,3 @@ readSpefFile(const char *filename,
Parasitics *parasitics);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SPEF_READER_PVT_H
#define STA_SPEF_READER_PVT_H
#pragma once
#include "Zlib.hh"
#include "Map.hh"
@ -207,4 +206,3 @@ private:
extern SpefReader *spef_reader;
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CLOCK_H
#define STA_CLOCK_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "MinMax.hh"
@ -304,4 +303,3 @@ public:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CLOCK_GATING_CHECK_H
#define STA_CLOCK_GATING_CHECK_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "SdcClass.hh"
@ -39,4 +38,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CLOCK_GROUPS_H
#define STA_CLOCK_GROUPS_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "SdcCmdComment.hh"
@ -68,4 +67,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CLOCK_INSERTION_H
#define STA_CLOCK_INSERTION_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "NetworkClass.hh"
@ -54,4 +53,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CLOCK_LATENCY_H
#define STA_CLOCK_LATENCY_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "NetworkClass.hh"
@ -58,4 +57,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CYCLE_ACCTING_H
#define STA_CYCLE_ACCTING_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "MinMax.hh"
@ -102,4 +101,3 @@ public:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_DATA_CHECK_H
#define STA_DATA_CHECK_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "MinMax.hh"
@ -78,4 +77,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_DERATING_FACTORS_H
#define STA_DERATING_FACTORS_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "LibertyClass.hh"
@ -115,4 +114,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_DISABLED_PORTS_H
#define STA_DISABLED_PORTS_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Map.hh"
@ -109,4 +108,3 @@ sortLibertyPortPairSet(LibertyPortPairSet *sets,
LibertyPortPairSeq &pairs);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_EXCEPTION_PATH_H
#define STA_EXCEPTION_PATH_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Error.hh"
@ -682,4 +681,3 @@ intersects(ClockSet *set1,
ClockSet *set2);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_INPUT_DRIVE_H
#define STA_INPUT_DRIVE_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "LibertyClass.hh"
@ -114,4 +113,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_MIN_MAX_VALUES_H
#define STA_MIN_MAX_VALUES_H
#pragma once
#include "MinMax.hh"
#include "Error.hh"
@ -166,4 +165,3 @@ typedef MinMaxValues<float> MinMaxFloatValues;
typedef MinMaxValues<int> MinMaxIntValues;
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_PIN_PAIR_H
#define STA_PIN_PAIR_H
#pragma once
#include "Hash.hh"
#include "Set.hh"
@ -48,4 +47,3 @@ public:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_PORT_DELAY_H
#define STA_PORT_DELAY_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "RiseFallMinMax.hh"
@ -109,4 +108,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_PORT_EXT_CAP_H
#define STA_PORT_EXT_CAP_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "MinMax.hh"
@ -68,4 +67,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_RISE_FALL_MIN_MAX_H
#define STA_RISE_FALL_MIN_MAX_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Transition.hh"
@ -73,4 +72,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_RISE_FALL_VALUES_H
#define STA_RISE_FALL_VALUES_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Transition.hh"
@ -46,4 +45,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SDC_H
#define STA_SDC_H
#pragma once
#include <mutex>
#include "DisallowCopyAssign.hh"
@ -1462,4 +1461,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SDC_CLASS_H
#define STA_SDC_CLASS_H
#pragma once
#include "Map.hh"
#include "Set.hh"
@ -102,4 +101,3 @@ const int timing_derate_type_count = int(TimingDerateType::net_delay) + 1 ;
const int timing_derate_cell_type_count = 2;
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SDC_CMD_COMMENT_H
#define STA_SDC_CMD_COMMENT_H
#pragma once
namespace sta {
@ -36,4 +35,3 @@ protected:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_WRITE_SDC_H
#define STA_WRITE_SDC_H
#pragma once
#include "NetworkClass.hh"
#include "SdcClass.hh"
@ -37,4 +36,3 @@ writeSdc(Instance *instance,
Sdc *sdc);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_WRITE_SDC_PVT_H
#define STA_WRITE_SDC_PVT_H
#pragma once
#include "DisallowCopyAssign.hh"
@ -262,4 +261,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_REPORT_ANNOTATION_H
#define STA_REPORT_ANNOTATION_H
#pragma once
namespace sta {
@ -45,4 +44,3 @@ reportAnnotatedCheck(bool report_setup,
StaState *sta);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SDF_H
#define STA_SDF_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "Zlib.hh"
@ -222,4 +221,3 @@ private:
extern SdfReader *sdf_reader;
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_READ_SDF_H
#define STA_READ_SDF_H
#pragma once
namespace sta {
@ -77,4 +76,3 @@ readSdfMinMax(const char *filename,
StaState *sta);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_SDF_WRITER_H
#define STA_SDF_WRITER_H
#pragma once
namespace sta {
@ -32,4 +31,3 @@ writeSdf(const char *filename,
StaState *sta);
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_BFS_H
#define STA_BFS_H
#pragma once
#include <mutex>
#include "DisallowCopyAssign.hh"
@ -165,4 +164,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_MAX_SKEW_H
#define STA_MAX_SKEW_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "StaState.hh"
@ -86,4 +85,3 @@ protected:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_MIN_PERIOD_H
#define STA_MIN_PERIOD_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "StaState.hh"
@ -81,4 +80,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_MIN_PULSE_WIDTH_H
#define STA_MIN_PULSE_WIDTH_H
#pragma once
#include "DisallowCopyAssign.hh"
#include "SdcClass.hh"
@ -107,4 +106,3 @@ private:
};
} // namespace
#endif

View File

@ -14,8 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef STA_CHECK_SLEW_LIMIT_H
#define STA_CHECK_SLEW_LIMIT_H
#pragma once
#include "MinMax.hh"
#include "Transition.hh"
@ -109,4 +108,3 @@ protected:
};
} // namespace
#endif

Some files were not shown because too many files have changed in this diff Show More