[cfe-commits] r104332 - /cfe/trunk/include/clang/AST/TypeVisitor.h
Nick Lewycky
nicholas at mxc.ca
Fri May 21 11:04:30 PDT 2010
Author: nicholas
Date: Fri May 21 13:04:30 2010
New Revision: 104332
URL: http://llvm.org/viewvc/llvm-project?rev=104332&view=rev
Log:
TypeVisitor doesn't visit Stmts.
Modified:
cfe/trunk/include/clang/AST/TypeVisitor.h
Modified: cfe/trunk/include/clang/AST/TypeVisitor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/TypeVisitor.h?rev=104332&r1=104331&r2=104332&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/TypeVisitor.h (original)
+++ cfe/trunk/include/clang/AST/TypeVisitor.h Fri May 21 13:04:30 2010
@@ -1,4 +1,4 @@
-//===--- TypeVisitor.h - Visitor for Stmt subclasses ------------*- C++ -*-===//
+//===--- TypeVisitor.h - Visitor for Type subclasses ------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -25,7 +25,7 @@
class TypeVisitor {
public:
RetTy Visit(Type *T) {
- // Top switch stmt: dispatch to VisitFooStmt for each FooStmt.
+ // Top switch stmt: dispatch to VisitFooType for each FooType.
switch (T->getTypeClass()) {
default: assert(0 && "Unknown type class!");
#define ABSTRACT_TYPE(CLASS, PARENT)
More information about the cfe-commits
mailing list