mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Merge pull request #73250 from rschu1ze/clang-tidy-template
Minor follow-up to #72869
This commit is contained in:
commit
2c4e63e523
@ -11,7 +11,7 @@
|
||||
#pragma GCC diagnostic ignored "-Wunused-macros"
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#pragma GCC diagnostic ignored "-Wshorten-64-to-32"
|
||||
// NOLINTBEGIN(google-runtime-int,hicpp-use-nullptr,modernize-use-nullptr)
|
||||
// NOLINTBEGIN(google-runtime-int,hicpp-use-nullptr,modernize-use-nullptr,modernize-macro-to-enum)
|
||||
%}
|
||||
struct NameAndGlyph {
|
||||
const char *name;
|
||||
@ -2250,4 +2250,4 @@ const char *glyph;
|
||||
"zwj;", ""
|
||||
"zwnj;", ""
|
||||
%%
|
||||
// NOLINTEND(google-runtime-int,hicpp-use-nullptr,modernize-use-nullptr)
|
||||
// NOLINTEND(google-runtime-int,hicpp-use-nullptr,modernize-use-nullptr,modernize-macro-to-enum)
|
||||
|
@ -13,7 +13,7 @@ echo '%language=C++
|
||||
#pragma GCC diagnostic ignored "-Wunused-macros"
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#pragma GCC diagnostic ignored "-Wshorten-64-to-32"
|
||||
// NOLINTBEGIN(google-runtime-int,hicpp-use-nullptr,modernize-use-nullptr)
|
||||
// NOLINTBEGIN(google-runtime-int,hicpp-use-nullptr,modernize-use-nullptr,modernize-macro-to-enum)
|
||||
%}
|
||||
struct NameAndGlyph {
|
||||
const char *name;
|
||||
@ -24,4 +24,4 @@ const char *glyph;
|
||||
# character reference as available at https://html.spec.whatwg.org/multipage/named-characters.html
|
||||
curl -X GET https://html.spec.whatwg.org/entities.json | jq -r 'keys[] as $k | "\"\($k)\", \(.[$k] | .characters|tojson)"' | sed 's/^"&/"/' >> HTMLCharacterReference.gperf
|
||||
echo '%%' >> HTMLCharacterReference.gperf
|
||||
echo '// NOLINTEND(google-runtime-int,hicpp-use-nullptr,modernize-use-nullptr)' >> HTMLCharacterReference.gperf
|
||||
echo '// NOLINTEND(google-runtime-int,hicpp-use-nullptr,modernize-use-nullptr,modernize-macro-to-enum)' >> HTMLCharacterReference.gperf
|
||||
|
@ -24,9 +24,9 @@
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
|
||||
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
|
||||
#pragma GCC diagnostic ignored "-Wunused-macros"
|
||||
#include <cstring>
|
||||
// NOLINTBEGIN(modernize-macro-to-enum)
|
||||
|
||||
/// NOLINTBEGIN(modernize-macro-to-enum)
|
||||
#include <cstring>
|
||||
|
||||
#define TOTAL_KEYWORDS 5045
|
||||
#define MIN_WORD_LENGTH 4
|
||||
@ -110737,6 +110737,6 @@ const char * TopLevelDomainLookupHash::isValid(const char * str, size_t len)
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
/// NOLINTEND(modernize-macro-to-enum)
|
||||
// NOLINTEND(modernize-macro-to-enum)
|
||||
|
||||
#line 5060 "tldLookup.gperf"
|
||||
|
@ -9,6 +9,7 @@
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
|
||||
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
|
||||
#pragma GCC diagnostic ignored "-Wunused-macros"
|
||||
// NOLINTBEGIN(modernize-macro-to-enum)
|
||||
%}
|
||||
# List generated using https://publicsuffix.org/list/public_suffix_list.dat
|
||||
%%
|
||||
@ -5058,3 +5059,4 @@ basicserver.io
|
||||
virtualserver.io
|
||||
enterprisecloud.nu
|
||||
%%
|
||||
// NOLINTEND(modernize-macro-to-enum)
|
||||
|
@ -13,8 +13,10 @@ echo '%language=C++
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
|
||||
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
|
||||
#pragma GCC diagnostic ignored "-Wunused-macros"
|
||||
// NOLINTBEGIN(modernize-macro-to-enum)
|
||||
%}
|
||||
# List generated using https://publicsuffix.org/list/public_suffix_list.dat
|
||||
%%' > tldLookup.gperf
|
||||
grep -v "//" public_suffix_list.dat | grep . | grep "\." | grep -ve "\..*\..*" >> tldLookup.gperf
|
||||
echo "%%" >> tldLookup.gperf
|
||||
echo '// NOLINTEND(modernize-macro-to-enum)' >> tldLookup.gperf
|
||||
|
Loading…
Reference in New Issue
Block a user