[PATCH] D39166: [NFC] Add some assertions to placate my paranoia about sharing a variant bit across FunctionDecl and CXXDeductionGuideDecl - should I do this?

Zhihao Yuan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 22 13:21:17 PDT 2017


lichray added a comment.

Isn't it already an UB if someone set `WillHaveBody` and but later `IsCopyDeductionCandidate` being read, vice versa?


Repository:
  rL LLVM

https://reviews.llvm.org/D39166





More information about the cfe-commits mailing list