Fix unused parameters and variables
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -617,11 +617,12 @@ int main()
|
||||
}
|
||||
std::locale::global(std::locale(LOCALE_cs_CZ_ISO8859_2));
|
||||
*/ {
|
||||
/*
|
||||
std::cmatch m;
|
||||
const char s[] = "m";
|
||||
/* assert(std::regex_match(s, m,*/ std::regex("[a[=M=]z]"/*,
|
||||
std::regex_constants::awk*/);//));
|
||||
/* assert(m.size() == 1);
|
||||
assert(std::regex_match(s, m, std::regex("[a[=M=]z]",
|
||||
std::regex_constants::awk);
|
||||
assert(m.size() == 1);
|
||||
assert(!m.prefix().matched);
|
||||
assert(m.prefix().first == s);
|
||||
assert(m.prefix().second == m[0].first);
|
||||
|
||||
@@ -37,6 +37,8 @@ extern "C" void LLVMFuzzerTestOneInput(const char *data)
|
||||
}
|
||||
catch (std::regex_error &) {}
|
||||
}
|
||||
#else
|
||||
((void)data);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user