[LLVMbugs] [Bug 2583] Source location not tracked for nested macros

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Mar 12 09:37:28 PDT 2009


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


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Chris Lattner <clattner at apple.com>  2009-03-12 11:37:27 ---
This was fixed awhile ago, we now produce:

t.c:16:3: error: no member named 'abc'
  FOO(BAR(m)->abc); // diagnostics not so clear
  ^~~~~~~~~~~~~~~~
t.c:16:15: note: instantiated from:
  FOO(BAR(m)->abc); // diagnostics not so clear
      ~~~     ^
t.c:18:11: error: no member named 'abc'
  BAR(m)->abc; // ok
  ~~~~~~  ^
t.c:20:15: error: no member named 'abc'
  foo(bar(m)->abc); // best
      ~~~~~~  ^
3 diagnostics generated.


-- 
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.



More information about the llvm-bugs mailing list