]> granicus.if.org Git - clang/commit
Suppress the tag when printing an ElaboratedType if the language options
authorJohn McCall <rjmccall@apple.com>
Wed, 10 Mar 2010 21:05:46 +0000 (21:05 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 10 Mar 2010 21:05:46 +0000 (21:05 +0000)
commit327fb2d32243e1206b69c5f05d4fa2e3d89a0dcb
tree25ac6219f5f5e68729d04d902a37616854fb50b7
parenta96a2e961a3bce0ad2fc44a115ac949a481d42db
Suppress the tag when printing an ElaboratedType if the language options
claim this is C.  We don't make ElaboratedTypes in C, but sometimes
the language options during pretty-print lie to us.

The rewriter should really be fixed to not rely on how types are pretty-printed,
though.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98189 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/TypePrinter.cpp