mirror of
https://github.com/verilator/verilator.git
synced 2026-08-31 10:04:40 +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
-5
@@ -48,12 +48,16 @@ struct V3OptionParser::Impl {
|
||||
};
|
||||
|
||||
// Actual action classes
|
||||
template <typename T> class ActionSet; // "-opt" for bool-ish, "-opt val" for int and string
|
||||
template <typename BOOL> class ActionFOnOff; // "-fopt" and "-fno-opt" for bool-ish
|
||||
template <typename BOOL> class ActionOnOff; // "-opt" and "-no-opt" for bool-ish
|
||||
template <typename T>
|
||||
class ActionSet; // "-opt" for bool-ish, "-opt val" for int and string
|
||||
template <typename BOOL>
|
||||
class ActionFOnOff; // "-fopt" and "-fno-opt" for bool-ish
|
||||
template <typename BOOL>
|
||||
class ActionOnOff; // "-opt" and "-no-opt" for bool-ish
|
||||
class ActionCbCall; // Callback without argument for "-opt"
|
||||
class ActionCbOnOff; // Callback for "-opt" and "-no-opt"
|
||||
template <class T> class ActionCbVal; // Callback for "-opt val"
|
||||
template <class T>
|
||||
class ActionCbVal; // Callback for "-opt val"
|
||||
class ActionCbPartialMatch; // Callback "-O3" for "-O"
|
||||
class ActionCbPartialMatchVal; // Callback "-debugi-V3Options 3" for "-debugi-"
|
||||
|
||||
@@ -67,7 +71,8 @@ struct V3OptionParser::Impl {
|
||||
// Action classes in V3OptionParser::Impl
|
||||
|
||||
#define V3OPTION_PARSER_DEF_ACT_CLASS(className, type, body, enType) \
|
||||
template <> class V3OptionParser::Impl::className<type> final : public ActionBase<enType> { \
|
||||
template <> \
|
||||
class V3OptionParser::Impl::className<type> final : public ActionBase<enType> { \
|
||||
type* const m_valp; /* Pointer to a option variable*/ \
|
||||
\
|
||||
public: \
|
||||
|
||||
Reference in New Issue
Block a user