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:
Geza Lore
2022-08-05 12:00:24 +01:00
parent fac8e76923
commit 96a4b3e5a5
241 changed files with 947 additions and 580 deletions
+5 -3
View File
@@ -17,11 +17,12 @@
#include "config_build.h"
#include "verilatedos.h"
#include "V3Global.h"
#include "V3Os.h"
#include "V3EmitCMake.h"
#include "V3EmitCBase.h"
#include "V3Global.h"
#include "V3HierBlock.h"
#include "V3Os.h"
#include <memory>
@@ -36,7 +37,8 @@ class CMakeEmitter final {
// STATIC FUNCTIONS
// Concatenate all strings in 'strs' with ' ' between them.
template <typename List> static string cmake_list(const List& strs) {
template <typename List>
static string cmake_list(const List& strs) {
string s;
if (strs.begin() != strs.end()) {
s.append("\"");