mirror of
https://github.com/github/codeql.git
synced 2026-04-23 15:55:18 +02:00
C++: Permit ':' in models-as-data namespaces.
This commit is contained in:
@@ -330,7 +330,7 @@ module CsvValidation {
|
||||
or
|
||||
summaryModel(namespace, type, _, name, signature, ext, _, _, _, _) and pred = "summary"
|
||||
|
|
||||
not namespace.regexpMatch("[a-zA-Z0-9_\\.]*") and
|
||||
not namespace.regexpMatch("[a-zA-Z0-9_\\.:]*") and
|
||||
result = "Dubious namespace \"" + namespace + "\" in " + pred + " model."
|
||||
or
|
||||
not type.regexpMatch("[a-zA-Z0-9_<>,\\+]*") and
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
| Dubious namespace "boost::asio" in sink model. |
|
||||
| Dubious namespace "boost::asio" in source model. |
|
||||
| Dubious namespace "boost::asio" in summary model. |
|
||||
|
||||
Reference in New Issue
Block a user