Rip-Rip/clang_complete — pull request #104 by exclipy (2011-12-02 14:27:40+00:00)
Title: Include "note" diagnostic messages (for clang executable mode)

Here's some code to try this patch on:

template class A {
typedef T::type x;
};

A a;

With this fix, the diagnostic results are:

test.cpp|2 col 13 error| missing 'typename' prior to dependent type name 'T::type'
test.cpp|2 col 13 error| type 'int' cannot be used prior to '::' because it has no members
test.cpp|5 col 8 info| in instantiation of template class 'A' requested here

(This patch adds the last entry)