[LLVMbugs] [Bug 15443] New: Add -ast-dump=functionName

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 4 13:24:42 PST 2013


            Bug ID: 15443
           Summary: Add -ast-dump=functionName
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jordan_rose at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When debugging a preprocessed source file, I often only want to dump a single
declaration. It'd be great if I could specify a declaration name to -ast-dump,
and it only dumps that declaration.

Examples of things I'd like to see:
+[Foo classMethod]
-[Foo instanceMethod]

(FWIW, another debugging option, -analyze-function, would benefit from this as

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/20130304/8cb38ffd/attachment.html>

More information about the llvm-bugs mailing list