[llvm-bugs] [Bug 24431] New: Not enough information printed in macro diagnostic message
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 11 13:02:17 PDT 2015
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: unassignedclangbugs at nondot.org
Reporter: zhengkai at google.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150811/170bfaab/attachment.html>
More information about the llvm-bugs
mailing list