1 // RUN: %check_clang_tidy %s misc-const-correctness %t \
2 // RUN: -config='{CheckOptions: \
3 // RUN: {"misc-const-correctness.AnalyzeValues": false,\
4 // RUN: "misc-const-correctness.AnalyzeReferences": false}\
5 // RUN: }' -- -fno-delayed-template-parsing
6
7 // CHECK-MESSAGES: warning: The check 'misc-const-correctness' will not perform any analysis because both 'AnalyzeValues' and 'AnalyzeReferences' are false. [clang-tidy-config]
8
g()9 void g() {
10 int p_local0 = 42;
11 // CHECK-FIXES-NOT: int const p_local0 = 42;
12 }
13