mirror of
https://github.com/verilator/verilator.git
synced 2026-10-08 02:53:12 +02:00
Update clang-format config and apply
- Regroup and sort #include directives (like we used to, but automatic) - Set AlwaysBreakTemplateDeclarations to true
This commit is contained in:
+10
-7
@@ -22,20 +22,21 @@
|
||||
#include "config_build.h"
|
||||
#include "verilatedos.h"
|
||||
|
||||
#include "V3Error.h"
|
||||
#include "V3Global.h"
|
||||
#include "V3File.h"
|
||||
#include "V3Graph.h"
|
||||
#include "V3TSP.h"
|
||||
|
||||
#include "V3Error.h"
|
||||
#include "V3File.h"
|
||||
#include "V3Global.h"
|
||||
#include "V3Graph.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <unordered_set>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
//######################################################################
|
||||
@@ -51,7 +52,8 @@ VL_DEBUG_FUNC; // Declare debug()
|
||||
} // namespace V3TSP
|
||||
|
||||
// Vertex that tracks a per-vertex key
|
||||
template <typename T_Key> class TspVertexTmpl : public V3GraphVertex {
|
||||
template <typename T_Key>
|
||||
class TspVertexTmpl final : public V3GraphVertex {
|
||||
private:
|
||||
const T_Key m_key;
|
||||
|
||||
@@ -68,7 +70,8 @@ private:
|
||||
|
||||
// TspGraphTmpl represents a complete graph, templatized to work with
|
||||
// different T_Key types.
|
||||
template <typename T_Key> class TspGraphTmpl : public V3Graph {
|
||||
template <typename T_Key>
|
||||
class TspGraphTmpl final : public V3Graph {
|
||||
public:
|
||||
// TYPES
|
||||
using Vertex = TspVertexTmpl<T_Key>;
|
||||
|
||||
Reference in New Issue
Block a user