]> granicus.if.org Git - clang/commit
Pass the PrintingPolicy when converting types to strings in template type
authorRichard Trieu <rtrieu@google.com>
Fri, 25 Jul 2014 00:24:02 +0000 (00:24 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 25 Jul 2014 00:24:02 +0000 (00:24 +0000)
commitfd8641ce34f7bf2e5ec9873aa9182ec70aa1f8c6
tree4baf38522285e0889acc25953f7f4d81bf7813e7
parent54de80a8979ae1c2b05e7b554102445ae2401ece
Pass the PrintingPolicy when converting types to strings in template type
diffing.  This removes extra "struct"/"class" in the type names and gives
"bool" instead of "_Bool" for booleans.

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