Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion c/cert/test/rules/ARR39-C/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ void f1() {
(void)v1[10 / sizeof(v1)]; // NON_COMPLIANT
v4 += offset; // COMPLIANT
f2(offset, 2);
}
}
//
4 changes: 2 additions & 2 deletions scripts/matrix_testing/CompileFixTool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ param(
[string]
$Language,

# The compiler to use. Valid values are 'clang' and 'arm-clang'.
# The compiler to use.
[Parameter(Mandatory)]
[ValidateSet('clang', 'armclang', 'tiarmclang', 'gcc')]
[ValidateSet('clang', 'armclang', 'tiarmclang', 'gcc', 'qcc')]
[string]
$Configuration
)
Expand Down
4 changes: 4 additions & 0 deletions scripts/matrix_testing/Config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ $COMPILER_MAPPINGS = @{
"gcc" = "g++";
"armclang" = "armclang";
"tiarmclang" = "tiarmclang";
"qcc" = "qcc";
};

"c" = @{
"clang" = "clang";
"gcc" = "gcc";
"qcc" = "qcc";
};
}

Expand All @@ -20,11 +22,13 @@ $COMPILER_ARGS = @{
"gcc" = "-std=c++14 -fsyntax-only";
"armclang" = "-std=c++14 -fsyntax-only --target=arm-arm-none-eabi";
"tiarmclang" = "-std=c++14 -fsyntax-only --target=arm-arm-none-eabi";
"qcc" = "-lang-c++ -V8.3.0 -Wc,-fsyntax-only -c -nopipe -std=c++14 -D_QNX_SOURCE -Vgcc_ntoaarch64le_cxx";
};

"c" = @{
"gcc" = "-fsyntax-only -std=c11";
"clang" = "-fsyntax-only -std=c11";
"qcc" = "-V8.3.0 -Wc,-fsyntax-only -c -nopipe -std=c11 -Vgcc_ntoaarch64le";
};

}
Expand Down
6 changes: 3 additions & 3 deletions scripts/matrix_testing/CreateMatrixTestReport.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ All Parameters:
Accept wildcard characters? false

-Configuration <String>
The compiler to use. Valid values are 'clang' and 'arm-clang'.
The compiler to use.

Required? true
Position? named
Expand Down Expand Up @@ -140,9 +140,9 @@ param(
[string]
$NumThreads = 10,

# The compiler to use. Valid values are 'clang' and 'arm-clang'.
# The compiler to use.
[Parameter(Mandatory)]
[ValidateSet('clang', 'armclang', 'tiarmclang', 'gcc')]
[ValidateSet('clang', 'armclang', 'tiarmclang', 'gcc', 'qcc')]
[string]
$Configuration,

Expand Down