Page MenuHomePhabricator

D55551.diff
No OneTemporary

File Metadata

Created
Tue, Jul 16, 10:12 PM

D55551.diff

Index: lib/Sema/SemaChecking.cpp
===================================================================
--- lib/Sema/SemaChecking.cpp
+++ lib/Sema/SemaChecking.cpp
@@ -10889,7 +10889,7 @@
if (S.SourceMgr.isInSystemMacro(CC))
return;
- DiagnoseImpCast(S, E, T, CC, diag::warn_impcast_double_promotion);
+ DiagnoseImpCast(S, E, T, CC, diag::warn_impcast_double_promotion, true);
}
return;
}

Event Timeline