Add -fexceptions to test as it uses them and fails on platforms where it is not on by default (like the PS4).

This commit is contained in:
Douglas Yung 2021-01-14 13:26:21 -08:00
parent e7228062b2
commit f85b153166
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// RUN: %check_clang_tidy %s readability-function-cognitive-complexity %t -- -config='{CheckOptions: [{key: readability-function-cognitive-complexity.Threshold, value: 0}]}' -- -std=c++11 -fblocks -w
// RUN: %check_clang_tidy %s readability-function-cognitive-complexity %t -- -config='{CheckOptions: [{key: readability-function-cognitive-complexity.Threshold, value: 0}]}' -- -std=c++11 -fblocks -fexceptions -w
// any function should be checked.