uppsrc: Undefined Behaviour sanitization

git-svn-id: svn://ultimatepp.org/upp/trunk@13032 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-04-23 07:59:06 +00:00
parent 6f9358dbb4
commit 7ab13ffc80
18 changed files with 65 additions and 64 deletions

View file

@ -352,15 +352,6 @@ bool Parser::IsNamespace(const String& scope)
return memcmp(~context.ns, ~scope, l) == 0 && findarg(context.ns[l], '\0', ':') >= 0;
}
Parser::Decla::Decla()
{
function = type_def = false;
s_static = s_register = s_extern = s_mutable = s_explicit = s_virtual = false;
isfriend = istemplate = istructor = isptr = nofn = false;
castoper = oper = false;
}
bool Parser::Key(int code)
{
if(lex == code) {