[cfe-commits] r125814 - /cfe/trunk/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h

Argyrios Kyrtzidis akyrtzi at gmail.com
Thu Feb 17 17:44:17 PST 2011


Author: akirtzidis
Date: Thu Feb 17 19:44:17 2011
New Revision: 125814

URL: http://llvm.org/viewvc/llvm-project?rev=125814&view=rev
Log:
Handle UsingDecl in CFGRecStmtDeclVisitor.

Modified:
    cfe/trunk/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h

Modified: cfe/trunk/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h?rev=125814&r1=125813&r2=125814&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h (original)
+++ cfe/trunk/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h Thu Feb 17 19:44:17 2011
@@ -67,6 +67,7 @@
         DISPATCH_CASE(CXXRecord)
         DISPATCH_CASE(Enum)
         DISPATCH_CASE(UsingDirective)
+        DISPATCH_CASE(Using)
       default:
         assert(false && "Subtype of ScopedDecl not handled.");
     }
@@ -87,6 +88,7 @@
   DEFAULT_DISPATCH(ObjCProtocol)
   DEFAULT_DISPATCH(ObjCCategory)
   DEFAULT_DISPATCH(UsingDirective)
+  DEFAULT_DISPATCH(Using)
 
   void VisitCXXRecordDecl(CXXRecordDecl *D) {
     static_cast<ImplClass*>(this)->VisitRecordDecl(D);





More information about the cfe-commits mailing list