Skip to content

clang-diagnostic-error #3498

Discussion options

You must be logged in to vote

@ningboRainbow CodeChecker analyze command is able to run the analysis in Cross Translation Unit (ctu) mode with the --ctu option:

cross translation unit analysis arguments:
  
  These arguments are only available if the Clang Static Analyzer supports
  Cross-TU analysis. By default, no CTU analysis is run when
  'CodeChecker analyze' is called.

  --ctu, --ctu-all      Perform Cross Translation Unit (CTU) analysis, both 'collect' and 'analyze' phases. In this mode, the extra files created by 'collect' are cleaned up after the analysis.
  --ctu-collect         Perform the first, 'collect' phase of Cross-TU analysis. This phase generates extra files needed by CTU analysis, and puts them in…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by csordasmarton
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question ❔ analyzer 📈 Related to the analyze commands (analysis driver)
3 participants
Converted from issue

This discussion was converted from issue #3449 on November 15, 2021 13:37.