mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 23:52:22 -07:00
helpers for matching string literals
This commit is contained in:
@@ -458,10 +458,10 @@ internal B32
|
||||
cv_is_udt_name_anon(String8 name)
|
||||
{
|
||||
// corresponds to fUDTAnon from dbi/tm.cpp:817
|
||||
B32 is_anon = str8_match(str8_lit("<unnamed-tag>"), name, 0) ||
|
||||
str8_match(str8_lit("__unnamed"), name, 0) ||
|
||||
str8_match(str8_lit("::<unnamed-tag>"), name, StringMatchFlag_RightSideSloppy) ||
|
||||
str8_match(str8_lit("::__unnamed"), name, StringMatchFlag_RightSideSloppy);
|
||||
B32 is_anon = str8_match_lit("<unnamed-tag>", name, 0) ||
|
||||
str8_match_lit("__unnamed", name, 0) ||
|
||||
str8_match_lit("::<unnamed-tag>", name, StringMatchFlag_RightSideSloppy) ||
|
||||
str8_match_lit("::__unnamed", name, StringMatchFlag_RightSideSloppy);
|
||||
return is_anon;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user