File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3669,7 +3669,7 @@ class Sema final : public SemaBase {
36693669 /// cause problems if the variable is mutable, its initialization is
36703670 /// effectful, or its address is taken.
36713671 bool GloballyUniqueObjectMightBeAccidentallyDuplicated(const VarDecl *Dcl);
3672- void DiagnoseDangerousUniqueObjectDuplication (const VarDecl *Dcl);
3672+ void DiagnoseUniqueObjectDuplication (const VarDecl *Dcl);
36733673
36743674 /// AddInitializerToDecl - Adds the initializer Init to the
36753675 /// declaration dcl. If DirectInit is true, this is C++ direct
Original file line number Diff line number Diff line change @@ -13440,7 +13440,7 @@ bool Sema::GloballyUniqueObjectMightBeAccidentallyDuplicated(
1344013440 return true;
1344113441}
1344213442
13443- void Sema::DiagnoseDangerousUniqueObjectDuplication (const VarDecl *VD) {
13443+ void Sema::DiagnoseUniqueObjectDuplication (const VarDecl *VD) {
1344413444 // If this object has external linkage and hidden visibility, it might be
1344513445 // duplicated when built into a shared library, which causes problems if it's
1344613446 // mutable (since the copies won't be in sync) or its initialization has side
@@ -14708,7 +14708,7 @@ void Sema::CheckCompleteVariableDeclaration(VarDecl *var) {
1470814708 return;
1470914709 }
1471014710
14711- DiagnoseDangerousUniqueObjectDuplication (var);
14711+ DiagnoseUniqueObjectDuplication (var);
1471214712
1471314713 // Require the destructor.
1471414714 if (!type->isDependentType())
You can’t perform that action at this time.
0 commit comments