]> granicus.if.org Git - clang/commit
Change the checks in the type aka printing. A confusing case where the string
authorRichard Trieu <rtrieu@google.com>
Mon, 14 Nov 2011 19:39:25 +0000 (19:39 +0000)
committerRichard Trieu <rtrieu@google.com>
Mon, 14 Nov 2011 19:39:25 +0000 (19:39 +0000)
commitecb912e8a2a683a2e1db1743a862ee21e788eea6
treee22bd7416ea11e1242bb933a2022fa5122530cef
parentccf1bfde160c03c677ba530c9dcb77365a9c2d7b
Change the checks in the type aka printing.  A confusing case where the string
of the first type is the same as the aka string of the second type, but both
types are different.  Update the logic to print an aka for the first type to
show that they are different.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144558 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTDiagnostic.cpp
test/Misc/diag-aka-types.cpp