mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
uppsrc: Undefined Behaviour sanitization
git-svn-id: svn://ultimatepp.org/upp/trunk@13032 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6f9358dbb4
commit
7ab13ffc80
18 changed files with 65 additions and 64 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue