Index: cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h =================================================================== --- cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h +++ cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h @@ -3186,8 +3186,11 @@ /// int y; /// f(y); /// \endcode -/// callExpr(declRefExpr(to(varDecl(hasName("y")))), -/// parmVarDecl(hasType(isInteger()))) +/// callExpr( +/// forEachArgumentWithParam( +/// declRefExpr(to(varDecl(hasName("y")))), +/// parmVarDecl(hasType(isInteger())) +/// )) /// matches f(y); /// with declRefExpr(...) /// matching int y