[PATCH] D48296: clang-cl: Emit normal narrowing diagnostics for initializer lists if -fmsc-version is at least 1900 (i.e. MSVC2015).
    Reid Kleckner via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Jun 19 13:21:56 PDT 2018
    
    
  
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
In https://reviews.llvm.org/D48296#1136095, @thakis wrote:
> Thanks! I'd keep it DefaultIgnored: I'd be annoyed if I'd get these by default in C++98 mode.
Got it, for some reason I'd forgotten they show up in C++98. I'd argue that the warnings are valuable, at least for helping people transition to C++11, but that behavior change is a separate discussion.
https://reviews.llvm.org/D48296
    
    
More information about the cfe-commits
mailing list