]> granicus.if.org Git - clang/commit
When 'bool' is not a built-in type but is defined as a macro, print
authorDouglas Gregor <dgregor@apple.com>
Tue, 27 Sep 2011 22:38:19 +0000 (22:38 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 27 Sep 2011 22:38:19 +0000 (22:38 +0000)
commit30c42404202d2e2512e51efc6066bd614cfdb5a4
tree5ac5699fb4d6d06231673b2e9a4887e4870684fb
parent3240fe3b715327c8fda6f5a3bc8a092b1fce82a7
When 'bool' is not a built-in type but is defined as a macro, print
'bool' rather than '_Bool' within types, to make things a bit more
readable. Fixes <rdar://problem/10063263>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140650 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
include/clang/AST/ASTContext.h
include/clang/AST/PrettyPrinter.h
include/clang/AST/Type.h
lib/ARCMigrate/TransUnbridgedCasts.cpp
lib/AST/ASTContext.cpp
lib/AST/ASTDiagnostic.cpp
lib/AST/DeclPrinter.cpp
lib/AST/Type.cpp
lib/AST/TypePrinter.cpp
lib/Frontend/ASTConsumers.cpp
lib/Rewrite/RewriteObjC.cpp
lib/Sema/SemaChecking.cpp
lib/Sema/SemaCodeComplete.cpp
lib/Sema/SemaExceptionSpec.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiate.cpp
test/Index/complete-exprs.m
test/SemaObjC/blocks.m
tools/libclang/CIndex.cpp