-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2788 from csordasmarton/fix_analyze_file_option2
[analyzer] Fix analyzer --file option
- Loading branch information
Showing
6 changed files
with
59 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
analyzer/tests/functional/analyze_and_parse/test_files/multi_error_skipped_in_cmd.HPP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#ifndef MULTI_ERROR_SKIPPED_IN_CMD_HPP | ||
#define MULTI_ERROR_SKIPPED_IN_CMD_HPP | ||
|
||
void bar() { | ||
sizeof(42); | ||
} | ||
|
||
#endif |
9 changes: 9 additions & 0 deletions
9
analyzer/tests/functional/analyze_and_parse/test_files/multi_error_skipped_in_cmd.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "multi_error_skipped_in_cmd.h" | ||
#include "multi_error_skipped_in_cmd.HPP" | ||
|
||
int main() | ||
{ | ||
foo(); | ||
|
||
sizeof(42); | ||
} |
8 changes: 8 additions & 0 deletions
8
analyzer/tests/functional/analyze_and_parse/test_files/multi_error_skipped_in_cmd.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#ifndef MULTI_ERROR_SKIPPED_IN_CMD_H | ||
#define MULTI_ERROR_SKIPPED_IN_CMD_H | ||
|
||
void foo() { | ||
sizeof(42); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters