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
+1 -3
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
+1 -3
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
+1 -3
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
+1 -3
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
+1 -3
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
+1 -3
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
+1 -3
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
+1 -3
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
+1 -3
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
+1 -3
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
+1 -3
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