cmstrcat-adjacent-literals.yml 420 B

12345678910111213141516171819
  1. ---
  2. id: cmstrcat-adjacent-literals
  3. language: Cpp
  4. severity: warning
  5. message: Adjacent `cmStrCat` arguments which are string literals should be combined
  6. ignores:
  7. - Utilities/ClangTidyModule/Tests/**
  8. rule:
  9. matches: string-literal
  10. inside:
  11. matches: cmstrcat-call
  12. stopBy:
  13. kind: call_expression
  14. precedes:
  15. matches: string-literal
  16. follows:
  17. pattern: ','
  18. stopBy:
  19. matches: cmstrcat-arg