Skip to content

Commit

Permalink
Add rule exception for HeterogeneousCore
Browse files Browse the repository at this point in the history
Allow "catch(...)" statements HeterogeneousCore, to handle exceptions
from offloading framework and propagate them to the overall framework.
  • Loading branch information
fwyzard committed Mar 5, 2020
1 parent bd5167f commit 2123cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/ReleaseScripts/python/cmsCodeRules/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

Configuration[ruleName]['description'] = 'Search for "catch(...)" statements in *.cc, *.cxx files'
Configuration[ruleName]['filesToMatch'] = ['*.cc', '*.cxx']
Configuration[ruleName]['exceptPaths'] = ['FWCore/*', 'EventFilter/*', '*/*/test/*', '*/*/bin/*']
Configuration[ruleName]['exceptPaths'] = ['FWCore/*', 'EventFilter/*', 'HeterogeneousCore/*', '*/*/test/*', '*/*/bin/*']
Configuration[ruleName]['skip'] = [comment]
Configuration[ruleName]['filter'] = 'catch\s*\(\s*\.\.\.\s*\)' #should be regular expression
Configuration[ruleName]['exceptFilter'] = []
Expand Down

0 comments on commit 2123cc3

Please sign in to comment.