[clang] [Clang][NFC] Fix out-of-bounds access (PR #77193)

Yitzhak Mandelbaum via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 06:50:59 PST 2024


================
@@ -1215,7 +1215,7 @@ class CFG {
   //===--------------------------------------------------------------------===//
 
   class BuildOptions {
-    std::bitset<Stmt::lastStmtConstant> alwaysAddMask;
----------------
ymand wrote:

Maybe add a comment explaining the new size? I see why it might be obvious, but given that it was done incorrectly the first time, a comment seems warranted.

https://github.com/llvm/llvm-project/pull/77193


More information about the cfe-commits mailing list