mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 14:16:44 +00:00

Summary: The default CTUImportThreshold (8) seems to be too conservative with C projects. We increase this value to 24 and we introduce another threshold for C++ source files (defaulted to 8) because their AST is way more compilcated than C source files. Differential Revision: https://reviews.llvm.org/D83475
7 lines
270 B
C
7 lines
270 B
C
// Ensure analyzer option 'ctu-import-threshold' is a recognized option.
|
|
//
|
|
// RUN: %clang_cc1 -analyze -analyzer-config ctu-import-threshold=30 -verify %s
|
|
// RUN: %clang_cc1 -analyze -analyzer-config ctu-import-cpp-threshold=30 -verify %s
|
|
//
|
|
// expected-no-diagnostics
|