Please refactor the "declarator declares a static member" check so the code is only in one place.
-Eli On Wed, Sep 25, 2013 at 4:53 PM, Reid Kleckner <[email protected]> wrote: > Hi rsmith, > > Operator new, new[], delete, and delete[] are all implicitly static when > declared inside a record. CXXMethodDecl already knows this, but we need > to account for that before we pick the calling convention for the > function type. > > Fixes PR17371. > > http://llvm-reviews.chandlerc.com/D1761 > > Files: > include/clang/AST/DeclCXX.h > include/clang/Sema/Sema.h > lib/AST/DeclCXX.cpp > lib/AST/MicrosoftMangle.cpp > lib/Sema/SemaDecl.cpp > lib/Sema/SemaType.cpp > test/CodeGenCXX/mangle-ms.cpp > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
