We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e30d97 commit 609ee9fCopy full SHA for 609ee9f
clang/lib/Serialization/ASTWriter.cpp
@@ -5074,7 +5074,7 @@ void ASTWriter::WriteSpecialDeclRecords(Sema &SemaRef) {
5074
// Write the record containing declaration references of Sema.
5075
RecordData SemaDeclRefs;
5076
if (SemaRef.StdNamespace || SemaRef.StdBadAlloc || SemaRef.StdAlignValT) {
5077
- auto AddEmittedDeclRefOrZero = [this, &SemaDeclRefs, &SemaRef](Decl *D) {
+ auto AddEmittedDeclRefOrZero = [this, &SemaDeclRefs](Decl *D) {
5078
if (!D || !wasDeclEmitted(D))
5079
SemaDeclRefs.push_back(0);
5080
else
0 commit comments