forked from OSchip/llvm-project
Add -Winfinite-recursion to -Wmost (and -Wall), PR23789.
llvm-svn: 240056
This commit is contained in:
parent
fa38972063
commit
113c339d62
|
@ -598,6 +598,7 @@ def Most : DiagGroup<"most", [
|
|||
DeleteNonVirtualDtor,
|
||||
Format,
|
||||
Implicit,
|
||||
InfiniteRecursion,
|
||||
MismatchedTags,
|
||||
MissingBraces,
|
||||
Move,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// RUN: %clang_cc1 -fsyntax-only -Wused-but-marked-unused -Wunused-function -Wunneeded-internal-declaration -verify %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -verify -Wunused %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
|
||||
// RUN: %clang_cc1 -fsyntax-only -verify -Wall -Wno-infinite-recursion %s
|
||||
|
||||
void foo() {}
|
||||
static void f2() {}
|
||||
|
|
Loading…
Reference in New Issue