The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
956B

  1. Checks: >
  2. -clang-analyzer-cplusplus.NewDeleteLeaks,
  3. -clang-analyzer-optin.performance.Padding,
  4. -clang-analyzer-security.FloatLoopCounter,
  5. -clang-analyzer-security.insecureAPI.strcpy,
  6. modernize-concat-nested-namespaces,
  7. WarningsAsErrors: '*'
  8. # No negative lookahead available here, which makes things difficult.
  9. #
  10. # We want checks to run on JUCE files included from the JUCE modules. We can
  11. # restrict these to files named `juce_.*`.
  12. #
  13. # We also want checks to run on any files inlcuded from the examples or extras
  14. # directories. However, some include paths generated by the Android Studio build
  15. # system look like:
  16. #
  17. # ~/JUCE/examples/DemoRunner/Builds/Android/app/../../../../../modules/juce_box2d/box2d/Collision/b2CollideEdge.cpp
  18. #
  19. # Since we can only opt-in to paths, we restrict the maximum depth of the path
  20. # past examples/extras.
  21. HeaderFilterRegex: '(.*\/modules\/juce_.*juce_[^\/]*$)|(\/(examples|extras)(\/[^\/]*){1,7}$)'