[PATCH] Detect mismatching 'new' and 'delete' uses

Ismail Pazarbasi ismail.pazarbasi at gmail.com
Tue Jan 27 13:03:07 PST 2015


================
Comment at: include/clang/Sema/ExternalSemaSource.h:31
@@ -30,2 +30,3 @@
 class CXXRecordDecl;
+class CXXDeleteExpr;
 class DeclaratorDecl;
----------------
majnemer wrote:
> Please order this before `CXXConstructorDecl`.
Shouldn't `CXXDeleteExpr` come right //after// `CXXConstructorDecl`, and before `CXXRecordDecl` to preserve alphabetical ordering?

http://reviews.llvm.org/D4661

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list