mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
switched CPPCompile::Canonicalize() to take std::string instead of const char*
This commit is contained in:
parent
84d8e74884
commit
519fec2592
6 changed files with 11 additions and 13 deletions
|
@ -47,7 +47,7 @@ std::string CaptureName(const IDPtr& l) const { return CaptureName(l.get()); }
|
|||
|
||||
// Returns a canonicalized name, with various non-alphanumeric characters
|
||||
// stripped or transformed, and guaranteed not to conflict with C++ keywords.
|
||||
std::string Canonicalize(const char* name) const;
|
||||
std::string Canonicalize(const std::string& name) const;
|
||||
|
||||
// Returns the name of the global corresponding to an expression (which must
|
||||
// be a EXPR_NAME).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue