[PATCH] Fix for crash due to g++.old-deja/g++.other/using3.C

Richard Smith richard at metafoo.co.uk
Mon Apr 28 11:30:33 PDT 2014


LGTM

================
Comment at: lib/Sema/SemaDeclCXX.cpp:7335-7337
@@ -7329,4 +7334,5 @@
+
     if (RequireMember && !isa<FieldDecl>(ND) && !isa<CXXMethodDecl>(ND) &&
         !isa<TypeDecl>(ND))
       return false;
 
----------------
Is this still necessary?

http://reviews.llvm.org/D3051






More information about the cfe-commits mailing list