[PATCH] D55534: [AST] Store "UsesADL" information in CallExpr.
Bruno Ricci via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 11 09:35:23 PST 2018
riccibruno added inline comments.
================
Comment at: lib/AST/Expr.cpp:1267
: Expr(SC, Empty), NumArgs(NumArgs) {
+ CallExprBits.UsesADL = false;
CallExprBits.NumPreArgs = NumPreArgs;
----------------
I believe that msan can cope with bit level operations just fine.
What I am afraid is that initializing it here will hide the
fact that it is not initialized during deserialization if the
`E->setUsesADL(Record.readInt());` is removed by mistake.
At least not initializing it here will leave a chance for msan
to catch this.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55534/new/
https://reviews.llvm.org/D55534
More information about the cfe-commits
mailing list