A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/llvm/llvm-project/issues/21668 below:

incorrect -Winfinite-recursion warning on potentially-unevaluated operand · Issue #21668 · llvm/llvm-project · GitHub

Bugzilla Link 21294 Version trunk OS Linux CC @Weverything Extended Description

This:

  #include
int f() {
typeid(f());
return 0;
}

gives:

:2:9: warning: all paths through this function will call itself [-Winfinite-recursion]
int f() {
^

... which is not true, because in this case the operand of typeid(...) is unevaluated.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4