clang and gcc pounded the msvc

This commit is contained in:
lachrymaL 2021-12-13 00:05:31 -05:00
parent a47476e708
commit 13b14f4002
No known key found for this signature in database
GPG key ID: F3640ACFA174B1C1
3 changed files with 4 additions and 7 deletions

View file

@ -4,7 +4,7 @@
"name": "x64-Debug", "name": "x64-Debug",
"generator": "Ninja", "generator": "Ninja",
"configurationType": "Debug", "configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64_x64" ], "inheritEnvironments": [ "clang_cl_x64_x64" ],
"buildRoot": "${projectDir}\\out\\build\\${name}", "buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}", "installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "", "cmakeCommandArgs": "",

View file

@ -18,7 +18,7 @@ namespace {
operator std::string() const { operator std::string() const {
return accept; return accept;
} }
constexpr bool operator== (const std::string& other) const { bool operator== (const std::string& other) const {
return accept == other; return accept == other;
} }
}; };
@ -29,7 +29,7 @@ namespace {
constexpr operator char() const { constexpr operator char() const {
return accept[0]; return accept[0];
} }
constexpr bool operator== (const std::string& other) const { bool operator== (const std::string& other) const {
return accept == other; return accept == other;
} }
}; };
@ -271,7 +271,7 @@ namespace {
throw std::runtime_error("Cannot match closing subexpression"); throw std::runtime_error("Cannot match closing subexpression");
else else
SkipOverFirstChar(f, pos); SkipOverFirstChar(f, pos);
return Object(ParseType::Subexpression, c); return Object{ ParseType::Subexpression, c };
} }
else if (t[0] == GROUP_CLOSE) else if (t[0] == GROUP_CLOSE)
throw std::runtime_error("Cannot match closing subexpression, likely too few arguments"); throw std::runtime_error("Cannot match closing subexpression, likely too few arguments");

View file

@ -1,3 +0,0 @@
mmawesome {
sadasd sadasd ["く\"" "ぇrち"[][[[[]]]][][][] "ゅいお" ""]
}