QualifiedCppName.Match
Module to match qualified C++ procnames "fuzzily", that is up to namescapes and templating. In particular, this deals with the following issues:
For example:
"std", "move"
:
"std", "blah", "move"
"std", "blah<int>", "move"
"std","blah", "move", "BAD"
- we don't want std::.*::X::.* to pass"stdBAD", "move"
, - it's not std namespace anymore"folly", "someFunction"
"folly","someFunction"
"folly","someFunction<int>"
"folly<int>","someFunction"
"folly", "BAD", "someFunction"
- unlike 'std' any other namespace needs all qualifiers to match"folly","someFunction<int>", "BAD"
- same as previous exampleval of_fuzzy_qual_names : ?prefix:bool -> string list -> quals_matcher
val match_qualifiers : quals_matcher -> t -> bool