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.

23 lines
916B

  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. WarningsAsErrors: '*'
  7. # No negative lookahead available here, which makes things difficult.
  8. #
  9. # We want checks to run on JUCE files included from the JUCE modules. We can
  10. # restrict these to files named `juce_.*`.
  11. #
  12. # We also want checks to run on any files inlcuded from the examples or extras
  13. # directories. However, some include paths generated by the Android Studio build
  14. # system look like:
  15. #
  16. # ~/JUCE/examples/DemoRunner/Builds/Android/app/../../../../../modules/juce_box2d/box2d/Collision/b2CollideEdge.cpp
  17. #
  18. # Since we can only opt-in to paths, we restrict the maximum depth of the path
  19. # past examples/extras.
  20. HeaderFilterRegex: '(.*\/modules\/juce_.*juce_[^\/]*$)|(\/(examples|extras)(\/[^\/]*){1,7}$)'