[PATCH] D92221: Don't delete default constructor of PathDiagnosticConsumerOptions

Moritz Sichert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 30 00:20:50 PST 2020


MoritzS added a comment.

Another way to avoid UB in that case is to use value initialization, i.e. `PathDiagnosticConsumerOptions options{};`.

Can you commit this, please? I don't have commit access.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92221/new/

https://reviews.llvm.org/D92221



More information about the cfe-commits mailing list