[PATCH] D49511: [Sema/Attribute] Check for noderef attribute
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 6 12:26:55 PDT 2019
dblaikie added inline comments.
================
Comment at: lib/Sema/SemaType.cpp:4913-4916
+ ExpectNoDerefChunk = false;
+ }
+
+ ExpectNoDerefChunk = state.didParseNoDeref();
----------------
Pointed out in PR41774 there's a dead store to ExpectNoDerefChunk here.
Should line 4913 be removed (& then the two if conditions can be collapsed together)?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D49511/new/
https://reviews.llvm.org/D49511
More information about the cfe-commits
mailing list