riccibruno added a comment.

If this bit is relevant to function parameters, why is `getIsArgumentModified` 
in `VarDecl` and not in `ParamVarDecl` ? What you can do is move the relevant 
methods to `ParamVarDecl`, and stash the bit in `ParmVarDeclBitfields`.



================
Comment at: include/clang/AST/Decl.h:843
 
+  mutable bool IsArgumentModified = false;
+
----------------
Yeah, please don't waste a whole pointer just to store a bit.


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

https://reviews.llvm.org/D58035



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to