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

             Bug #: 11857
           Summary: "missing argument" diagnostic should include argument
                    name
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


I got this today:


Instructions.cpp:1609:36: error: too few arguments to function call, expected
1,
      have 0
      if (CDS->getElementAsInteger() >= V1Size*2)
          ~~~~~~~~~~~~~~~~~~~~~~~~ ^

In the special case of missing one argument, it would be spiffy to emit
something like:

error: too few arguments to function call, argument 'idx' was not specified

where the name of the argument comes from the function/method prototype.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to