https://llvm.org/bugs/show_bug.cgi?id=24431

            Bug ID: 24431
           Summary: Not enough information printed in macro diagnostic
                    message
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: zheng...@google.com
                CC: llvm-bugs@lists.llvm.org
            Blocks: 24423
    Classification: Unclassified

#define F1(x) ff
#define APPLY(f,x,y) x f y

struct node {
};

node ff;

int q = F1(x) + 1;

Message Printed:
:67:15: error: invalid operands to binary expression ('node' and 'int')
int q = F1(x) + 1;
        ~~~~~ ^ ~

It should print out the Macro Expansion of F1(x)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to