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

Seth <[email protected]> changed:

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

--- Comment #2 from Seth <[email protected]> ---
I don't know when this was fixed but it is as of
e103979ceac63c98873f3307ee897eab559356a0, or r185264

clang's output is now:

---

main.cpp:2:6: error: unknown type name 'Bar'
        Foo(Bar const &);
            ^
main.cpp:2:10: error: expected ')'
        Foo(Bar const &);
                ^
main.cpp:2:5: note: to match this '('
        Foo(Bar const &);
           ^
2 errors generated.
---

Although I notice that without the const the extraneous "error: expected ')'"
also disappears:

---
main.cpp:2:6: error: unknown type name 'Bar'
        Foo(Bar &);
            ^
1 error generated.

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