Skip to content

Commit

Permalink
Update SOURCE_ALPHA doc comment
Browse files Browse the repository at this point in the history
It turns out that it is used `analyzer/codechecker_analyzer/buildlog/log_parser.py:1312` as follows:

```python
elif build_action_uniqueing ==\
    CompileActionUniqueingType.SOURCE_ALPHA:
if action.source not in uniqued_build_actions:
    uniqued_build_actions[action.source] = action
elif action.output <\
        uniqued_build_actions[action.source].output:
    uniqued_build_actions[action.source] = action
```

Thus, the original comment was misleading. Let's fix that.
  • Loading branch information
steakhal authored Apr 26, 2022
1 parent 7e5dfc8 commit b2c068d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer/codechecker_analyzer/buildlog/log_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ def default(self, o):
class CompileActionUniqueingType(Enum):
NONE = 0 # Full Action text
SOURCE_ALPHA = 1 # Based on source file, uniqueing by
# on alphanumerically first target
# alphabetically first output object file name
SOURCE_REGEX = 2 # Based on source file, uniqueing by regex filter
STRICT = 3 # Gives error in case of duplicate

Expand Down

0 comments on commit b2c068d

Please sign in to comment.