[style] clang-format all c++ code (#9305)
- sh build-support/clang-format.sh to clang-format all c++ code
This commit is contained in:
@ -492,7 +492,7 @@ bool StringFunctions::set_re2_options(const StringVal& match_parameter, std::str
|
||||
|
||||
// The caller owns the returned regex. Returns nullptr if the pattern could not be compiled.
|
||||
re2::RE2* StringFunctions::compile_regex(const StringVal& pattern, std::string* error_str,
|
||||
const StringVal& match_parameter) {
|
||||
const StringVal& match_parameter) {
|
||||
re2::StringPiece pattern_sp(reinterpret_cast<char*>(pattern.ptr), pattern.len);
|
||||
re2::RE2::Options options;
|
||||
// Disable error logging in case e.g. every row causes an error
|
||||
@ -515,7 +515,7 @@ re2::RE2* StringFunctions::compile_regex(const StringVal& pattern, std::string*
|
||||
return nullptr;
|
||||
}
|
||||
return re;
|
||||
}
|
||||
}
|
||||
|
||||
void StringFunctions::regexp_prepare(FunctionContext* context,
|
||||
FunctionContext::FunctionStateScope scope) {
|
||||
|
||||
Reference in New Issue
Block a user