We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca8255b commit 2e1452dCopy full SHA for 2e1452d
clang/lib/Sema/SemaChecking.cpp
@@ -11678,8 +11678,9 @@ static void AnalyzeImplicitConversions(
11678
11679
// Propagate whether we are in a C++ list initialization expression.
11680
// If so, we do not issue warnings for implicit int-float conversion
11681
- // precision loss, because C++11 narrowing already handles it. HLSL's
11682
- // initialization lists are special, so they shouldn't observe the C++
+ // precision loss, because C++11 narrowing already handles it.
+ //
11683
+ // HLSL's initialization lists are special, so they shouldn't observe the C++
11684
// behavior here.
11685
bool IsListInit =
11686
Item.IsListInit || (isa<InitListExpr>(OrigE) &&
0 commit comments