We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description: find almost any c++ method and add swri_profile() to method start if there is not already some swri code at the start.
Find pattern: (([a-zA-Z_][a-zA-Z0-9_]*)([\n\r\s]+)([a-zA-Z_][a-zA-Z0-9_]*)::([a-zA-Z_][a-zA-Z0-9_]*)\(([^\)]*)\)([\n\r\s]*)(const)?([\n\r\s]*)\{)(([\n\r\s]*))([^\s])(?!WRI)
(([a-zA-Z_][a-zA-Z0-9_]*)([\n\r\s]+)([a-zA-Z_][a-zA-Z0-9_]*)::([a-zA-Z_][a-zA-Z0-9_]*)\(([^\)]*)\)([\n\r\s]*)(const)?([\n\r\s]*)\{)(([\n\r\s]*))([^\s])(?!WRI)
Replace pattern: $1SWRI_PROFILE("$5");$10$12
$1SWRI_PROFILE("$5");$10$12
:)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description:
find almost any c++ method and add swri_profile() to method start if there is not already some swri code at the start.
Find pattern:
(([a-zA-Z_][a-zA-Z0-9_]*)([\n\r\s]+)([a-zA-Z_][a-zA-Z0-9_]*)::([a-zA-Z_][a-zA-Z0-9_]*)\(([^\)]*)\)([\n\r\s]*)(const)?([\n\r\s]*)\{)(([\n\r\s]*))([^\s])(?!WRI)
Replace pattern:
$1SWRI_PROFILE("$5");$10$12
:)
The text was updated successfully, but these errors were encountered: