[cfe-commits] r112866 - /cfe/trunk/tools/libclang/CIndex.cpp
Douglas Gregor
dgregor at apple.com
Thu Sep 2 14:38:13 PDT 2010
Author: dgregor
Date: Thu Sep 2 16:38:13 2010
New Revision: 112866
URL: http://llvm.org/viewvc/llvm-project?rev=112866&view=rev
Log:
Teach libclang not to recursive into default argument expressions
Modified:
cfe/trunk/tools/libclang/CIndex.cpp
Modified: cfe/trunk/tools/libclang/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndex.cpp?rev=112866&r1=112865&r2=112866&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CIndex.cpp (original)
+++ cfe/trunk/tools/libclang/CIndex.cpp Thu Sep 2 16:38:13 2010
@@ -385,6 +385,7 @@
// FIXME: InitListExpr (for the designators)
// FIXME: DesignatedInitExpr
bool VisitCXXTypeidExpr(CXXTypeidExpr *E);
+ bool VisitCXXDefaultArgExpr(CXXDefaultArgExpr *E) { return false; }
};
} // end anonymous namespace
More information about the cfe-commits
mailing list