[LLVMbugs] [Bug 17272] New: RecursiveASTVisitor does not visit implicit parameters of implicit functions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 17 13:19:08 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17272

            Bug ID: 17272
           Summary: RecursiveASTVisitor does not visit implicit parameters
                    of implicit functions
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: fakju666 at o2.pl
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11229
  --> http://llvm.org/bugs/attachment.cgi?id=11229&action=edit
Testcase

Run the attached testcase with:

clang++ -Xclang -load -Xclang ./test-plugin.so -Xclang -add-plugin -Xclang test
-o code test.cpp

As you can see from the test-plugin output, the VarParmDecl node for D::f::c is
visited twice, while the VarParmDecl node for D<char>::f::c (which is also
referenced later in a DeclRefExpr) is never visited. I've also attached the AST
dump output, which shows the missing node.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130917/db817b74/attachment.html>


More information about the llvm-bugs mailing list